[uClibc]compiling perl

Claus Rosenberger Claus.Rosenberger at rocnet.de
Mon Mar 10 16:23:56 UTC 2003


There is a error while compiling perl in a buildroot sandbox.

cc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O3   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I../../.."  
Langinfo.c
In file included from Langinfo.xs:9:
const-c.inc: In function `constant_5':
const-c.inc:197: `NOSTR' undeclared (first use in this function)
const-c.inc:197: (Each undeclared identifier is reported only once
const-c.inc:197: for each function it appears in.)
const-c.inc: In function `constant_6':
const-c.inc:301: `YESSTR' undeclared (first use in this function)
make[1]: *** [Langinfo.o] Error 1
make[1]: Leaving directory `/usr/local/src/perl-5.8.0/ext/I18N/Langinfo'
make: *** [lib/auto/I18N/Langinfo/Langinfo.so] Error 2

in langinfo.h is NOSTR and YESSTR defined.







More information about the uClibc mailing list