|Subject:||Re: phoneme advanced based on gtk|
|Date:||Nov 5, 2007 8:48:58 am|
javah should have generated java_awt_image_ImageObserve.rh, but apparently did
not. I just looked at a basis build I have, which also includes ImageObserver,
and the header is missing from it also (it should be in the generated/jni
directory of the build directory). I can see that ImageObserver did get passed
to javah, so my guess is that javah ignored it because ImageObserver contains no
native methods, only a bunch of static final fields.
Are you using these static final fields in ImageRepresentation.c. If not, then
just don't include the header. If you are, try building with
CVM_PRELOAD_LIB=true. This will cause JCC to generate the jni headers and javah
won't be used. I tried this and it seems to work. However, it seems there should
be a way to get javah to do its job here.
BTW, I don't know that your changes to rules_basis.mk and defs_basis.mk are
correct. We got rid of awt_objs and jpeg_objs at some point during CDC 1.1, so
I'm not sure why you added them. Perhaps you are grabbing makefiles from CDC 1.0
that still references these directories. You should try to get things working
without the awt_objs and jpeg_objs related changes.
Chris [Message sent by forum member 'cjplummer' (cjplummer)]