Hi uCLibc Team,

[Please keep me on CC:, I'm not subscribed]

I'm working with uClibc and have problems to compile uCLibc with 
_FILE_OFFSET_BITS=64. LFS is activated but _FILE_OFFSET_BITS ist hard undefined 
in file include/features.h:447. If I force definition of the flag I get the 
following error:

######################################
# build uClibc                       #
######################################
make -C lib/uClibc/ -f Makefile
make[1]: Entering directory `/a/bcm-uclinux-rootfs/lib/uClibc'
make[2]: Nothing to be done for `locale_headers'.
  CC libc/sysdeps/linux/mips/mmap.os
In file included from libc/sysdeps/linux/mips/mmap.c:10:0:
./include/sys/mman.h:62:9: error: macro names must be identifiers
libc/sysdeps/linux/mips/mmap.c:24:1: error: conflicting types for 'mmap64'
./include/sys/mman.h:72:14: note: previous declaration of 'mmap64' was here
libc/sysdeps/linux/mips/mmap.c: In function 'mmap64':
libc/sysdeps/linux/mips/mmap.c:25:1: error: '__NR_mmap64' undeclared (first use 
in this function)
libc/sysdeps/linux/mips/mmap.c:25:1: note: each undeclared identifier is 
reported only once for each function it appears in
libc/sysdeps/linux/mips/mmap.c: At top level:
libc/sysdeps/linux/mips/mmap.c:26:1: error: '__EI_mmap64' aliased to undefined 
symbol '__GI_mmap64'
libc/sysdeps/linux/mips/mmap.c:26:1: error: '__EI_mmap64' aliased to undefined 
symbol '__GI_mmap64'
make[1]: *** [libc/sysdeps/linux/mips/mmap.os] Error 1
make[1]: Leaving directory `/a/bcm-uclinux-rootfs/lib/uClibc'
make: *** [build-uClibc] Fehler 2

Tool chain:

-uClibc-9.32.1
-Broadcom: stbgcc-4.5.3-2.4
-mipsel

Is it possible to build the library with large file support (especially 
_FILE_OFFSET_BITS=64)? Do You have any suggestion?

Thanks and best regards
Martin

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to