[kaffe] strange NetBSD/ppc error
    Dalibor Topic 
    robilad at kaffe.org
       
    Mon Apr 26 03:44:01 PDT 2004
    
    
  
Riccardo wrote:
> Hello,
> 
> compiling on NetBSD/ppc I get:
> gmake[2]: Leaving directory `/home/multix/kaffe-cvs/netbsd-ppc/kaffe/
> kaffeh'
> ./kaffe/kaffeh/kaffeh -classpath ../../kaffe/libraries/javalib/Klasses.
> jar.bootstrap -o java_lang_Object.h java/lang/Object
> assertion "cf != NULL" failed: file "../../../kaffe/kaffe/kaffevm/file.
> h", line 116, function "readu2"
> [1]   Abort trap (core dumped) ../kaffe/kaffeh/...
> 
> 
> this is strange, isn't it? what is running there? "kaffeh" ?
Kaffeh. it's kaffe's javah implementation, used to generate JNI and KNI 
headers from classes.
Looking briefly over file.h, I'd say that the __UNUSED__ attributes look 
out of place, for example. I propose moving the file buffer handling 
functions into their own C file, file.c.
cheers,
dalibor topic
    
    
More information about the kaffe
mailing list