Steven Van Ingelgem wrote:
> If you disable this option:
>> Advanced configuration options > Toolchain options > enable large file
> support
> 
> a basic OpenWRT image cannot be build anymore?
> 
> 
> This statement is verified against a clean trunk (#11911).
> The complete error output is mentioned below
> 
> 
> Greetings,
> Steven
> 
> 
> 
> 
> 
> 
> 
> make[3]: Entering directory `/home/steven/src/openwrt/package/busybox'
> make -C /home/steven/src/openwrt/build_dir/mipsel/busybox-1.8.2
> CC="mipsel-linux-uclibc-gcc" CROSS_COMPILE="mipsel-linux-uclibc-"
> KBUILD_HAVE_NLS=no EXTRA_CFLAGS="-Os -pipe -mips32 -mtune=mips32
> -funit-at-a-time -fhonour-copts" ARCH="mipsel" IPKG_ARCH="mipsel" all
> make[4]: Entering directory
> `/home/steven/src/openwrt/build_dir/mipsel/busybox-1.8.2'
>   CC      applets/applets.o
> In file included from
> /home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/assert.h:32,
>                  from applets/applets.c:10:
> /home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/features.h:382:4:
> #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately,
> uClibc was built without large file support enabled.

The problem seems to be in a busybox config that does not honour the LFS 
correctly as uClibc does here. Could you try disabling the busybox LFS and then 
re-run the toplevel make?

In toplevel .config this should be unset:
CONFIG_LARGEFILE
CONFIG_BUSYBOX_CONFIG_LFS


Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to