M
Marcelo
Hi,
I am getting a very strange error
ubuntu:~/docs/jni/jniexamples/chap2/HelloWorld$ gcc
-I/usr/local/share/jdk1.5.0_05/include
-I/usr/local/share/jdk1.5.0_05/include/linux HelloWorld.c
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crt1.o: In function
`_start':
.../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
How can I fix it?
thank you very much,
Marcelo
I am getting a very strange error
ubuntu:~/docs/jni/jniexamples/chap2/HelloWorld$ gcc
-I/usr/local/share/jdk1.5.0_05/include
-I/usr/local/share/jdk1.5.0_05/include/linux HelloWorld.c
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/crt1.o: In function
`_start':
.../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
How can I fix it?
thank you very much,
Marcelo