aMule Forum
English => Compilation problems => Topic started by: Stu Redman on March 28, 2011, 11:18:37 PM
-
I haven't used a static wx for a while since Ubuntu is shipping with 2.8.11 . Tried it with the new 2.8.12 today and have problems:
Linking alc
/usr/bin/ld: /home/martin/amule/wx2812/inst/lib/libwx_gtk2u_core-2.8.a(corelib_utilsx11.o): undefined reference to symbol 'XGetWindowAttributes'
/usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO //usr/lib64/libX11.so.6 so try adding it to the linker command line
//usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: Linking alcc
ld returned 1 exit status
make[5]: *** [alc] Error 1
Same with wxcas (with any wx prog I suppose).
Built it like described in the wiki (http://wiki.amule.org/index.php/HowTo_Compile_In_Ubuntu). Static and installed in home.
Anybody have an idea? Did I something wrong or is something broken with wx ?
-
Same problem with 2.8.11 . This did work with older Ubuntu versions. I've opened a bug:
http://trac.wxwidgets.org/ticket/13100
-
Bug is fixed in wx 67383 .
Meanwhile you can pass
LIBS=-lX11
to configure if you get the problem.