Menu

#1 ERROR "undefined reference to" during linking/building libop

open
nobody
1
2008-06-26
2008-06-26
tjoberg
No

Some qt versions/installations add"-no-undefined" as default and the linker complains about many undefined references.

Solution 1:
Remove the -no-undefined found under LFLAGS in the oprobe/src/Makefile.

Solution 2:
Insert "QMAKE_LFLAGS += -unresolved-symbol=ignore-allin" in the oprobe/src/oprobe.pro file.
Remember to use qmake to get a new Makfile

Solution 3:
Build the Makefile using qmake "QMAKE_LFLAGS += -unresolved-symbol=ignore-all".

Discussion


Log in to post a comment.

MongoDB Logo MongoDB