[oe] angstrom-2008.1, uclibc, perl 5.8.8: error: #error It appears you have defined _FILE_OFFSET_BITS=64.
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Jul 13 15:56:26 UTC 2010
On Tue, Jul 13, 2010 at 03:29:24PM +0200, Paul Menzel wrote:
>Dear OE folks,
>
>
>I tried to build angstrom-2008.1 with the OE dev branch using uclibc.
>
> DISTRO = "angstrom-2008.1"
>
> GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"
>
> MACHINE = "beagleboard"
> BUILD_ARCH = "i686"
> BUILD_OS = "linux"
> ANGSTROMLIBC = "uclibc"
>
>Building perl 5.8.8 I get the following error.
>
> make[1]: Entering directory `/oe/angstrom-dev/work/armv7a-angstrom-linux-uclibceabi/perl-5.8.8-r34/perl-5.8.8'
> `sh cflags "optimize='-O2'" miniperlmain.o` -fPIC miniperlmain.c
> CCCMD = arm-angstrom-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -DPERL_CORE -c -isystem/oe/angstrom-dev/sysroots/armv7a-angstrom-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
> In file included from /oe/angstrom-dev/sysroots/armv7a-angstrom-linux-uclibceabi/usr/include/sys/types.h:27,
> from perl.h:420,
> from miniperlmain.c:36:
> /oe/angstrom-dev/sysroots/armv7a-angstrom-linux-uclibceabi/usr/include/features.h:416:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
from http://repo.or.cz/w/buildroot.git/tree/HEAD:/package/perl
perl-5.8.8-020-largefile.patch
but you might need fixing up the config.sh nevertheless:
http://repo.or.cz/w/buildroot.git/blob/HEAD:/package/perl/perl.mk#l124
Just an idea,
More information about the Openembedded-devel
mailing list