[Java-gnome-developer] macro compile problem
Brought to you by:
afcowie
From: Darren S. <dar...@e-...> - 2001-04-17 10:54:46
|
Hi, I'm new to the list and very interested in java-gnome. I'm a keen Java coder and would love to do some Gnome apps, but I don't have time to learn c++ so this project is a godsend. Well done folks! I installed the 0.5.0 binary rpm which seems to work ok, but I'd really like to try 0.6.0 or later for the Glade support (mmmm...). The trouble is, I'm having problems compiling. The compilor (or preprocessor) seems to have problems with the JNIEXPORT macro. Wherever it appears, I get "syntax error before `jint'". The path to my jni.h and jni_md.h are definately given correctly in the gcc commandline, and my jni_md.h gives this... #define JNIEXPORT #define JNICALL I don't know much (any) about gcc or macros or much, so sorry that this isn't specifically a java-gnome issue, but I'd appreciate any help to get this thing working. Alternatively, a binary RPM of 0.6.0 would go down well (...) My system: RedHat 7.0 IBM SDK 1.1.8 gcc 2.96-69 cpp 2.96-69 glibc-devel 2.2-12 libstdc++-devel 2.96-69 Don't know what else you might want to know... Thanks, Darren Scott e-xentric (uk) ltd |