>>> Unpacking source... >>> Unpacking ifd-gempc-1.0.3.tar.gz to /var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3 ... make -j14 CC=i686-pc-linux-gnu-gcc make -C common clean make[1]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' makedepend -f - -I. -I../GemPC410 -DGEMPC=410 *.c > .dependencies || true makedepend: warning: GCCmds.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h" not in ./stddef.h not in ../GemPC410/stddef.h not in /usr/include/stddef.h makedepend: warning: GCCmds.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h" not in ./stddef.h not in ../GemPC410/stddef.h not in /usr/include/stddef.h makedepend: warning: GCCmds.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h" not in ./stddef.h not in ../GemPC410/stddef.h not in /usr/include/stddef.h makedepend: warning: GCCmds.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h" not in ./stdarg.h not in ../GemPC410/stdarg.h not in /usr/include/stdarg.h makedepend: warning: GCCmds.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../GemPC410/stddef.h not in /usr/include/stddef.h makedepend: warning: GCCmds.c (reading gempc_ifdhandler.h, line 20): cannot find include file "ifdhandler.h" not in ./ifdhandler.h not in ../GemPC410/ifdhandler.h not in /usr/include/ifdhandler.h makedepend: warning: GCCmds.c (reading GemCore.h, line 16): cannot find include file "pcsclite.h" not in ./pcsclite.h not in ../GemPC410/pcsclite.h not in /usr/include/pcsclite.h makedepend: warning: GCdebug.c, line 14: cannot find include file "stdarg.h" not in ./stdarg.h not in ../GemPC410/stdarg.h not in /usr/include/stdarg.h touch dep_stamp rm -f GCCmds.o GCUtils.o ifdhandler.o GCdebug.o rm -f .dependencies touch .dependencies make[1]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' make -C GemPC410 make[1]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/GemPC410' Making dependencies... makedepend -f - -I. -I../common -DGEMPC=410 *.c > .dependencies || true makedepend: warning: GCGBPTransport.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GCGBPTransport.c (reading ../common/gempc_ifdhandler.h, line 20): cannot find include file "ifdhandler.h" not in ./ifdhandler.h not in ../common/ifdhandler.h not in /usr/include/ifdhandler.h makedepend: warning: GCGBPTransport.c (reading ../common/GemCore.h, line 16): cannot find include file "pcsclite.h" not in ./pcsclite.h not in ../common/pcsclite.h not in /usr/include/pcsclite.h makedepend: warning: GemPC410Utils.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC410Utils.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC410Utils.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC410Utils.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h" not in ./stdarg.h not in ../common/stdarg.h not in /usr/include/stdarg.h makedepend: warning: gbpserial.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: gbpserial.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: gbpserial.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: gbpserial.c (reading /usr/include/unistd.h, line 197): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: gbpserial.c, line 107: #error Edit this file and set the number of initialiser to PCSCLITE_MAX_READERS (default was 16 but it has changed) makedepend: warning: main.c, line 26: cannot find include file "winscard.h" not in ./winscard.h not in ../common/winscard.h not in /usr/include/winscard.h make -C ../common dep make[2]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' make[2]: Nothing to be done for `dep'. make[2]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' touch dep_stamp CFLAGS="`pkg-config libpcsclite --cflags`" ../check 410 make -C ../common CFLAGS="-O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -I../GemPC410" all i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o GCGBPTransport.o GCGBPTransport.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o gbpserial.o gbpserial.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o GemPC410Utils.o GemPC410Utils.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o main.o main.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o ../common/GCdebug.o ../common/GCdebug.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 `pkg-config libpcsclite --cflags` -c -o resetGemPC410.o resetGemPC410.c make[2]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 -pthread -I/usr/include/PCSC -I../GemPC410 -c -o GCCmds.o GCCmds.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 -pthread -I/usr/include/PCSC -I../GemPC410 -c -o GCUtils.o GCUtils.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=410 -pthread -I/usr/include/PCSC -I../GemPC410 -c -o ifdhandler.o ifdhandler.c checking for pcsclite.h... yes checking for pcsc-lite version >= "1.2.9-beta7"... i686-pc-linux-gnu-gcc -o resetGemPC410 resetGemPC410.o make[2]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' yes touch check_stamp i686-pc-linux-gnu-gcc -o ifd-GemPC410 GCGBPTransport.o gbpserial.o GemPC410Utils.o ../common/ifdhandler.o ../common/GCCmds.o ../common/GCUtils.o main.o ../common/GCdebug.o rm -f libGemPC410.so i686-pc-linux-gnu-gcc -shared GCGBPTransport.o gbpserial.o GemPC410Utils.o ../common/ifdhandler.o ../common/GCCmds.o ../common/GCUtils.o -o libGemPC410.so chmod -x libGemPC410.so mv libGemPC410.so libGemPC410.so.1.0.3 make[1]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/GemPC410' make -C common clean make[1]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' rm -f GCCmds.o GCUtils.o ifdhandler.o GCdebug.o rm -f .dependencies touch .dependencies make[1]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' make -C GemPC430 make[1]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/GemPC430' Making dependencies... makedepend -f - -I. -I../common -DGEMPC=430 GCUSBTransport.c \ GemPC430Utils.c libusb_wrap.c > .dependencies || true makedepend: warning: GCUSBTransport.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GCUSBTransport.c (reading ../common/gempc_ifdhandler.h, line 20): cannot find include file "ifdhandler.h" not in ./ifdhandler.h not in ../common/ifdhandler.h not in /usr/include/ifdhandler.h makedepend: warning: GCUSBTransport.c (reading ../common/GemCore.h, line 16): cannot find include file "pcsclite.h" not in ./pcsclite.h not in ../common/pcsclite.h not in /usr/include/pcsclite.h makedepend: warning: GemPC430Utils.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC430Utils.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC430Utils.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: GemPC430Utils.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h" not in ./stdarg.h not in ../common/stdarg.h not in /usr/include/stdarg.h makedepend: warning: libusb_wrap.c (reading /usr/include/unistd.h, line 197): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: libusb_wrap.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: libusb_wrap.c (reading /usr/include/sys/types.h, line 147): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: libusb_wrap.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: libusb_wrap.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h" makedepend: warning: libusb_wrap.c (reading /usr/include/dirent.h, line 243): cannot find include file "stddef.h" not in ./stddef.h not in ../common/stddef.h not in /usr/include/stddef.h makedepend: warning: libusb_wrap.c, line 73: #error Edit this file and set the number of initialiser to PCSCLITE_MAX_READERS (default was 16 but it has changed) make -C ../common dep make[2]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' make[2]: Nothing to be done for `dep'. make[2]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' touch dep_stamp CFLAGS="-I/usr/local/include `pkg-config libpcsclite --cflags`" LDFLAGS="-L/usr/local/lib" ../check 430 make -C ../common CFLAGS="-O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -I../GemPC430" all i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -c -o GCUSBTransport.o GCUSBTransport.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -c -o libusb_wrap.o libusb_wrap.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -c -o GemPC430Utils.o GemPC430Utils.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -c -o main.o ../GemPC410/main.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include `pkg-config libpcsclite --cflags` -c -o ../common/GCdebug.o ../common/GCdebug.c make[2]: Entering directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include -pthread -I/usr/include/PCSC -I../GemPC430 -c -o GCCmds.o GCCmds.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include -pthread -I/usr/include/PCSC -I../GemPC430 -c -o GCUtils.o GCUtils.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include -pthread -I/usr/include/PCSC -I../GemPC430 -c -o ifdhandler.o ifdhandler.c checking for pcsclite.h... i686-pc-linux-gnu-gcc -O2 -pipe -Wall -fPIC -I. -I../common -DGEMPC=430 -I/usr/local/include -pthread -I/usr/include/PCSC -I../GemPC430 -c -o GCdebug.o GCdebug.c yes checking for pcsc-lite version >= "1.2.9-beta7"... yes checking for usb.h... make[2]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/common' i686-pc-linux-gnu-gcc -L/usr/local/lib -lusb -o ifd-GemPC430 GCUSBTransport.o libusb_wrap.o GemPC430Utils.o ../common/ifdhandler.o ../common/GCCmds.o ../common/GCUtils.o main.o ../common/GCdebug.o i686-pc-linux-gnu-gcc -shared -L/usr/local/lib -lusb -o libGemPC430.so GCUSBTransport.o libusb_wrap.o GemPC430Utils.o ../common/ifdhandler.o ../common/GCCmds.o ../common/GCUtils.o yes checking for usb_get_busses... libusb_wrap.o: In function `CloseUSB': libusb_wrap.c:(.text+0x91): undefined reference to `usb_release_interface' libusb_wrap.c:(.text+0x9c): undefined reference to `usb_close' libusb_wrap.o: In function `ReadUSB': libusb_wrap.c:(.text+0x161): undefined reference to `usb_bulk_read' libusb_wrap.o: In function `WriteUSB': libusb_wrap.c:(.text+0x2be): undefined reference to `usb_bulk_write' libusb_wrap.c:(.text+0x3b5): undefined reference to `usb_reset' libusb_wrap.o: In function `OpenUSB': libusb_wrap.c:(.text+0x517): undefined reference to `usb_find_busses' libusb_wrap.c:(.text+0x51c): undefined reference to `usb_find_devices' libusb_wrap.c:(.text+0x521): undefined reference to `usb_get_busses' libusb_wrap.c:(.text+0x61a): undefined reference to `usb_init' libusb_wrap.c:(.text+0x865): undefined reference to `usb_open' libusb_wrap.c:(.text+0x8e4): undefined reference to `usb_claim_interface' collect2: ld returned 1 exit status make[1]: *** [ifd-GemPC430] Error 1 make[1]: *** Waiting for unfinished jobs.... no WRONG VERSION OF LIBUSB! Your version of libusb is not correct (too old?). You must use version 0.1.6a or superior. You can get it from http://libusb.sourceforge.net/ or from a package of your operating system distribution make[1]: *** [check_stamp] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/work/ifd-gempc-1.0.3/GemPC430' make: *** [all] Error 2 * * ERROR: sys-apps/ifd-gempc-1.0.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2162: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-apps/ifd-gempc-1.0.3:20081123-075952.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/ifd-gempc-1.0.3/temp/environment'. *