multi lib linking problem

Jacek Wojdel wojdel at chrysler.kbs.twi.tudelft.nl
Fri Apr 6 15:26:20 BST 2001


On Fri, 06 Apr 2001, you wrote:
> 
> considering, the func1 came from lib1 and func2 - from lib2 respectively, can 
> somebody say me, what linker flag (or whatever else) have I missed???
> 

On some systems the linkers are single-pass only. That means that the order in
which things are in the linking line is important. so try:

g++ -O3 -Wall -o main main.o lib2.a lib1.a

it might work.

-- 
+-------------------------------------+
|from: J.C.Wojdel                     |
|      J.C.Wojdel at cs.tudelft.nl       |
+-------------------------------------+

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list