I'm building kaffe from cvs, using autotools 2.52,
and configuring in a separate directory.
Unfortunately, 'make' bombs out when rebuilding
the libraries; every file fails with errors like
gnu/java/util/EmptyEnumeration.java:54: error:Syntax error: found 'public'

I can reproduce it by hand by
cd'ing to the libraries/javalib directory and
running
sh ./rebuildLib gnu/java/util/EmptyEnumeration.java
This worked with kaffe-1.0.7, I think...
has anyone else seen this?

Thanks,
Dan

p.s. here's an example trace from rebuildLib:

+ CLASSPATH=./Klasses.jar.bootstrap::.:/home/dank/wk/ixos/dap/linux/3rdParty/kaffe/i686-pc-linux-gnu/libraries/javalib/rt.jar:/home/dank/wk/ixos/dap/linux/3rdParty/kaffe/kaffe-20021226/libraries/javalib/kjc.jar:/home/dank/wk/ixos/dap/linux/3rdParty/kaffe/i686-pc-linux-gnu/libraries/javalib/lib
+ export CLASSPATH
+ cd ../../../kaffe-20021226/libraries/javalib
+ echo 'Compiling classes ...'
Compiling classes ...
+ /home/dank/wk/ixos/dap/linux/3rdParty/kaffe/i686-pc-linux-gnu/kaffe/kaffe/kaffe-bin -verbosegc at.dms.kjc.Main -v -d /home/dank/wk/ixos/dap/linux/3rdParty/kaffe/i686-pc-linux-gnu/libraries/javalib/lib gnu/java/util/EmptyEnumeration.java
[ start compilation in verbose mode ]
gnu/java/util/EmptyEnumeration.java:54: error:Syntax error: found 'public'
[ parsed gnu/java/util/EmptyEnumeration.java in 0 ms ]

Interesting... it is rebuilding the classes *in the source directory*
instead of the directory I configured in. That seems wrong...
does Kaffe support configuring in other directories?

--
Dan Kegel
Linux User #78045
http://www.kegel.com


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

Reply via email to