ChrisZim / edb-debugger

Automatically exported from code.google.com/p/edb-debugger
GNU General Public License v2.0
0 stars 0 forks source link

Will not compile on Ubuntu 8.04 #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ qmake
$ make
(...)
g++ -Wl,--no-undefined -shared -o libSessionManager.so SessionManager.o 
moc_SessionManager.o   -L/usr/lib -lQtGui -lQtCore -lpthread 

SessionManager.o: In function `SessionManager::privateInit()':
~/debugger/plugins/SessionManager/SessionManager.cpp:29: undefined reference to 
`edb::v1::setSessionFileHandler(SessionFileInterface*)'

$ gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

Original issue reported on code.google.com by evan.teran on 3 Oct 2012 at 3:21

GoogleCodeExporter commented 9 years ago
try adding this to the plugins/plugins.pri file:

linux-g++*:QMAKE_LFLAGS -= "-Wl,--no-undefined"

Then do a `make distclean` in the root edb directory and try to:

qmake
make

again.

Let me know if this works,
Thanks.

Evan

Original comment by evan.teran on 3 Oct 2012 at 4:23

GoogleCodeExporter commented 9 years ago
Worked for me, thank you.

Original comment by evan.teran on 3 Oct 2012 at 4:23