checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/usbdevice_fs.h usability... yes checking linux/usbdevice_fs.h presence... yes checking for linux/usbdevice_fs.h... yes checking if usbdevfs_ctrltransfer struct has bRequestType member... yes checking whether the platform could support netfilter sniffing... yes checking whether we can compile the netfilter support... no checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no configure: Bluetooth sniffing is not supported; install bluez-lib devel to enable it checking libusb-1.0/libusb.h usability... no checking libusb-1.0/libusb.h presence... no checking for libusb-1.0/libusb.h... no configure: canusb sniffing is not supported; install libusb1.0 lib devel to enable it checking for linux/can.h... yes configure: CAN sniffing is supported checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-tstamp.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_list_tstamp_types.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating pcap_set_tstamp_type.3pcap config.status: creating config.h configure: WARNING: unrecognized options: --disable-gtk-doc, --enable-static, --enable-shared >>> libpcap 1.3.0 Building PATH="/home/test/test/output/host/bin:/home/test/test/output/host/usr/bin:/home/test/test/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/home/test/test/output/host/usr/lib/perl" /usr/bin/make -j12 -C /home/test/test/output/build/libpcap-1.3.0/ make[1]: Entering directory `/home/test/test/output/build/libpcap-1.3.0' /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./pcap-linux.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./pcap-usb-linux.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./pcap-can-linux.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./fad-getad.c if grep GIT ./VERSION >/dev/null; then \ read ver <./VERSION; \ echo $ver | tr -d '\012'; \ date +_%Y_%m_%d; \ else \ cat ./VERSION; \ fi | sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' > version.h /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./inet.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./gencode.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./optimize.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./nametoaddr.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./etherent.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./savefile.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./sf-pcap.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./sf-pcap-ng.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./pcap-common.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./bpf_image.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c scanner.l rm -f bpf_filter.c bison -y -p pcap_ -d grammar.y ln -s ./bpf/net/bpf_filter.c bpf_filter.c if grep GIT ./VERSION >/dev/null; then \ read ver <./VERSION; \ echo $ver | tr -d '\012'; \ date +_%Y_%m_%d; \ else \ cat ./VERSION; \ fi | sed -e 's/.*/char pcap_version[] = "&";/' > version.c ./config.status --file=pcap-config.tmp:./pcap-config.in /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c bpf_filter.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c ./pcap.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c version.c config.status: creating pcap-config.tmp mv pcap-config.tmp pcap-config chmod a+x pcap-config mv y.tab.c grammar.c mv y.tab.h tokdefs.h /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c scanner.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -O2 -fpic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dyylval=pcap_lval -c grammar.c /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-ar rc libpcap.a pcap-linux.o pcap-usb-linux.o pcap-can-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER \ -o libpcap.so.$VER pcap-linux.o pcap-usb-linux.o pcap-can-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o /home/test/test/output/host/usr/bin/microblazeel-unknown-linux-gnu-ranlib libpcap.a /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-unknown-linux-gnu/4.1.2/../../../../microblazeel-unknown-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /home/jwilliams/petalinux/petalinux-v1.00-devel/devel/packager/gnu/toolchains/skeleton/build/crosstool-ng/targets/src/binutils-2.16.1/bfd/elf32-microblaze.c:1097 /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-unknown-linux-gnu/4.1.2/../../../../microblazeel-unknown-linux-gnu/bin/ld: pcap-linux.o: probably compiled without -fPIC? /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-unknown-linux-gnu/4.1.2/../../../../microblazeel-unknown-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [libpcap.so] Error 1 make[1]: Leaving directory `/home/test/test/output/build/libpcap-1.3.0' make: *** [/home/test/test/output/build/libpcap-1.3.0/.stamp_built] Error 2