Hi, I tried to followed the link: http://www.m5sim.org/M5ops to insert M5ops into java code, but still having some issues with it. The followings are the steps I took:
Step 1: To get "jni_gem5Op.h": javac jni/gem5op.java javah -jni jni.gem5Op Step 2: To get "libgem5OpJni.so"*: * * * gcc -shared -fpic -o libgem5OpJni.so -I/path-to-java-include -I/path-to-java-include/linux jni_gem5Op.c Step 3: To get "gem5OpJni.jar": inside jni folder: jar cvf gem5OpJni.jar * Step 4: build the sample hello world program: javac -classpath $CLASSPATH:/path-to-gem5OpJni.jar HelloWorld.java Step 5: running the sample program: java -classpath $CLASSPATH:/path-to-gem5OpJni.jar -D java.library.path=/path-to-libgemOpJni.so HelloWorld However, I got the following error messages: java: symbol lookup error: libgem5OpJni.so: undefined symbol: rpns Can someone give me any suggestions where it could probably went wrong? Thanks in advance,
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users