Unable to build uClibc with _FILE_OFFSET_BITS=64
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Jan 9 09:05:14 UTC 2013
On 8 January 2013 15:24, <mail-an-mw123 at gmx.de> 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)
More information about the uClibc
mailing list