[kaffe] strange NetBSD/ppc error

Dalibor Topic robilad at kaffe.org
Tue Apr 27 09:58:02 PDT 2004


Dalibor Topic wrote:
> 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.

Done both :)

Could you update your CVs checkout and try again?

cheers,
dalibor topic




More information about the kaffe mailing list