-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build pcscd error #25
Comments
What is the result of:
|
strange, the pcsc-wirecheck-dist.c is empty, no any code. root@ubuntu:/opt/software/package/ccid/CCID/PCSC/src# cat pcsc-wirecheck-dist.c root@ubuntu:/opt/software/package/ccid/CCID/PCSC/src# make pcsc-wirecheck-dist.cmake: `pcsc-wirecheck-dist.c' is up to date. |
Remove the file |
root@ubuntu:/opt/software/package/ccid/CCID/PCSC/src# make pcsc-wirecheck-dist.c CC pcsc-wirecheck-gen.o |
Another strange issue is below But if replacement to ubuntu local gcc, it give error: checking libusb.h usability... yes
I don't understand the libusb already installed, and I do give the right path, but it still inform error |
I understand the problem. You can avoid the problem by creating an empty |
Add comments:
after check config.log, I saw there have error
To sovle this issue, will need do build with -lrt:
|
The files |
Hi Ludovic
I do build pcscd and found some error:
root@ubuntu:/opt/software/pcscd/PCSC# ./configure CC=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc --host=arm-fsl-linux prefix=/usr/ccid --enable-libusb LIBUSB_LIBS="-L/usr/ccid/install/lib -lusb-1.0" LIBUSB_CFLAGS="-I/usr/ccid/install/include/libusb-1.0" PCSC_CFLAGS="-I/usr/ccid/include/PCSC" PCSC_LIBS="-L/usr/ccid/lib/ -lpcsclite" --enable-usbdropdir="/usr/ccid/lib/pcsc/drivers" --enable-static --disable-libudev --disable-libsystemd
After, do make, got below error:
root@ubuntu:/opt/software/pcscd/PCSC# make
make all-recursive
make[1]: Entering directory
/opt/software/pcscd/PCSC' Making all in src make[2]: Entering directory
/opt/software/pcscd/PCSC/src'Making all in spy
make[3]: Entering directory
/opt/software/pcscd/PCSC/src/spy' make[3]: Nothing to be done for
all'.make[3]: Leaving directory
/opt/software/pcscd/PCSC/src/spy' make[3]: Entering directory
/opt/software/pcscd/PCSC/src'CCLD pcsc-wirecheck
pcsc-wirecheck-main.o: In function
main': /opt/software/pcscd/PCSC/src/pcsc-wirecheck-main.c:12: undefined reference to
pcsc_assert_wire_constants'collect2: ld returned 1 exit status
make[3]: *** [pcsc-wirecheck] Error 1
make[3]: Leaving directory
/opt/software/pcscd/PCSC/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/opt/software/pcscd/PCSC/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/software/pcscd/PCSC'
make: *** [all] Error 2
root@ubuntu:/opt/software/pcscd/PCSC#
I do comment that line, then can build successful
There have two issues:
The text was updated successfully, but these errors were encountered: