I have build the shared library on HP without any problem. Even I could able to load the library but if I try to call native method i am getting Exception : java.lang.UnsatisfiedLinkError.

Manie van der Merwe

You need to compile the library in the normal way but only create a object file (*.o). You then need to link the program with the following command and libraries. aCC -b -o<shared lib name>.sl <obj file>.o -lCsup -lstream -lstd or you can use the "ld" command in the same way to get this sorted out.....

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact