[kaffe] Re: kaffe digest, Vol 1 #733 - 3 msgs

Syed Mudasir ahmed mudasir_1975 at yahoo.com
Thu Oct 30 07:27:02 PST 2003


hi,
  i have set the path for 
CLASSPATH=/mnt/cf/kaffe/jre/lib/rt.jar
LD_LIBRARY_PATH=/mnt/cf/kaffe/lib:/mnt/cf/kaffe/jre/lib/powerpc/lib
when i execute the 
./kaffe-bin hello
IT GIVE THE FOLLOWING ERROR
Failed to locate native library "libnative" in path:

Aborting.

even after setting the CLASSPATH,LD_LIBRARY_PATH it
fails

i checked in ../jre/poweprpc/lib/libnative-1.1.1.so
is there but it still aborts

what is cod be the problem

thanks
Syed Mudasir Ahmed
--- kaffe-request at kaffe.org wrote:
> Send kaffe mailing list submissions to
> 	kaffe at kaffe.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> or, via email, send a message with subject or body
> 'help' to
> 	kaffe-request at kaffe.org
> 
> You can reach the person managing the list at
> 	kaffe-admin at kaffe.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kaffe digest..."
> 
> 
> Today's Topics:
> 
>    1. CVS kaffe (dalibor): Fixed compilation under
> powerpc-darwin (Kaffe CVS)
>    2. Re: Resynced with GNU Classpath (Mark
> Wielaard)
>    3. Re: Revisiting the class library build system
> (Dalibor Topic)
> 
> --__--__--
> 
> Message: 1
> From: Kaffe CVS <cvs-commits at kaffe.org>
> To: kaffe at kaffe.org
> Reply-To: Kaffe Mailing List <kaffe at kaffe.org>
> Date: Thu, 30 Oct 2003 00:17:58 -0800
> Subject: [kaffe] CVS kaffe (dalibor): Fixed
> compilation under powerpc-darwin
> 
> PatchSet 4138 
> Date: 2003/10/30 08:16:02
> Author: dalibor
> Branch: HEAD
> Tag: (none) 
> Log:
> Fixed compilation under powerpc-darwin
> 
> Build still breaks during class library compile,
> though
> 
> Members: 
> 	ChangeLog:1.1730->1.1731 
> 
>
libraries/clib/net/PlainDatagramSocketImpl.c:1.31->1.32
> 
> 	libraries/clib/net/PlainSocketImpl.c:1.34->1.35 
> 
> Index: kaffe/ChangeLog
> diff -u kaffe/ChangeLog:1.1730
> kaffe/ChangeLog:1.1731
> --- kaffe/ChangeLog:1.1730	Wed Oct 29 20:15:43 2003
> +++ kaffe/ChangeLog	Thu Oct 30 08:16:02 2003
> @@ -1,3 +1,10 @@
> +2003-10-30  Dalibor Topic <robilad at kaffe.org>
> +
> +	* libraries/clib/net/PlainSocketImpl.c,
> +	libraries/clib/net/PlainDatagramSocketImpl.c:
> +	(ip62str) Use s6_addr to access bytes in address
> +	struct. Fixes compilation on powerpc-darwin.
> +	
>  2003-10-29  Dalibor Topic <robilad at kaffe.org>
>  
>  	* libraries/javalib/essential.files:
> Index:
> kaffe/libraries/clib/net/PlainDatagramSocketImpl.c
> diff -u
>
kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.31
>
kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.32
> ---
>
kaffe/libraries/clib/net/PlainDatagramSocketImpl.c:1.31
> Tue Oct 28 12:29:32 2003
> +++
> kaffe/libraries/clib/net/PlainDatagramSocketImpl.c
> Thu Oct 30 08:16:05 2003
> @@ -96,15 +96,15 @@
>  	for (count=0,i=0;i<16;i++) {
>  	    char *format;
>  	    
> -	    if (i == 0 && addr->in6_u.u6_addr8[i] != 0)
> +	    if (i == 0 && addr->s6_addr[i] != 0)
>  	      format = "%x";
> -	    else if (addr->in6_u.u6_addr8[i] != 0)
> +	    else if (addr->s6_addr[i] != 0)
>  	      format = "%x:";
>  	    else if (i != 0)
>  	      format = ":";
>  	    else
>  	      format = "";
> -	    count += sprintf(&addrbuf[count], format,
> addr->in6_u.u6_addr8[i]);
> +	    count += sprintf(&addrbuf[count], format,
> addr->s6_addr[i]);
>  	}
>  	return addrbuf;
>  }
> Index: kaffe/libraries/clib/net/PlainSocketImpl.c
> diff -u
> kaffe/libraries/clib/net/PlainSocketImpl.c:1.34
> kaffe/libraries/clib/net/PlainSocketImpl.c:1.35
> --- kaffe/libraries/clib/net/PlainSocketImpl.c:1.34
> Tue Oct 28 12:29:32 2003
> +++ kaffe/libraries/clib/net/PlainSocketImpl.c	Thu
> Oct 30 08:16:05 2003
> @@ -114,15 +114,15 @@
>  	for (count=0,i=0;i<16;i++) {
>  	    char *format;
>  	    
> -	    if (i == 0 && addr->in6_u.u6_addr8[i] != 0)
> +	    if (i == 0 && addr->s6_addr[i] != 0)
>  	      format = "%x";
> -	    else if (addr->in6_u.u6_addr8[i] != 0)
> +	    else if (addr->s6_addr[i] != 0)
>  	      format = "%x:";
>  	    else if (i != 0)
>  	      format = ":";
>  	    else
>  	      format = "";
> -	    count += sprintf(&addrbuf[count], format,
> addr->in6_u.u6_addr8[i]);
> +	    count += sprintf(&addrbuf[count], format,
> addr->s6_addr[i]);
>  	}
>  	return addrbuf;
>  }
> 
> 
> --__--__--
> 
> Message: 2
> From: Mark Wielaard <mark at klomp.org>
> To: Kaffe Mailing List <kaffe at kaffe.org>
> Date: Thu, 30 Oct 2003 13:40:52 +0100
> Subject: [kaffe] Re: Resynced with GNU Classpath
> 
> 
> --=-AGEAnAJNkDy+XTZyR0Si
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> Hi,
> 
> On Sat, 2003-10-25 at 20:32, Kaffe CVS wrote:
> > Log:
> > Resynced with GNU Classpath
> >=20
> > Members:=20
> > 	ChangeLog:1.1716->1.1717=20
> > 
>
libraries/javalib/gnu/java/nio/FileLockImpl.java:1.1->1.2=20
> > [...]
> > 
>
libraries/javalib/javax/naming/spi/NamingManager.java:1.4->1.5=20
> >=20
> > Index: kaffe/ChangeLog
> > diff -u kaffe/ChangeLog:1.1716
> kaffe/ChangeLog:1.1717
> > --- kaffe/ChangeLog:1.1716	Sat Oct 25 12:52:41
> 2003
> > +++ kaffe/ChangeLog	Sat Oct 25 18:30:20 2003
> > @@ -1,3 +1,25 @@
> > +2003-10-25  Dalibor Topic <robilad at kaffe.org>
> > +
> > +	*
> libraries/javalib/gnu/java/nio/FileLockImpl.java,
> > [...]
> > +       
>
libraries/javalib/javax/naming/spi/NamingManager.java:
> > +	Resynced with GNU Classpath.
> 
> If possible then having the actual ChangeLog entries
> from the Classpath
> ChangeLog file would be nice to have. That makes it
> much more easy to
> see exactly which changes did and didn't go into
> Kaffe from Classpath.
> Or any other method to quickly see exactly which
> version/date these
> files are from would help track differences in the
> code base.
> 
> Cheeers,
> 
> Mark
> 
> --=-AGEAnAJNkDy+XTZyR0Si
> Content-Type: application/pgp-signature;
> name=signature.asc
> Content-Description: This is a digitally signed
> message part
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




More information about the kaffe mailing list