[kaffe] kaffe installation

2003-03-28 Thread Eashwar Natarajan
hai everyone, I am new to this group, kaffe jvm and mandrake linux. I have problems in installing kaffe in mandrake linux 9.0 by (steps ./configure, make and make install). i get syntax errors in the make step for ex( O_RDONLY not defined, ... not defined ,...not defined etc). i got these errors in jar.c , ..kaffeh/support.c.
Curiously none of these occur while installing in mandrake linux 8.1. plz help me to solve the problem.
Eashwar.N
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

Re: [kaffe] kaffe installation

2003-03-28 Thread Matthew Tippett
Discovered a similar problem on a MIPS embedded system.  Looking at 
config.log, it looks like it can't find cpp - it is looking in /lib/cpp 
for me.  (Which obviously is wrong).  By any chance are you using gcc-3.2?

The workaround that I did was add a symbolic link from /usr/bin/cpp to 
/lib/cpp and pass the --with-includes=/usr/include.  That built.  You 
may find that the output ./configure has lots of

	checking for stdio.h... no

Type messages, that is the problem that I had.

Regards,

Matthew

Eashwar Natarajan wrote:
hai everyone,
 
   I am new to this group, kaffe jvm and mandrake linux. I have problems 
in installing kaffe in mandrake linux 9.0 by (steps ./configure, make 
and make install). i get syntax errors in the make step for ex( O_RDONLY 
not defined, ... not defined ,...not defined etc).  i got these errors 
in jar.c , ..kaffeh/support.c.

 Curiously none of these occur while installing in mandrake linux 8.1. 
plz help me to solve the problem.

Eashwar.N

 


Do you Yahoo!?
Yahoo! Platinum 
http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html 
- Watch CBS' NCAA March Madness, live on your desktop 
http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html! 



___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Bug [CVS version]: Calling non-implemented method in abstract class

2003-03-28 Thread Benja Fallenstein
Hi all,

The following code:

--- snip ---
public class Bug {
interface Interface {
void foo();
}
static abstract class Abstract implements Interface {
public void bug() { foo(); }
}
static class Impl extends Abstract {
public void foo() {}
}
public static void main(String[] args) {
new Impl().bug();
}
}
--- snip ---
gives me the following error:

[EMAIL PROTECTED]:~/ff/fenfire$ /usr/local/kaffe/bin/kaffe -cp build Bug
java.lang.NoSuchMethodError: Bug$Abstract.foo()V
at Bug$Abstract.bug(source file unknown:line unknown, pc 0x81ff788)
at Bug.main(source file unknown:line unknown, pc 0x8220661)
My Kaffe version (compiled from CVS, on Debian / x86):

Engine: Just-in-time v3   Version: 1.1.x-cvs   Java Version: 1.1

Apparently, Kaffe doesn't like when an abstract class calls a method 
from an interface the abstract class implements, if the abstract class 
does not implement that method itself.

Thanks,
- Benja
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Bug [CVS version]: Calling non-implemented method in abstract class

2003-03-28 Thread Timothy Stack
 Hi all,

hi,

 The following code:
 
 --- snip ---
 
 gives me the following error:
 
 [EMAIL PROTECTED]:~/ff/fenfire$ /usr/local/kaffe/bin/kaffe -cp build Bug
 java.lang.NoSuchMethodError: Bug$Abstract.foo()V
  at Bug$Abstract.bug(source file unknown:line unknown, pc 0x81ff788)
  at Bug.main(source file unknown:line unknown, pc 0x8220661)
 
 My Kaffe version (compiled from CVS, on Debian / x86):
 
  Engine: Just-in-time v3   Version: 1.1.x-cvs   Java Version: 1.1
 
 Apparently, Kaffe doesn't like when an abstract class calls a method 
 from an interface the abstract class implements, if the abstract class 
 does not implement that method itself.

Yeah, I ran into this a little while ago and fixed it in the JanosVM.  Its 
actually because of a change in jikes, which is legal, but not handled 
correctly in Kaffe.  I'll see about porting over the JanosVM fix in a bit.

 Thanks,
 - Benja

thanks,

tim stack

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Bug [CVS version]: Calling non-implemented method inabstract class

2003-03-28 Thread Benja Fallenstein
Hi Tim,

Timothy Stack wrote:
Yeah, I ran into this a little while ago and fixed it in the JanosVM.  Its 
actually because of a change in jikes, which is legal, but not handled 
correctly in Kaffe.
Actually, AFAIK this was compiled not with jikes, but the javac in Sun's 
1.4 (invoked through ant). Hope it's still the same bug ;-)

 I'll see about porting over the JanosVM fix in a bit.
Thank you!
- Benja
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe