<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#f1f0ef>
<DIV>
<DIV><FONT size=2>I had the same problem on Linux/x86 because I
used:</FONT></DIV>
<DIV><FONT size=2>CFLAGS="-Wall -O4 -fomit-frame-pointer \</FONT></DIV>
<DIV><FONT size=2>-ffast-math -funroll-loops </FONT><FONT
size=2>-fschedule-insns \</FONT></DIV>
<DIV><FONT size=2>-fschedule-insns2 -fexpensive-optimizations"
./configure</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Next time I compiled kaffe without these CFLAGS and everything
was fine.</FONT></DIV></DIV>
<DIV><PRE>---------------------------------------------------------------
ProSyst Bulgaria Ltd. Valentin Valchev
48 Vladajska Str. Project Manager
Sofia 1606, Bulgaria Dept: mBedded Server/Broadband
<A href="http://www.prosyst.com/" target=_blank>http://www.prosyst.com/</A> Phone: +359 (2) 9523581-107
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
</PRE></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=inaba@src.ricoh.co.jp href="mailto:inaba@src.ricoh.co.jp">Kiyo
Inaba</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kaffe@kaffe.org
href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=inaba@src.ricoh.co.jp
href="mailto:inaba@src.ricoh.co.jp">inaba@src.ricoh.co.jp</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> 23 Май 2003 г. 19:36</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [kaffe] CLASSPATH in
BUILD_ENVIRONMENT</DIV>
<DIV><BR></DIV>Hi all,<BR><BR>For 03-05-22 version I downloaded from CVS, and
configured on i386-NetBSD-1.6,<BR>the compilation failed at creating
rt.jar.<BR><BR>The error message
is<BR>CLASSPATH=lib:../../../kaffe-snap-030522/libraries/javalib/Klasses.jar.bootstrap
KAFFELIBRARYPATH=../../libraries/clib/native/:../../libraries/clib/io/:../../libraries/clib/zip/
../../kaffe/kaffe/kaffe-bin kaffe.tools.jar.Jar -cvf rt.jar -C lib gnu java
javax kaffe org<BR>Couldn't find or load essential class `java/lang/Object'
java.lang.NoClassDefFoundError java/lang/Object<BR>gmake[1]: *** [rt.jar]
Abort trap (core dumped)<BR><BR>If I copy some other rt.jar into correct
place, regression test failed.<BR>In this case the error message is<BR>error
compiling:<BR>java.lang.ClassNotFoundException:
at/dms/kjc/Main<BR> at
kaffe.lang.SystemClassLoader.findClass0(SystemClassLoader.java:native)<BR>
at
kaffe.lang.SystemClassLoader.findClass(SystemClassLoader.java:150)<BR>
at
java.lang.ClassLoader.loadClass(ClassLoader.java:149)<BR>
at
java.lang.Class.forName(Class.java:74)<BR>
at java.lang.Class.forName(Class.java:43)<BR>Caused by: <null
cause><BR>FAIL: HelloWorldApp.java<BR><BR>And it looks like modifying
BUILD_ENVIRONMENT (by modifying kaffe/Makefile.am)<BR>may cause this
problem.<BR><BR>Is it NetBSD
specific?<BR><BR>Kiyo<BR><BR><BR>_______________________________________________<BR>kaffe
mailing list<BR><A href="mailto:kaffe@kaffe.org">kaffe@kaffe.org</A><BR><A
href="http://kaffe.org/cgi-bin/mailman/listinfo/kaffe">http://kaffe.org/cgi-bin/mailman/listinfo/kaffe</A><BR></BLOCKQUOTE></BODY></HTML>