[kaffe] Re: kaffe digest, Vol 1 #734 - 10 msgs

Syed Mudasir ahmed mudasir_1975 at yahoo.com
Thu Oct 30 09:16:02 PST 2003


what does this mean
kaffe-bin -classpath /mnt/cf/kaffe/lib/kjc.jar hello

Could not initialize Kaffe.
Your rt.jar version is 1.05, but this VM was compiled
with version 101.00

The current effective classpath is
`/mnt/cf/kaffe/jre/lib/rt.jar:/mnt/cf/kaffe/lib/kjc.jar:/mnt/cf/kaffe/share/kaffe:/mnt/cf/kaffe/lib/kjc.jar'

how do i compile the rt.jar to over come this problem

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 small compiler
> warning on powerpc-darwin (Kaffe CVS)
>    2. Re: kaffe digest, Vol 1 #733 - 3 msgs (Syed
> Mudasir ahmed)
>    3. Re: Bug Report: multiple sockets can't bind to
> same multicast
>        address (Guilhem Lavaux)
>    4. CVS kaffe (guilhem): MulticastSocket fixes +
> DatagramSocket fixes (related to InetAddress) (Kaffe
> CVS)
>    5. CVS kaffe (guilhem): ** empty log message ***
> (Kaffe CVS)
>    6. CVS kaffe (dalibor): Removed unused field to
> fix a compiler warning on powerpc-darwin (Kaffe CVS)
>    7. question about characters set.
> (=?iso-8859-1?q?jsona=20laio?=)
>    8. problems with kaffe-1.1.2 + ant-1.5.4 (Juan
> Antonio Martinez)
>    9. javalib segfault when compiling (Hakon Gunsen)
> 
> --__--__--
> 
> 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 06:55:56 -0800
> Subject: [kaffe] CVS kaffe (dalibor): Fixed small
> compiler warning on powerpc-darwin
> 
> PatchSet 4139 
> Date: 2003/10/30 14:53:56
> Author: dalibor
> Branch: HEAD
> Tag: (none) 
> Log:
> Fixed small compiler warning on powerpc-darwin
> 
> Members: 
> 	ChangeLog:1.1731->1.1732 
> 	libraries/clib/io/AudioPlayer.c:1.12->1.13 
> 
> Index: kaffe/ChangeLog
> diff -u kaffe/ChangeLog:1.1731
> kaffe/ChangeLog:1.1732
> --- kaffe/ChangeLog:1.1731	Thu Oct 30 08:16:02 2003
> +++ kaffe/ChangeLog	Thu Oct 30 14:53:56 2003
> @@ -1,5 +1,12 @@
>  2003-10-30  Dalibor Topic <robilad at kaffe.org>
>  
> +	* libraries/clib/io/AudioPlayer.c:
> +	(kaffe_applet_AudioPlayer_playFile) Changed bRead
> +	type to ssize_t to fix compiler warning on
> +	powerpc-darwin.
> +
> +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
> Index: kaffe/libraries/clib/io/AudioPlayer.c
> diff -u kaffe/libraries/clib/io/AudioPlayer.c:1.12
> kaffe/libraries/clib/io/AudioPlayer.c:1.13
> --- kaffe/libraries/clib/io/AudioPlayer.c:1.12	Wed
> Jan 19 10:59:19 2000
> +++ kaffe/libraries/clib/io/AudioPlayer.c	Thu Oct 30
> 14:53:58 2003
> @@ -24,7 +24,7 @@
>  	char    fName[MAXPATHLEN];
>  	int     bLen = 1024;
>  	int     fin, dev, rc;
> -	size_t	bRead;
> +	ssize_t	bRead;
>  	void	*buf;
>  
>  	buf = KMALLOC( bLen);
> @@ -46,7 +46,7 @@
>  		SignalError("java.io.IOException",
> SYS_ERROR(rc));
>  	}
>  
> -	while ( (KREAD( fin, buf, bLen, &bRead ) == 0) &&
> ((ssize_t)bRead > 0)) {
> +	while ( (KREAD( fin, buf, bLen, &bRead ) == 0) &&
> (bRead > 0)) {
>  		ssize_t bWritten;
>  		KWRITE( dev, buf, bRead, &bWritten );	/* XXX
> check error */
>  	}
> 
> 
> --__--__--
> 
> Message: 2
> Date: Thu, 30 Oct 2003 07:22:55 -0800 (PST)
> From: Syed Mudasir ahmed <mudasir_1975 at yahoo.com>
> To: kaffe at kaffe.org
> Subject: [kaffe] Re: kaffe digest, Vol 1 #733 - 3
> msgs
> 
> 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
> 
=== message truncated ===


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




More information about the kaffe mailing list