Thursday, February 6, 2003 04:35 AM
I am getting linking error when i am compiling JNI enabled c code on solaris.
It is giving error if I call GetStringUTFChars()
i am getting the following errors
Text relocation remains referenced
against symbol offset in file
JNIEnv_::GetStringUTFChars(_jstring *, unsigned char *)0x1c /var/tmp/cc9tSKua.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
What is the correct way to compile on solaris?
But it is compiled on windows fine.