[Prev][Next][Index][Thread]
Re: Build on Linux/Redhat...
> I'm trying to build the OSkit/Kaffe combo under Linux 2.2.*/RedHat
> 6.*. I followed the build directions in config/i386/oskit/README but
> during step 3 I get an error when trying to build the Kaffe executable
> (see below).
I assume you're using the Kaffe1.0.5b snapshot from the directory
names. Is that right, or are you using the CVS version?
Looks like you're doing everything right. Could you send me the
linker map file (just send it directly to me --- its quite big).
The best way to generate the map is ... uh... cut+paste:
$ cd /home/astley/projects/kaffe-1.0.5/kaffe/kaffe
$ /home/astley/projects/kaffe-1.0.5/config/i386/oskit/ld-oskit.sh --oskit=/home/astley/install/oskit-19991124 -g -O2 -Wall -Wstrict-prototypes -o Kaffe main.o .libs/KaffeS.o ../../libraries/clib/native/.libs/libnative.a -L/usr/local/lib ../../libraries/clib/net/.libs/libnet.a ../../libraries/clib/io/.libs/libio.a ../../libraries/clib/zip/.libs/libzip.a ../../libraries/clib/math/.libs/libmath.a ../../libraries/clib/management/.libs/libmanagement.a ../../libraries/clib/security/.libs/libsecurity.a ../../libraries/extensions/microsoft/clib/.libs/libmicrosoft.a ../kaffevm/.libs/libkaffevm.a -lgcc -L/usr/local/lib -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,-Map,linkermap
(I added -Wl,-Map,linkermap on the end there. It should generate a
big file called 'linkermap'.) The linker map should tell me why the
liboskit_freebsd_c_r sigaction file is being pulled in, when all the
signal ops are supposed to be taken care of by liboskit_threads.
-Pat
----- ----- ---- --- --- -- - - - - -
Pat Tullmann tullmann@cs.utah.edu
Your research fills a much needed gap.
References: