[kaffe] CLASSPATH in BUILD_ENVIRONMENT

Valentin Valchev v_valchev at prosyst.bg
Fri May 23 10:10:01 PDT 2003


I had the same problem on Linux/x86 because I used:
CFLAGS="-Wall -O4 -fomit-frame-pointer \
-ffast-math -funroll-loops -fschedule-insns \
-fschedule-insns2 -fexpensive-optimizations" ./configure

Next time I compiled kaffe without these CFLAGS and everything was fine.
---------------------------------------------------------------
ProSyst Bulgaria Ltd.            Valentin Valchev
48 Vladajska Str.                Project Manager
Sofia 1606, Bulgaria             Dept: mBedded Server/Broadband
http://www.prosyst.com/          Phone: +359 (2) 9523581-107
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
----- Original Message ----- 
  From: Kiyo Inaba 
  To: kaffe at kaffe.org 
  Cc: inaba at src.ricoh.co.jp 
  Sent: 23 Май 2003 г. 19:36
  Subject: [kaffe] CLASSPATH in BUILD_ENVIRONMENT


  Hi all,

  For 03-05-22 version I downloaded from CVS, and configured on i386-NetBSD-1.6,
  the compilation failed at creating rt.jar.

  The error message is
  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
  Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object
  gmake[1]: *** [rt.jar] Abort trap (core dumped)

  If I copy some other rt.jar into correct place, regression test failed.
  In this case the error message is
  error compiling:
  java.lang.ClassNotFoundException: at/dms/kjc/Main
          at kaffe.lang.SystemClassLoader.findClass0(SystemClassLoader.java:native)
          at kaffe.lang.SystemClassLoader.findClass(SystemClassLoader.java:150)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:149)
          at java.lang.Class.forName(Class.java:74)
          at java.lang.Class.forName(Class.java:43)
  Caused by: <null cause>
  FAIL: HelloWorldApp.java

  And it looks like modifying BUILD_ENVIRONMENT (by modifying kaffe/Makefile.am)
  may cause this problem.

  Is it NetBSD specific?

  Kiyo


  _______________________________________________
  kaffe mailing list
  kaffe at kaffe.org
  http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20030523/1c5862aa/attachment-0007.htm 


More information about the kaffe mailing list