patching file debian/compat patching file debian/inputattach.1 patching file debian/joystick.manpages patching file debian/jscal.1 patching file debian/copyright patching file debian/rules patching file debian/README.source patching file debian/patches/series patching file debian/patches/eviocgbit-buffer.patch patching file debian/patches/jitter-tolerance.patch patching file debian/patches/button-axis-remapping.patch patching file debian/patches/usb-joystick-segfault-fix.patch patching file debian/patches/update-inputattach.patch Applying input-tools-20051019-rint.patch using patch: patching file utils/jscal.c if [ -d /home/test/test/output/build/input-tools-20051019/debian/patches ]; then support/scripts/apply-patches.sh /home/test/test/output/build/input-tools-20051019 /home/test/test/output/build/input-tools-20051019/debian/patches \*.patch; fi Applying update-inputattach.patch using patch: patching file utils/inputattach.c patching file utils/serio-ids.h Applying jitter-tolerance.patch using patch: patching file utils/jscal.c Applying button-axis-remapping.patch using patch: patching file utils/jscal.c Applying usb-joystick-segfault-fix.patch using patch: patching file utils/jstest.c Applying eviocgbit-buffer.patch using patch: patching file utils/evtest.c >>> input-tools 20051019 Configuring >>> input-tools 20051019 Building for i in ; do /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o /home/test/test/output/build/input-tools-20051019/$i /home/test/test/output/build/input-tools-20051019/utils/$i.c ; done for i in ; do /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o /home/test/test/output/build/input-tools-20051019/$i /home/test/test/output/build/input-tools-20051019/utils/$i.c -lm; done >>> input-tools 20051019 Installing to target for i in ; do install -m 755 -D /home/test/test/output/build/input-tools-20051019/$i /home/test/test/output/target/usr/bin/$i; done >>> iproute2 3.6.0 Extracting gzip -d -c /home/test/dl/iproute2-3.6.0.tar.gz | tar --strip-components=1 -C /home/test/test/output/build/iproute2-3.6.0 -xf - >>> iproute2 3.6.0 Patching package//iproute2 Applying iproute2-optional-ipv6.patch using patch: patching file ip/ip6tunnel.c Hunk #2 succeeded at 426 (offset 12 lines). patching file ip/ipprefix.c patching file ip/iptunnel.c Hunk #2 succeeded at 631 (offset 26 lines). >>> iproute2 3.6.0 Configuring # arpd needs berkeleydb /bin/sed -i -e "/^TARGETS=/s: arpd : :" /home/test/test/output/build/iproute2-3.6.0/misc/Makefile echo "IPT_LIB_DIR:=/usr/lib/xtables" >>/home/test/test/output/build/iproute2-3.6.0/Config # Makefile is busted so it never passes IPT_LIB_DIR properly /bin/sed -i -e "s/-DIPT/-DXT/" /home/test/test/output/build/iproute2-3.6.0/tc/Makefile echo "TC_CONFIG_XT:=y" >>/home/test/test/output/build/iproute2-3.6.0/Config >>> iproute2 3.6.0 Building /bin/sed -i -e 's/$(CCOPTS)//' /home/test/test/output/build/iproute2-3.6.0/netem/Makefile /usr/bin/make -j12 CC="/home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc" CCOPTS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" -C /home/test/test/output/build/iproute2-3.6.0 make[1]: Entering directory `/home/test/test/output/build/iproute2-3.6.0' make[2]: Entering directory `/home/test/test/output/build/iproute2-3.6.0/lib' /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o libgenl.o libgenl.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ll_map.o ll_map.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o libnetlink.o libnetlink.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o utils.o utils.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o rt_names.o rt_names.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ll_types.o ll_types.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ll_proto.o ll_proto.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ll_addr.o ll_addr.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o inet_proto.o inet_proto.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o dnet_ntop.o dnet_ntop.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o dnet_pton.o dnet_pton.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ipx_ntop.o ipx_ntop.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC -c -o ipx_pton.o ipx_pton.c ar rcs libnetlink.a libgenl.o ll_map.o libnetlink.o ar rcs libutil.a utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o dnet_ntop.o dnet_pton.o ipx_ntop.o ipx_pton.o make[2]: Leaving directory `/home/test/test/output/build/iproute2-3.6.0/lib' make[2]: Entering directory `/home/test/test/output/build/iproute2-3.6.0/ip' /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ip.o ip.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ipaddress.o ipaddress.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ipaddrlabel.o ipaddrlabel.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o iproute.o iproute.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o iprule.o iprule.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ipnetns.o ipnetns.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o rtm_map.o rtm_map.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o iptunnel.o iptunnel.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ip6tunnel.o ip6tunnel.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o tunnel.o tunnel.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ipneigh.o ipneigh.c /home/test/test/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wstrict-prototypes -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -c -o ipntable.o ipntable.c ipnetns.c:32:12: error: static declaration of 'setns' follows non-static declaration In file included from /home/test/test/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/./sched.h:43:0, from ipnetns.c:11: /home/test/test/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/arm-linux-gnueabihf/bits/sched.h:93:12: note: previous declaration of 'setns' was here make[2]: *** [ipnetns.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/test/test/output/build/iproute2-3.6.0/ip' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output/build/iproute2-3.6.0' make: *** [/home/test/test/output/build/iproute2-3.6.0/.stamp_built] Error 2