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

Re: compile error



There are some bugs in the OSKit/unix support magic on recent versions
of Linux.  See this message:
	http://www.cs.utah.edu/flux/lists/archs/oskit-users-2001/msg00093.html
for patches that will fix the problem.

-Pat

Abdul Basit wrote:
> Hey 
> 
> While compiling oskit - 20010214 
> i got the following error
> 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
> /lib/libc.a(init-first.o): In function `init':
> /compiles/glibc-2.2.1/csu/../sysdeps/unix/sysv/linux/init-first.c:58: multiple
> definition of `__libc_multiple_libcs'
> sbrk-hack.o(.data+0x0):/compiles/oskit-20010214/unix/../unix/linux/sbrk-hack.c: first
> defined here
> make[1]: *** [nativecalls.o] Error 1
> make[1]: Leaving directory `/compiles/oskit-20010214/unix'
> make: *** [unix/all.MAKE] Error 2
> 
> I am using gcc 2.95.3
> and 2.4.3 kernel and glibc 2.2.2
> 
> thanks
> basit

Follow-Ups: References: