RE: [wxperl-users] Symbol Lookup Error

This is a multi-part message in MIME format.

------_=_NextPart_001_01C56065.C06CE4D4
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Andre,
it's a bug with wxWidgets-2.4.
the following patch fix it:
=20
--- orig/wxWindows-2.4.2/src/gtk/menu.cpp 2003-09-20 12:24:30.000000000
+0200
+++ wxWindows-2.4.2/src/gtk/menu.cpp 2004-12-16 11:53:03.299421800 +0100
@@ -30,7 +30,7 @@
 #ifdef __WXGTK20__
     #include <glib-object.h>
=20
-    #define gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g),
(o))
+    #define gtk_accel_group_attach(g, o) gtk_window_add_accel_group
(GTK_WINDOW (o), (g))
     #define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g),
(o))
     #define gtk_menu_ensure_uline_accel_group(m)
gtk_menu_get_accel_group(m)
=20

regards,
 daniel


________________________________

	From: wxperl-users-admin@lists.sourceforge.net
[mailto:wxperl-users-admin@lists.sourceforge.net] On Behalf Of Andre
Muench
	Sent: Dienstag, 24. Mai 2005 00:30
	To: wxperl-users@lists.sourceforge.net
	Subject: [wxperl-users] Symbol Lookup Error
=09
=09
=09
	Hi,
	=20
	just compiled wxPerl 0.21 under SuSe Linux 9.2 with gtk2. When I
try to start my programm I get :
	=20
	perl: symbol lookup error: /usr/local/lib/libwx_gtk2u-2.4.so:
undefined symbol: _gtk_accel_group_attach
	=20
	Did I do something wrong ?
	=20
	Thanks,
	=20
	Andre


------_=_NextPart_001_01C56065.C06CE4D4
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1498" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Hi Andre,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>it's a bug with =
wxWidgets-2.4.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>the following patch&nbsp;fix =
it:</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>--- =
orig/wxWindows-2.4.2/src/gtk/menu.cpp&nbsp;2003-09-20=20
12:24:30.000000000 +0200<BR>+++ =
wxWindows-2.4.2/src/gtk/menu.cpp&nbsp;2004-12-16=20
11:53:03.299421800 +0100<BR>@@ -30,7 +30,7 @@<BR>&nbsp;#ifdef=20
__WXGTK20__<BR>&nbsp;&nbsp;&nbsp;&nbsp; #include=20
&lt;glib-object.h&gt;<BR>&nbsp;<BR>-&nbsp;&nbsp;&nbsp; #define=20
gtk_accel_group_attach(g, o) _gtk_accel_group_attach((g),=20
(o))<BR>+&nbsp;&nbsp;&nbsp; #define gtk_accel_group_attach(g, o)=20
gtk_window_add_accel_group (GTK_WINDOW (o), =
(g))<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
#define gtk_accel_group_detach(g, o) _gtk_accel_group_detach((g),=20
(o))<BR>&nbsp;&nbsp;&nbsp;&nbsp; #define =
gtk_menu_ensure_uline_accel_group(m)=20
gtk_menu_get_accel_group(m)<BR>&nbsp;<BR></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>regards,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D120382913-24052005><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>&nbsp;daniel</DIV></FONT></SPAN><BR>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> =
wxperl-users-admin@lists.sourceforge.net=20
  [mailto:wxperl-users-admin@lists.sourceforge.net] <B>On Behalf Of =
</B>Andre=20
  Muench<BR><B>Sent:</B> Dienstag, 24. Mai 2005 00:30<BR><B>To:</B>=20
  wxperl-users@lists.sourceforge.net<BR><B>Subject:</B> [wxperl-users] =
Symbol=20
  Lookup Error<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>just compiled wxPerl 0.21 under SuSe =
Linux 9.2=20
  with gtk2. When I try to start my programm I get :</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>perl: symbol lookup error:=20
  /usr/local/lib/libwx_gtk2u-2.4.so: undefined symbol:=20
  _gtk_accel_group_attach</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Did I do something wrong =
?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
size=3D2>Andre</FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C56065.C06CE4D4--

0
daniel
5/24/2005 1:39:08 PM
perl.wxperl.users 3070 articles. 0 followers. Follow

0 Replies
500 Views

Similar Articles

[PageSpeed] 25
Get it on Google Play
Get it on Apple App Store

Reply: