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.
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/stdio.h:72,
                 from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h:72:2:
#error Sorry... uClibc was built without large file support!
In file included from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/stdio.h:83:
error: syntax error before "fpos_t"
In file included from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/stdio.h:705:
error: syntax error before "fpos_t"
/home/steven/src/openwrt/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/stdio.h:707:
error: syntax error before '*' token
make[5]: *** [applets/applets.o] Error 1
make[4]: *** [applets] Error 2
make[4]: Leaving directory
`/home/steven/src/openwrt/build_dir/mipsel/busybox-1.8.2'
make[3]: ***
[/home/steven/src/openwrt/build_dir/mipsel/busybox-1.8.2/.built] Error 2
make[3]: Leaving directory `/home/steven/src/openwrt/package/busybox'
make[2]: *** [package/busybox/compile] Error 2
make[2]: Leaving directory `/home/steven/src/openwrt'
make[1]: ***
[/home/steven/src/openwrt/staging_dir/mipsel/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/steven/src/openwrt'
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to