Salut Florian, I'm at 34778. What should I do to rebuild the headers ?
my autobuild does : cd $openwrtBuildPath/$openwrtBranch svn update $openwrtBuildPath/$openwrtBranch/scripts/feeds update -a $openwrtBuildPath/$openwrtBranch/scripts/feeds install -a make clean make not enough ? On Wed, Dec 19, 2012 at 12:23 PM, Florian Fainelli <flor...@openwrt.org> wrote: > Hi, > > Le 12/19/12 12:21, shazz a écrit : > >> Hi, >> >> Since a few days on all my automated ar71xx/EGLIBC2.16 builds, >> swconfig doesn't build anymore: >> >> cli.c:34:26: fatal error: linux/switch.h: No such file or directory > > > Are you at r34678 or newer? If so, did you rebuilt the kernel headers to the > switch.h header is properly exported? > >> >> detail: >> make[3]: Entering directory >> `/var/www/LOG/openwrt/tpl703n/trunk/package/network/config/swconfig' >> CFLAGS="-D_GNU_SOURCE >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/usr/include/libnl-tiny >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/usr/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/usr/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/include >> -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts >> -Wno-error=unused-but-set-variable -msoft-float" make -C >> >> /var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig >> AR=mips-openwrt-linux-gnu-ar AS="mips-openwrt-linux-gnu-gcc -c -Os >> -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts >> -Wno-error=unused-but-set-variable -msoft-float" >> LD=mips-openwrt-linux-gnu-ld NM=mips-openwrt-linux-gnu-nm >> CC="mips-openwrt-linux-gnu-gcc" GCC="mips-openwrt-linux-gnu-gcc" >> CXX="mips-openwrt-linux-gnu-g++" RANLIB=mips-openwrt-linux-gnu-ranlib >> STRIP=mips-openwrt-linux-gnu-strip >> OBJCOPY=mips-openwrt-linux-gnu-objcopy >> OBJDUMP=mips-openwrt-linux-gnu-objdump >> SIZE=mips-openwrt-linux-gnu-size >> >> LIBS="-L/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/usr/lib >> >> -L/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/lib >> >> -L/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/usr/lib >> >> -L/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/lib >> -lnl-tiny -lm -luci" >> make[4]: Entering directory >> >> `/var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig' >> mips-openwrt-linux-gnu-gcc -D_GNU_SOURCE >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/usr/include/libnl-tiny >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/usr/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/usr/include >> >> -I/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/toolchain-mips_r2_gcc-4.7-linaro_eglibc-2.16/include >> -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts >> -Wno-error=unused-but-set-variable -msoft-float -c -o cli.o cli.c >> cli.c:34:26: fatal error: linux/switch.h: No such file or directory >> compilation terminated. >> make[4]: *** [cli.o] Error 1 >> make[4]: Leaving directory >> >> `/var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig' >> make[3]: *** >> [/var/www/LOG/openwrt/tpl703n/trunk/build_dir/target-mips_r2_eglibc-2.16/swconfig/.built] >> Error 2 >> make[3]: Leaving directory >> `/var/www/LOG/openwrt/tpl703n/trunk/package/network/config/swconfig' >> make[2]: *** [package/network/config/swconfig/compile] Error 2 >> make[2]: Leaving directory `/var/www/LOG/openwrt/tpl703n/trunk' >> make[1]: *** >> [/var/www/LOG/openwrt/tpl703n/trunk/staging_dir/target-mips_r2_eglibc-2.16/stamp/.package_compile] >> Error 2 >> make[1]: Leaving directory `/var/www/LOG/openwrt/tpl703n/trunk' >> make: *** [world] Erreur 2 >> >> thx, >> >> shazz >> _______________________________________________ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel >> > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel