Hi
Are there any reported solutions for compiling the oskit1.0 that comes with l4 with installed glibc 2.2.4 or newer?
On my machine (Debian "sid", gcc 2.95.4) it throw a linker error while linking unix/linux/sbrk-hack.o together with libc.a because duplicate symbol __libc_multiple_libcs. The sbrk-hack's only purpose seems to be defining these global variable (as an int). Maybe this was an error in libc and got fixed in 2.2.4?
However when I compiled under glibc 2.1.3-10 (and gcc 2.95.2) it works...
Are there any reported solutions for compiling the oskit1.0 that comes with l4 with installed glibc 2.2.4 or newer?
On my machine (Debian "sid", gcc 2.95.4) it throw a linker error while linking unix/linux/sbrk-hack.o together with libc.a because duplicate symbol __libc_multiple_libcs. The sbrk-hack's only purpose seems to be defining these global variable (as an int). Maybe this was an error in libc and got fixed in 2.2.4?
However when I compiled under glibc 2.1.3-10 (and gcc 2.95.2) it works...
I found I was able to get things to work correctly if I compiled the Oskit part of the source individually, before running the global Makefile. Since that worked, I didn't delve into the mechanics of why.
-- Ian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ian Duggan ian@ianduggan.net http://www.ianduggan.net
On Thu, Jan 17, 2002 at 02:00:32AM -0800, Ian Duggan wrote:
However when I compiled under glibc 2.1.3-10 (and gcc 2.95.2) it works...
I found I was able to get things to work correctly if I compiled the Oskit part of the source individually, before running the global Makefile. Since that worked, I didn't delve into the mechanics of why.
Hm. The first thing I do is a "cd oskit10 && configure --prefix /home/drops && make", so I think I did the same like you... but with problems ;)
Simple commenting the sbrk-hack.c will not work (I tried it today).
On Wed, Jan 16, 2002 at 09:10:31PM +0100, imi@inf.tu-dresden.de wrote:
Hi
Are there any reported solutions for compiling the oskit1.0 that comes with l4 with installed glibc 2.2.4 or newer?
On my machine (Debian "sid", gcc 2.95.4) it throw a linker error while linking unix/linux/sbrk-hack.o together with libc.a because duplicate symbol __libc_multiple_libcs. The sbrk-hack's only purpose seems to be defining these global variable (as an int). Maybe this was an error in libc and got fixed in 2.2.4?
The fix is described here: ftp://flux.cs.utah.edu/flux/oskit/mail/html/oskit-users/msg01052.html
Jeroen Dekkers
l4-hackers@os.inf.tu-dresden.de