Hi, I have a Hello World program using JNI taken from this site.
HP Unix - Java - Using Java 2 JNI on HP-UX
It builds fine and runs fine.
But if I add -AA to my compile line, I get this error.
error: java.lang.UnsatisfiedLinkError: libaCCImpl.sl: Unresolved external
Here are my build lines:
aCC -AA +DA2.0W +z +u4 -c -D_HPUX -D_POSIX_C_SOURCE=199506L -I${JAVA_HOME}/include -I${JAVA_HOME}/include/hp-ux aCCImpl.cpp
aCC +DA2.0W -b -o libaCCImpl.sl aCCImpl.o -lstd -lstream -lCsup -lm
Can someone tell me how to resolve this problem?
uname -a
HP-UX hp11i B.11.11 U 9000/800 524736557 unlimited-user license