[uClibc]util-linux-2.11u build problems

karabo karabo at rrsg.ee.uct.ac.za
Wed Nov 27 08:08:56 UTC 2002


Hi.

I have been trying to build util-linux-2.11u against uClibc 0.9.14 with gcc version 2.95.4


i get the following errors:

........................
/tmp/ccGYgHXn.o: In function `main':

/tmp/ccGYgHXn.o(.text+0x4c): the 'setlocale' function supports only C|POSIX loca

les

/usr/i386-linux-uclibc/bin/i386-uclibc-gcc -O -pipe -O2 -m486 -fomit-frame-point

er -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -D_FILE_OFFSET_BITS

=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPA

TH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -s mkswap.c -o mkswap

/tmp/ccaR44jf.o: In function `main':

/tmp/ccaR44jf.o(.text+0x622): the 'setlocale' function supports only C|POSIX loc

ales

/tmp/ccaR44jf.o: In function `check_blocks':

/tmp/ccaR44jf.o(.text+0x393): undefined reference to `lseek64'

/tmp/ccaR44jf.o: In function `valid_offset':

/tmp/ccaR44jf.o(.text+0x453): undefined reference to `lseek64'

/tmp/ccaR44jf.o: In function `get_size':

/tmp/ccaR44jf.o(.text+0x510): undefined reference to `open64'

/tmp/ccaR44jf.o: In function `main':

/tmp/ccaR44jf.o(.text+0x988): undefined reference to `open64'

/tmp/ccaR44jf.o(.text+0x9a0): undefined reference to `__fxstat64'

/tmp/ccaR44jf.o(.text+0xb0e): undefined reference to `lseek64'

collect2: ld returned 1 exit status

make[1]: *** [mkswap] Error 1

make[1]: Leaving directory `/root/Development/util-linux-2.11n/disk-utils'

make: *** [all] Error 1



it looks  like the problem is with the setlocale support under uClibc. i did not set the "setlocale"  option in the Config file for uClibc as I understand uClibc does not support it very well.

Is there something I am doing wrong or should I just upgrade to a newer version of uClibc.

Regards

karabo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20021127/7bd7ecb5/attachment-0001.htm 


More information about the uClibc mailing list