FW: [kaffe] segmentation fault in LIBRARYLOAD

Sanjeev Manral sanjeevm at sanyo.co.in
Tue Nov 12 05:01:31 PST 2002


hi,


I've corrected LD and built static vm also but it is still giving the same
error
it is trying to load /usr/local/crossppc/kaffe/jre/lib/powerpc/libnative.la
 and segmentation fault

I'm totally stuck.

Thanks and  Regards,
sanjeev







-----Original Message-----
From: Dalibor Topic [mailto:robilad at yahoo.com]
Sent: Tuesday, November 12, 2002 2:50 PM
To: Sanjeev Manral; kaffe at kaffe.org
Subject: Re: FW: [kaffe] segmentation fault in LIBRARYLOAD



--- Sanjeev Manral <sanjeevm at sanyo.co.in> wrote:
> I've configure it --prefix=/usr/local/crossppc
> 
> I've complied with-
> 
> 
> export
>
KAFFEH=/second_disk/iapr/x86/java/kaffe/kaffe-1.0.7/kaffe/kaffeh/kaffeh
> 
> CC=ppc_405-gcc AS=ppc_405-as LS=ppc_405-ld
> AR=ppc_405-ar CPP=ppc_405-g++
> STRIP=ppc_405-strip RANLIB=ppc_405-ranlib
> CFLAGS=-msoft-float ./configure
> --without-x --without-awt
> --prefix=/usr/local/crossppc/kaffe
> --host=powerpc-linux --target=powerpc-linux
>
--with-includes=/opt/harhat/devkit/ppc/405/target/usr/include
> --with-thread=unix-pthreads --with-engine=intrp
> --enable-debug


Your linker setting is wrong. It should be LD not LS. 

You might also want to try statically compiling
everything, as in --with-staticvm --with-staticlib
--with-staticbin, or --disable-shared. See
FAQ/FAQ.libtool for more info.

best regards,

dalibor topic

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2




More information about the kaffe mailing list