• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Good IDE for Java/Native Linux Programming?

edie

Junior Member
I am writing a Java program and I have run up on an i/o problem that requires me to write it in C and use the java native interface. I am using Jbuilder on Linux (the freebe I downloaded) and it doesn't seem to have any native help built in. Furthermore I wrote the code following the example on the sun website tutorial and I get the following error message when I try to compile my code into a library;
the command line is:

[edie@sloth trac2001]$ g++ -I/usr/local/java/jdk1.3/include -I/usr/local/java/jdk1.3/include/linux linuxInput.c -o liblinuxinput.so

which produces the error message:

/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
ib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

Does anyone know what is going on here?
Thanks
 
Back
Top