multi lib linking problem

Jacek Wojdel wojdel at
Fri Apr 6 14:26:20 UTC 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       |

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

More information about the KDevelop mailing list