On 8 January 2013 15:24, <[email protected]> wrote: > Hi uClibc Team, > > I'm working with uClibc and have problems compiling uCLibc with > _FILE_OFFSET_BITS=64. I've ensured that LFS IS ACTIVATED in .config file but > _FILE_OFFSET_BITS ist hard undefined in file include/features.h:445-446. > Despite of activated LFS _FILE_OFFSET_BITS is not defined during compile of > file e.g. libc/misc/dirent/opendir.c. > > If I force definition of the _FILE_OFFSET_BITS flag in file > include/features.h I get the following error:
This is not how you are supposed to turn on LFS. > > ###################################### > # build uClibc # > ###################################### > make -C lib/uClibc/ -f Makefile please show me that Makefile or the relevant parts of it. Can you try to build uClibc manually, like: $ git clone -q git://git.uClibc.org/uClibc.git /tmp/uClibc $ cd !$ cd /tmp/uClibc $ make CROSS_COMPILE=mips-linux-gnu- ARCH=mips (or however your program prefix looks like) _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
