rdesktop с поддержкой smart card

Здравствуйте!
Не могу собрать rdesktop с поддержкой smart card. В PKGBUILD добавляю ./configure –enable-smartcard, запускаю makepkg, начинается сборка и в конце мне выдается следующее:

scard.h:54:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MYPCSC_SCARD_READERSTATE_A’
scard.h:55:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MYPCSC_LPSCARD_READERSTATE_A’
scard.c:43:0: warning: “SCARD_AUTOALLOCATE” redefined
/usr/include/PCSC/pcsclite.h:134:0: note: this is the location of the previous definition
scard.c:938:36: error: expected declaration specifiers or ‘…’ before ‘MYPCSC_LPSCARD_READERSTATE_A’
scard.c: In function ‘needStatusRecheck’:
scard.c:943:3: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:943:3: note: each undeclared identifier is reported only once for each function it appears in
scard.c:943:32: error: expected ‘;’ before ‘cur’
scard.c:944:15: error: ‘cur’ undeclared (first use in this function)
scard.c:944:21: error: ‘rsArray’ undeclared (first use in this function)
scard.c: At top level:
scard.c:980:61: error: expected ‘)’ before ‘src’
scard.c:999:66: error: expected declaration specifiers or ‘…’ before ‘MYPCSC_LPSCARD_READERSTATE_A’
scard.c: In function ‘copyReaderState_ServerToMyPCSC’:
scard.c:1003:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1003:31: error: expected ‘;’ before ‘dstIter’
scard.c:1006:29: error: ‘dstIter’ undeclared (first use in this function)
scard.c:1006:39: error: ‘dst’ undeclared (first use in this function)
scard.c: In function ‘TS_SCardGetStatusChange’:
scard.c:1027:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1027:31: error: expected ‘;’ before ‘myRsArray’
scard.c:1119:2: error: ‘myRsArray’ undeclared (first use in this function)
scard.c:1119:53: error: ‘MYPCSC_SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1123:2: error: too many arguments to function ‘copyReaderState_ServerToMyPCSC’
scard.c:999:1: note: declared here
scard.c:1127:2: warning: implicit declaration of function ‘copyReaderState_MyPCSCToServer’
scard.c: In function ‘TS_SCardLocateCardsByATR’:
scard.c:1226:2: error: ‘MYPCSC_LPSCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1226:31: error: expected ‘;’ before ‘myRsArray’
scard.c:1238:55: error: ‘SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1293:2: error: ‘myRsArray’ undeclared (first use in this function)
scard.c:1293:57: error: ‘MYPCSC_SCARD_READERSTATE_A’ undeclared (first use in this function)
scard.c:1296:2: error: too many arguments to function ‘copyReaderState_ServerToMyPCSC’
scard.c:999:1: note: declared here
scard.c: At top level:
scard.c:938:1: warning: ‘needStatusRecheck’ defined but not used
scard.c:957:1: warning: ‘mappedStatus’ defined but not used
scard.c:1856:1: warning: ‘TS_SCardListReaderGroups’ defined but not used
scard.c:2011:1: warning: ‘TS_SCardSetAttrib’ defined but not used
scard.c:2378:1: warning: ‘freeStream’ defined but not used
make: *** Error 1
Aborting…

Помогите пожалуйста со сборкой, очень надо - что я делаю не так?
Оно http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546713?
pcsclite установлен (забыл об это упомянуть).
C pcsclite 1.5.5 собралось.
О, а у меня 1.6.4 - может в этом проблема?
maksipes
C pcsclite 1.5.5 собралось.
Спасибо большое, все собралось.
 
Зарегистрироваться или войдите чтобы оставить сообщение.