[Prev][Next][Index][Thread]

glibc problem?



I get the following when compiling on a linux.2.4.18, glibc 2.2.5

gcc -c -o sbrk-hack.o -DOSKIT -D_GNU_SOURCE -DNATIVE_HAVE_D_INO -MD
-DHAVE_CONFIG_H -DOSKIT_X86 -DOSKIT_X86_PC -DINDIRECT_OSENV=1 -I.
-I../unix -I../unix/linux -I../unix/elf -I- -I.. -I.. -Wall
-fno-strict-aliasing -O2 -g  ../unix/linux/sbrk-hack.c
ld -dc -static -r -L/lib -L/usr/lib -o nativecalls.o `sed 's/^/-u /'
native_syms` \
       sbrk-hack.o -lc
/usr/lib/libc.a(init-first.o)(.data+0x0): multiple definition of
`__libc_multiple_libcs'
sbrk-hack.o(.data+0x0):/home/math/oskit-20020317/unix/../unix/linux/sbrk
-hack.c: first defined here
make[1]: *** [nativecalls.o] Error 1
make[1]: Leaving directory `/home/math/oskit-20020317/unix'
make: *** [unix/all.MAKE] Error 2

Any of ya encountred the same thing, got a fix, workaround?

Math
Math@rootservices.net

PS: Im subscribed to the list, so no need to CC to me