Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Link to shared libraries *.so make tree Bug since 6.4: (1 Item)
   
Link to shared libraries *.so make tree Bug since 6.4  
Hi, 

I have  this problem since 6.4 and it is still in 6.4.1.

If you want to link against a dynamic library xxx.so, you get a dependency to static xxx.a in your install path.
This is a problem of the current qnx make tree.
If you make your project with eclipse, you get a ".qnx_internal.mk" included by common.mk, which solves the problem.

Attached you will find a simple dummy project for demonstration:

cd to the qnxMakeProblem dir, and type "make install" and you will see the problem. 

If you make a dummy static lib ("touch stage/x86/lib/libm1Lib.a"), you can build without errors, using a dependency to 
the dummy file and link against the shared lib.

Regards 
Michael 
Attachment: Text qnxMakeProblem.tar.gz 821 bytes