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

compilation problems



Hi,

Compilation of OSKit fails on my debian linux 2.2 system. I get the
following error message:

gcc -c -o sbrk-hack.o -DOSKIT -DNATIVE_HAVE_D_INO -MD -DHAVE_CONFIG_H -DOSKIT_X86 -DOSKIT_X86_PC -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):/data/wouter/oskit-20010214/unix/../unix/linux/sbrk-hack.c: first defined here
make[1]: *** [nativecalls.o] Error 1
make[1]: Leaving directory `/data/wouter/oskit-20010214/unix'
make: *** [unix/all.MAKE] Error 2
Exit 2

A nm /usr/lib/libc.a|grep __libc_multiple_libcs has the following output:

00000000 D __libc_multiple_libcs
         U __libc_multiple_libcs
         U __libc_multiple_libcs
         U __libc_multiple_libcs

The version of the glibc package is libc6-2.2.2-4.

Wouter
-- 
The Universe, including this message, may one day collapse back into an
infinitesimally small space. Should another universe subsequently re-emerge,
the existence of this message in that universe cannot be guaranteed.

Follow-Ups: