Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

link problems with wxGTK 2.4.2 and GTK2.4

2 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Christophe de VIENNE

ungelesen,
22.03.2004, 06:39:2822.03.04
an
Hi,

Since I installed gtk+2.4 on my linuxbox, I can't link my wx programs
anymore.
For example, if I do 'make' in the demos/fractal directory, I got the
following :

g++ -o fractal fractal.o ../../lib/libwx_gtk2ud-2.4.so.0.1.1
-pthread -Wl,--version-script,../../version-script
-Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lpng -ljpeg
-ltiff -lz -Wl,--export-dynamic -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lm
../../lib/libwx_gtk2ud-2.4.so.0.1.1: undefined reference to
`_gtk_accel_group_detach'
../../lib/libwx_gtk2ud-2.4.so.0.1.1: undefined reference to
`_gtk_accel_group_attach'
../../lib/libwx_gtk2ud-2.4.so.0.1.1: undefined reference to
`_gtk_rc_context_get_default_font_name'


I've got the same errors when trying to use wxPython.

The weird thing is that those symbols seems to exist in -lgtk-x11-2.0 :

cdevienne@asticot:/usr/lib> ldd
~/src/wxWindows-2.4.2-build/lib/libwx_gtk2ud-2.4.so.0.1.1
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4056e000)
<snip>

cdevienne@asticot:/usr/lib> ls -l libgtk-x11-2.0.so.0
lrwxrwxrwx 1 root root 25 Mar 22 09:25
libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.400.0
cdevienne@asticot:/usr/lib> ls -l libgtk-x11-2.0.so
lrwxrwxrwx 1 root root 25 Mar 22 09:25
libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.400.0

cdevienne@asticot:/usr/lib> grep _gtk_accel_group_detach libgtk-x11-2.0.so
Binary file libgtk-x11-2.0.so matches
cdevienne@asticot:/usr/lib> grep _gtk_accel_group_attach libgtk-x11-2.0.so
Binary file libgtk-x11-2.0.so matches
cdevienne@asticot:/usr/lib> grep _gtk_rc_context_get_default_font_name
libgtk-x11-2.0.so
Binary file libgtk-x11-2.0.so matches


Is this a known problem ?
Did anybody succeed using wxGTK and gtk+2.4 ?

Thanks for any hint,

Christophe


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-u...@lists.wxwidgets.org
For additional commands, e-mail: wx-use...@lists.wxwidgets.org

Vadim Zeitlin

ungelesen,
22.03.2004, 06:40:4322.03.04
an
On Mon, 22 Mar 2004 12:38:32 +0100 Christophe de VIENNE <cdev...@alphacent.com> wrote:

CdV> Since I installed gtk+2.4 on my linuxbox, I can't link my wx programs
CdV> anymore.

This has been fixed in the cvs recently. Unfortunately I don't remember which
file was affected by this but if you look at where the undefined symbols
appear, it should be easy to find the relevant change at cvs.wxwindows.org.

Regards,
VZ

Christophe de VIENNE

ungelesen,
22.03.2004, 07:46:5822.03.04
an
Vadim Zeitlin wrote:

>On Mon, 22 Mar 2004 12:38:32 +0100 Christophe de VIENNE <cdev...@alphacent.com> wrote:
>
>CdV> Since I installed gtk+2.4 on my linuxbox, I can't link my wx programs
>CdV> anymore.
>
> This has been fixed in the cvs recently. Unfortunately I don't remember which
>file was affected by this but if you look at where the undefined symbols
>appear, it should be easy to find the relevant change at cvs.wxwindows.org.
>
>

Thanks, I'll try that.

Regards,

Christophe

0 neue Nachrichten