ubuntu@DevEnv:~/atheros-2.6$ make package/ipset-{clean,compile} V=3 make[1]: Entering directory `/home/ubuntu/atheros-2.6/package' make[2] -C package ipset-clean make[2]: Entering directory `/home/ubuntu/atheros-2.6/package/ipset' make[3] -C package/ipset clean rm -f /home/ubuntu/atheros-2.6/bin/packages/ipset_* make[2]: Leaving directory `/home/ubuntu/atheros-2.6/package/ipset' make[1]: Leaving directory `/home/ubuntu/atheros-2.6/package' make[1]: Entering directory `/home/ubuntu/atheros-2.6/package' make[2] -C package ipset-compile find: /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3: No such file or directory make[2]: Entering directory `/home/ubuntu/atheros-2.6/package/ipset' make[3] -C package/ipset compile bzcat /home/ubuntu/atheros-2.6/dl/ipset-2.2.3-20050914.tar.bz2 | /bin/tar -C /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/.. -xf - Applying ./patches/001-kernel_26.patch using plaintext: patching file ipset.c patching file ipset_iphash.c patching file ipset_ipmap.c patching file ipset_macipmap.c patching file ipset_nethash.c patching file ipset_portmap.c touch /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/.prepared_0e5fae13afb67eef0dc827bc9995fa03 (cd /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/./; if [ -x ./configure ]; then cp -fpR /home/ubuntu/atheros-2.6/scripts/config.{guess,sub} /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3// && AR=mips-linux-uclibc-ar AS="ccache mips-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mips-linux-uclibc-ld NM=mips-linux-uclibc-nm CC="ccache mips-linux-uclibc-gcc" GCC="ccache mips-linux-uclibc-gcc" CXX=mips-linux-uclibc-g++ RANLIB=mips-linux-uclibc-ranlib STRIP=mips-linux-uclibc-strip OBJCOPY=mips-linux-uclibc-objcopy OBJDUMP=mips-linux-uclibc-objdump SIZE=mips-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include" CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include" CPPFLAGS="-I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include" LDFLAGS="-L/home/ubuntu/atheros-2.6/staging_dir_mips/usr/lib -L/home/ubuntu/atheros-2.6/staging_dir_mips/lib" PKG_CONFIG_PATH="/home/ubuntu/atheros-2.6/staging_dir_mips/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="/home/ubuntu/atheros-2.6/staging_dir_mips/usr/lib/pkgconfig" ./configure --target=mips-linux --host=mips-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; ) touch /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/.configured CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include" CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include" LDFLAGS="-L/home/ubuntu/atheros-2.6/staging_dir_mips/usr/lib -L/home/ubuntu/atheros-2.6/staging_dir_mips/lib " make -C /home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/. AR=mips-linux-uclibc-ar AS="ccache mips-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mips-linux-uclibc-ld NM=mips-linux-uclibc-nm CC="ccache mips-linux-uclibc-gcc" GCC="ccache mips-linux-uclibc-gcc" CXX=mips-linux-uclibc-g++ RANLIB=mips-linux-uclibc-ranlib STRIP=mips-linux-uclibc-strip OBJCOPY=mips-linux-uclibc-objcopy OBJDUMP=mips-linux-uclibc-objdump SIZE=mips-linux-uclibc-size CROSS="mips-linux-uclibc-" ARCH="mips" COPT_FLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" KERNEL_DIR="/home/ubuntu/atheros-2.6/build_mips/linux" PREFIX="/usr" ; make[3]: Entering directory `/home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3' ccache mips-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -Wall -Wunused -I/home/ubuntu/atheros-2.6/build_mips/linux/include -I. -DIPSET_VERSION=\"2.2.3\" -DIPSET_LIB_DIR=\"/usr/lib/ipset\" -c -o ipset.o ipset.c In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-info.h:15, from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-features.h:14, from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:18, from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cache.h:12:21: error: kmalloc.h: No such file or directory In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-features.h:14, from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:18, from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-info.h:86: error: 'CONFIG_MIPS_L1_CACHE_SHIFT' undeclared here (not in a function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-info.h:86: error: requested alignment is not a constant In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:18, from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/cpu-features.h:15:35: error: cpu-feature-overrides.h: No such file or directory In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h: In function 'set_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:103: warning: implicit declaration of function 'local_irq_save' /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:105: warning: implicit declaration of function 'local_irq_restore' In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:466, from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__set_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:20: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:20: error: (Each undeclared identifier is reported only once /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:20: error: for each function it appears in.) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__clear_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:28: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__change_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:45: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__test_and_set_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:62: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__test_and_clear_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:81: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function '__test_and_change_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:93: error: 'BITS_PER_LONG' undeclared (first use in this function) /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h: In function 'test_bit': /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/non-atomic.h:108: error: 'BITS_PER_LONG' undeclared (first use in this function) In file included from /home/ubuntu/atheros-2.6/build_mips/linux/include/asm/bitops.h:559, from /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:9, from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/ffs.h: At top level: /home/ubuntu/atheros-2.6/build_mips/linux/include/asm-generic/bitops/ffs.h:13: error: static declaration of 'ffs' follows non-static declaration In file included from ipset.c:24: /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h: In function 'hweight_long': /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:31: warning: implicit declaration of function 'hweight32' /home/ubuntu/atheros-2.6/build_mips/linux/include/linux/bitops.h:31: warning: implicit declaration of function 'hweight64' ipset.c: In function 'parse_commandline': ipset.c:1919: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness ipset.c:1939: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness ipset.c:1980: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness ipset.c:1994: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness ipset.c:2001: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness ipset.c:2021: warning: pointer targets in passing argument 1 of 'set_command' differ in signedness make[3]: *** [ipset.o] Error 1 make[3]: Leaving directory `/home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3' make[2]: *** [/home/ubuntu/atheros-2.6/build_mips/ipset-2.2.3/.built] Error 2 make[2]: Leaving directory `/home/ubuntu/atheros-2.6/package/ipset' *** ipset compile failed make[1]: *** [ipset-compile] Error 1 make[1]: Leaving directory `/home/ubuntu/atheros-2.6/package' Build failed. Please re-run make with V=99 to see what's going on make: *** [package/ipset-compile] Fehler 1 ubuntu@DevEnv:~/atheros-2.6$