ChrisZim / edb-debugger

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

build error - qmake misconfiguration #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I don't have any experience with qmake, but for a while I wasn't able to 
compile the plugins using just "qmake;make" at the root of the source tree. 
After a long search I found a proper fix. I'm running debian 4.0 (testing) and 
apparently one of the LFLAGS set in qmake by default breaks the plugin linking. 
I don't know if this applies to other people or just me, I only submit this as 
a bug for your consideration.

Here's a diff of my fix. One simple line:

--- plugins/plugins.pri.old     2008-02-06 18:19:37.263584000 -0800
+++ plugins/plugins.pri 2008-02-06 18:19:39.828148000 -0800
@@ -12,6 +12,7 @@

 unix {
        QMAKE_CXXFLAGS  +=
+       QMAKE_LFLAGS    -= -Wl,--no-undefined
        LIBS                    +=
        INCLUDEPATH += ../../include/os/unix
 }

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

GoogleCodeExporter commented 9 years ago
looks like a good fix. I haven't encountered this issue before, but I think 
that even when not needed it will be harmless. So the next version (0.9.0) will 
have this patch applied. Thank you.

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