Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - common.mk: No rule to make target ... (QNX 6.5.0): (2 Items)
   
common.mk: No rule to make target ... (QNX 6.5.0)  
What is the proper way to include user generated .so "libraries" in a common.mk file? We're migrating from 6.3.2 to 6.5.
0 and names that were in the common.mk LIBS variable, and were linked in just fine in 6.3.2, are now causing "No rule to
 make target ..." errors in 6.5.0. I found the LIBPREF_xx and LIBPOST_xx variables mentioned in other forum posts and 
that would seem to get the -Bdynamic argument on the linker invocation but it doesn't help with the library dependency. 
This problem must have been addressed but I can't find anything describing how to do it. Thanks.

Mark

P.S. We're not using the IDE for our build. The common.mk files were generated way before my time and our IDE based 
builds broke long ago so we invoke make from the command line.

P.P.S. What is the definitive reference for the QNX makefile-system?
Attachment: HTML sf-attachment-mime3652 2.66 KB
Re: common.mk: No rule to make target ... (QNX 6.5.0)  
It's a dependency check that was added - you need to have a libfoo.a 
variant built and installed too.  You can even just manually touch a 
file by that name since it won't be
used (the .so version is preferentially used)

On 12-08-02 7:19 PM, Mark Dowdy wrote:
>
> What is the proper way to include user generated .so "libraries" in a 
> common.mk file? We're migrating from 6.3.2 to 6.5.0 and names that 
> were in the common.mk LIBS variable, and were linked in just fine in 
> 6.3.2, are now causing "No rule to make target ..." errors in 6.5.0. I 
> found the LIBPREF_xx and LIBPOST_xx variables mentioned in other forum 
> posts and that would seem to get the --Bdynamic argument on the linker 
> invocation but it doesn't help with the library dependency. This 
> problem must have been addressed but I can't find anything describing 
> how to do it. Thanks.
>
> Mark
>
> P.S. We're not using the IDE for our build. The common.mk files were 
> generated way before my time and our IDE based builds broke long ago 
> so we invoke make from the command line.
>
> P.P.S. What is the definitive reference for the QNX makefile-system?
>

-- 
cburgess@qnx.com

Attachment: HTML sf-attachment-mime3657 3.33 KB