[kaffe] Problems with UnsatisfiedLinkError
Dalibor Topic
robilad@kaffe.org
Mon Jul 28 01:57:01 2003
Hi ?,
Cray Kaffe wrote:
> Hi,
>
> I am porting Kaffe on Cray SV1.
you seem to be part of a large team ;)
> when I run:
> ./kaffe HelloWorld
>
> I get following errors:
>
> Call: java/lang/Class.forName(Ljava/lang/String;)Ljava/lang/Class;
> Call: java/lang/Object.getClass()Ljava/lang/Class;.
> Call to native java/lang/Object.getClass()Ljava/lang/Class;.
> Call: java/lang/UnsatisfiedLinkError.<init>(Ljava/lang/String;)V.
> Call: java/lang/LinkageError.<init>(Ljava/lang/String;)V.
> Call: java/lang/Error.<init>(Ljava/lang/String;)V
>
> problem seems related to searching Shared Library.
> Can anyone suggest a way out ?
for a fresh port, I'd recommend starting with the static build. Shared
library support usually depends on how well libtool supports it under
your platform. Take a look at
http://www.kaffe.org/cgi-bin/viewcvs.cgi/*checkout*/kaffe/FAQ/FAQ.libtool?rev=HEAD
for more information on available options. I'd recommend --with-staticvm
--with-staticlib for a start.
cheers,
dalibor topic