aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wx 2.8.12 linker error  (Read 4291 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
wx 2.8.12 linker error
« 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:
Code: [Select]
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. Static and installed in home.

Anybody have an idea? Did I something wrong or is something broken with wx ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: wx 2.8.12 linker error
« Reply #1 on: March 29, 2011, 10:00:16 PM »

Same problem with 2.8.11 . This did work with older Ubuntu versions. I've opened a bug:

http://trac.wxwidgets.org/ticket/13100
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: wx 2.8.12 linker error
« Reply #2 on: April 03, 2011, 11:15:44 AM »

Bug is fixed in wx 67383 .
Meanwhile you can pass
LIBS=-lX11
to configure if you get the problem.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon