|
From: Ethan A M. <sf...@us...> - 2014-06-16 19:44:13
|
On Monday, 16 June, 2014 21:03:11 Christoph Bersch wrote: > Zitat von flapane <int...@gm...>: > > > > Compiling error: > > ---------------------- > > /usr/bin/ld: wxterminal/wxt_gui.o: undefined reference to symbol > > 'XInitThreads' > > I get the same error since a change related to the bug report > http://sourceforge.net/p/gnuplot/bugs/1401/ > > Since the applied 'fix' to make gnuplot work with wxWidgets 3.0 > doesn't work properly, you can remove it using the attached patch. I have tried to fix this in CVS. The problem is that despite imposing a requirement that the program calls XInitThreads, the wxt-config script doesn't actually add the corresponding required library to the dependency list. So I have changed gnuplot's autoconfigure script to add -lX11 itself if it sees that the newer wxWidgets is being used. I am a little uneasy that this may cause problems in the future on platforms where wxWidgets using wayland or carbon rather than X11, but I guess we'll find out. Ethan |