[uClibc]util-linux-2.11u and uClibc-0.9.15 compile problems

bgb at itcnv.com bgb at itcnv.com
Tue Sep 10 15:36:01 UTC 2002


Whenever I try to compile util-linux-2.11u with uClibc 0.9.15/gcc 2.95.3 I 
get: 

....
cytune.o: In function `main':
cytune.o(.text+0x13d): the 'setlocale' function supports only C|POSIX 
locales
cc -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall  -Wstrict-prototypes 
 -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" 
 -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" 
 -DLOCALEDIR=\"/usr/share/locale\" -s -Os -march=i686 -pipe 
 -fomit-frame-pointer -c ipcrm.c -o ipcrm.o
cc -s  ipcrm.o   -o ipcrm
ipcrm.o: In function `main':
ipcrm.o(.text+0x2ab): the 'setlocale' function supports only C|POSIX locales
cc -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall  -Wstrict-prototypes 
 -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" 
 -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" 
 -DLOCALEDIR=\"/usr/share/locale\" -s -Os -march=i686 -pipe 
 -fomit-frame-pointer -c ipcs.c -o ipcs.o
ipcs.c: In function `do_shm':
ipcs.c:358: structure has no member named `__key'
ipcs.c: In function `do_sem':
ipcs.c:463: structure has no member named `__key'
ipcs.c: In function `do_msg':
ipcs.c:572: structure has no member named `__key'
ipcs.c:585: structure has no member named `__msg_cbytes'
ipcs.c: In function `print_msg':
ipcs.c:641: structure has no member named `__msg_cbytes'
make[1]: *** [ipcs.o] Error 1
make[1]: Leaving directory `/usr/src/util-linux-2.11u/sys-utils'
make: *** [all] Error 1 

 ----------
Any ideas on what I'm doing wrong? 

Thanks 

Brian.



More information about the uClibc mailing list