hi ich bekomme auch den fehler von mandy
nur versuche ich das ccid direkt crosszucompilen
tcn="mipsel-linux-uclibc"
org="openwrt26"
spath="$PFAD/$tc/$org"
CROSS="$spath/bin/mipsel-linux-uclibc-"
PREFIX="$PFAD/ext_libs/$org"
export "CC=$spath/bin/$tcn-gcc"
CC="$spath/bin/$tcn-gcc"
./configure CC="$CC" CFLAGS=-pthread --host="$tcn" --target="$tcn" \
<------> LIBUSB_CFLAGS=-I"$spath/include/libusb-1.0"\
<------> LIBUSB_LIBS="$spath/lib/libusb-1.0.so"\
<------> PCSC_CFLAGS=-I"$MYLIBS/$FOR_PLATFORM/include/PCSC"\
<------> PCSC_LIBS="$MYLIBS/$FOR_PLATFORM/$MYPCSCFILE"\
<------> --enable-usbdropdir=/lib/pcsc/drivers \
<------> --enable-ccidtwindir=/lib/pcsc/drivers/serial \
<------> --enable-static \
<------> --prefix=$PREFIX
dabei bekomme ich den fehler
Code:
make[1]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.5/examples'
CC scardcontrol-scardcontrol.o
scardcontrol.c: In function 'parse_properties':
scardcontrol.c:114: error: 'PCSCv2_PART10_PROPERTY_wLcdLayout' undeclared (first use in this function)
scardcontrol.c:114: error: (Each undeclared identifier is reported only once
scardcontrol.c:114: error: for each function it appears in.)
scardcontrol.c:117: error: 'PCSCv2_PART10_PROPERTY_bEntryValidationCondition' undeclared (first use in this function)
scardcontrol.c:120: error: 'PCSCv2_PART10_PROPERTY_bTimeOut2' undeclared (first use in this function)
scardcontrol.c:123: error: 'PCSCv2_PART10_PROPERTY_wLcdMaxCharacters' undeclared (first use in this function)
scardcontrol.c:126: error: 'PCSCv2_PART10_PROPERTY_wLcdMaxLines' undeclared (first use in this function)
scardcontrol.c:129: error: 'PCSCv2_PART10_PROPERTY_bMinPINSize' undeclared (first use in this function)
scardcontrol.c:132: error: 'PCSCv2_PART10_PROPERTY_bMaxPINSize' undeclared (first use in this function)
scardcontrol.c:135: error: 'PCSCv2_PART10_PROPERTY_sFirmwareID' undeclared (first use in this function)
scardcontrol.c:141: error: 'PCSCv2_PART10_PROPERTY_bPPDUSupport' undeclared (first use in this function)
scardcontrol.c: In function 'main':
scardcontrol.c:379: error: 'FEATURE_MCT_READER_DIRECT' undeclared (first use in this function)
scardcontrol.c:383: error: 'FEATURE_GET_TLV_PROPERTIES' undeclared (first use in this function)
scardcontrol.c:387: error: 'FEATURE_CCID_ESC_COMMAND' undeclared (first use in this function)
scardcontrol.c:414: error: 'PCSCv2_PART10_PROPERTY_bEntryValidationCondition' undeclared (first use in this function)
scardcontrol.c:417: error: 'PCSCv2_PART10_PROPERTY_bMaxPINSize' undeclared (first use in this function)
make[1]: *** [scardcontrol-scardcontrol.o] Fehler 1
make[1]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.5/examples'
make: *** [install-recursive] Fehler 1
den kann ich "wegfixen" danach bekomme ich aber beim bauen des main
Code:
make all-recursive
make[1]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7'
Making all in m4
make[2]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/m4'
Making all in readers
make[2]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/readers'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/readers'
Making all in examples
make[2]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/examples'
CC scardcontrol-scardcontrol.o
CCLD scardcontrol
make[2]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/examples'
Making all in contrib
make[2]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib'
Making all in Kobil_mIDentity_switch
make[3]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib/Kobil_mIDentity_switch'
CC Kobil_mIDentity_switch-Kobil_mIDentity_switch.o
CCLD Kobil_mIDentity_switch
make[3]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib/Kobil_mIDentity_switch'
Making all in RSA_SecurID
make[3]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib/RSA_SecurID'
CC RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
CCLD RSA_SecurID_getpasswd
make[3]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib/RSA_SecurID'
make[3]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib'
make[2]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/contrib'
Making all in src
make[2]: Entering directory `/usr/src/testing/ext_libs/ccid-1.4.7/src'
CC libccid_la-ccid.lo
CC libccid_la-commands.lo
commands.c: In function 'CCID_Receive':
commands.c:1441: error: 'IFD_ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function)
commands.c:1441: error: (Each undeclared identifier is reported only once
commands.c:1441: error: for each function it appears in.)
commands.c: In function 'CmdXfrBlockAPDU_extended':
commands.c:1554: error: 'IFD_ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function)
make[2]: *** [libccid_la-commands.lo] Fehler 1
make[2]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/testing/ext_libs/ccid-1.4.7'
make: *** [all] Fehler 2
patch 844 hab ich schon angewendet