I have been develop java program for a serveral days.But I havn't have a
success test with the java native include in linux on my redhat 5.1 with
jdk1.1.7. when I complied the c impliction code
with gcc
as :
cc -G NativeHello.c NativeHelloImp.c -o libHello.so
,I encount a problum
"cc: unrecognized option `-G'
/usr/lib/crt1.o(.text+0x36): undefined reference to `main'"
before I do this ,I had copy the include file of java/include into
/usr/include ,and I copy the *.h in subdir of java/include also into
/usr/include
can anybody give me a good advice !
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]