Ich wollte mir Hibiscus einrichten, was aber mit meinem Kartenleser SCR335 nur mit dem pcsc-ctapi-wrapper zusammen arbeitet. Laut Anleitung von http://wiki.ubuntuusers.de/HBCI_Kartenleser#PC-SC-Treiber muß ich diesen selbst kompilieren. Habe eigentlich alle Abhängikeiten erfüllt. Leider kommt beim Befehl make ein Fehler
...pcsc-ctapi-wrapper-0.3$ sudo make gcc -O2 -Wall -I /usr/include/PCSC/ -c -fPIC pcsc-ctapi-wrapper.c pcsc-ctapi-wrapper.c:31:48: error: wintypes.h: No such file or directory pcsc-ctapi-wrapper.c:32:48: error: winscard.h: No such file or directory pcsc-ctapi-wrapper.c:33:47: error: reader.h: No such file or directory pcsc-ctapi-wrapper.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hContext’ pcsc-ctapi-wrapper.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hCard’ pcsc-ctapi-wrapper.c: In function ‘CT_init’: pcsc-ctapi-wrapper.c:103: error: ‘DWORD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:103: error: (Each undeclared identifier is reported only once pcsc-ctapi-wrapper.c:103: error: for each function it appears in.) pcsc-ctapi-wrapper.c:103: error: expected ‘;’ before ‘dwReaders’ pcsc-ctapi-wrapper.c:130: warning: implicit declaration of function ‘SCardEstablishContext’ pcsc-ctapi-wrapper.c:130: error: ‘SCARD_SCOPE_SYSTEM’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:130: error: ‘hContext’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:131: error: ‘SCARD_S_SUCCESS’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:139: warning: implicit declaration of function ‘SCardListReaders’ pcsc-ctapi-wrapper.c:139: error: ‘dwReaders’ undeclared (first use in this function) pcsc-ctapi-wrapper.c: In function ‘CT_data’: pcsc-ctapi-wrapper.c:245: error: ‘DWORD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:245: error: expected ‘;’ before ‘dwActiveProtocol’ pcsc-ctapi-wrapper.c:246: warning: implicit declaration of function ‘SCardReconnect’ pcsc-ctapi-wrapper.c:246: error: ‘hCard’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:246: error: ‘SCARD_SHARE_EXCLUSIVE’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:246: error: ‘SCARD_PROTOCOL_T0’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:246: error: ‘SCARD_PROTOCOL_T1’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:246: error: ‘SCARD_RESET_CARD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:246: error: ‘dwActiveProtocol’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:247: error: ‘SCARD_S_SUCCESS’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:257: error: ‘BYTE’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:257: error: expected ‘;’ before ‘pbAtr’ pcsc-ctapi-wrapper.c:258: error: expected ‘;’ before ‘dwZero’ pcsc-ctapi-wrapper.c:259: warning: implicit declaration of function ‘SCardStatus’ pcsc-ctapi-wrapper.c:259: error: ‘dwZero’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:259: error: ‘dwProtocol’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:259: error: ‘pbAtr’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:259: error: ‘dwAtrSize’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:314: error: expected ‘;’ before ‘pbAtr’ pcsc-ctapi-wrapper.c:315: error: expected ‘;’ before ‘dwZero’ pcsc-ctapi-wrapper.c:316: error: ‘dwState’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:319: warning: implicit declaration of function ‘SCardDisconnect’ pcsc-ctapi-wrapper.c:319: error: ‘SCARD_UNPOWER_CARD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:322: warning: left-hand operand of comma expression has no effect pcsc-ctapi-wrapper.c:322: warning: left-hand operand of comma expression has no effect pcsc-ctapi-wrapper.c:322: warning: left-hand operand of comma expression has no effect pcsc-ctapi-wrapper.c:329: error: ‘SCARD_PRESENT’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:416: error: ‘SCARD_IO_REQUEST’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:416: error: expected ‘;’ before ‘pioRecvPci’ pcsc-ctapi-wrapper.c:417: error: expected ‘;’ before ‘dwRecvLength’ pcsc-ctapi-wrapper.c:418: warning: implicit declaration of function ‘SCardTransmit’ pcsc-ctapi-wrapper.c:418: error: ‘SCARD_PCI_T1’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:418: error: ‘dwInpLength’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:418: error: ‘pioRecvPci’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:418: error: ‘dwRecvLength’ undeclared (first use in this function) pcsc-ctapi-wrapper.c: In function ‘CT_close’: pcsc-ctapi-wrapper.c:453: error: ‘hCard’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:453: error: ‘SCARD_UNPOWER_CARD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:456: warning: implicit declaration of function ‘SCardReleaseContext’ pcsc-ctapi-wrapper.c:456: error: ‘hContext’ undeclared (first use in this function) pcsc-ctapi-wrapper.c: In function ‘ConnectCard’: pcsc-ctapi-wrapper.c:469: error: ‘DWORD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:469: error: expected ‘;’ before ‘dwActiveProtocol’ pcsc-ctapi-wrapper.c:472: warning: implicit declaration of function ‘SCardConnect’ pcsc-ctapi-wrapper.c:472: error: ‘hContext’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:472: error: ‘SCARD_SHARE_EXCLUSIVE’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:473: error: ‘SCARD_PROTOCOL_T1’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:473: error: ‘SCARD_PROTOCOL_T0’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:473: error: ‘hCard’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:473: error: ‘dwActiveProtocol’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:474: error: ‘SCARD_S_SUCCESS’ undeclared (first use in this function) pcsc-ctapi-wrapper.c: In function ‘PerformVerification’: pcsc-ctapi-wrapper.c:590: error: ‘LONG’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:590: error: expected ‘;’ before ‘nResult’ pcsc-ctapi-wrapper.c:591: error: ‘DWORD’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:591: error: expected ‘;’ before ‘dwControlCode’ pcsc-ctapi-wrapper.c:596: error: ‘nResult’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:596: warning: implicit declaration of function ‘SCardControl’ pcsc-ctapi-wrapper.c:596: error: ‘hCard’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:596: error: ‘CM_IOCTL_GET_FEATURE_REQUEST’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:596: error: ‘nBytesReturned’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:597: error: ‘SCARD_S_SUCCESS’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:611: error: ‘FEATURE_VERIFY_PIN_DIRECT’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:613: error: ‘dwControlCode’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:626: error: ‘PIN_VERIFY_STRUCTURE’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:626: error: ‘pPVS’ undeclared (first use in this function) pcsc-ctapi-wrapper.c:633: warning: implicit declaration of function ‘HOST_TO_CCID_16’ make: *** [pcsc-ctapi-wrapper.o] Fehler 1
Mit Moneyplex bekomme ich den Kartenleser gleich zum laufen. Ich hoffe ihr könnt mir helfen. Steve