Has anyone run across this: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status make: *** [wxruby.so] Error 1 rm mdiclientwindow.cpp mdichildframe.cpp Any ideas? (linux-2.4.x, gtk2, ruby-1.8, wxruby-0.4.0) Thanks -- - Martin J. Brown, Jr. - - mjbjr@beaudesign.com - Public PGP Key ID: 0xDB184F7B keyserver: http://certserver.pgp.com/
Martin J. Brown wrote:> Has anyone run across this: > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value > collect2: ld returned 1 exit status > make: *** [wxruby.so] Error 1 > rm mdiclientwindow.cpp mdichildframe.cpp > > Any ideas? > > (linux-2.4.x, gtk2, ruby-1.8, wxruby-0.4.0)My best guess is that it is some kind of version conflict. Originally I thought maybe it was a mismatched compiler/linker/clib or something like that. Are you using 3.2.2 tools all the way through? I have not tried wxRuby with wxWindows with GTK2. Perhaps there is a problem there? Which version of wxWindows are you using, and did you compile it yourself? Same question for GTK. Kevin
On Sat, Jun 26, 2004 at 08:39:04AM -0400, Kevin Smith wrote:> Martin J. Brown wrote: > >Has anyone run across this: > > > >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 > >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value > >collect2: ld returned 1 exit status > >make: *** [wxruby.so] Error 1 > >rm mdiclientwindow.cpp mdichildframe.cpp > > > >Any ideas? > > > >(linux-2.4.x, gtk2, ruby-1.8, wxruby-0.4.0) > > My best guess is that it is some kind of version conflict. Originally I > thought maybe it was a mismatched compiler/linker/clib or something like > that. Are you using 3.2.2 tools all the way through? > > I have not tried wxRuby with wxWindows with GTK2. Perhaps there is a > problem there? Which version of wxWindows are you using, and did you > compile it yourself? Same question for GTK. >Thank you for taking the time to reply. Everything with gcc-3.2.2 and glibc-2.3.1. The original error posted above was against wxGTK-2.4.1 (wxWidgets for GTK). I upgraded to wxGTK-2.4.2 and got the following error from (wxruby) ''make'': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status make: *** [wxruby.so] Error 1 - Martin - -- - Martin J. Brown, Jr. - - mjbjr@beaudesign.com - Public PGP Key ID: 0xDB184F7B keyserver: http://certserver.pgp.com/
Martin J. Brown wrote:> Everything with gcc-3.2.2 and glibc-2.3.1. > > The original error posted above was against wxGTK-2.4.1 (wxWidgets for GTK). > > I upgraded to wxGTK-2.4.2 and got the following error from (wxruby) ''make'': > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value > collect2: ld returned 1 exit status > make: *** [wxruby.so] Error 1Hmm. I trust you did a ''make clean'' at some point. Are you able to build and run some native wxWindows samples? Are you sure that your wxGTK was built with the same toolchain that you are using for wxRuby? (Did you build wxGTK yourself from source?) Kevin
On Sun, Jun 27, 2004 at 09:29:54AM -0400, Kevin Smith wrote:> Martin J. Brown wrote: > >Everything with gcc-3.2.2 and glibc-2.3.1. > > > >The original error posted above was against wxGTK-2.4.1 (wxWidgets for > >GTK). > > > >I upgraded to wxGTK-2.4.2 and got the following error from (wxruby) ''make'': > > > >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::SetMargins(int, int)@@WXGTK2_2.4 > >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value > >collect2: ld returned 1 exit status > >make: *** [wxruby.so] Error 1 > > Hmm. I trust you did a ''make clean'' at some point.yes> > Are you able to build and run some native wxWindows samples? >All of them, except ''poem'' (different error), compiled and ran.> Are you sure that your wxGTK was built with the same toolchain that you > are using for wxRuby? (Did you build wxGTK yourself from source?) >Yes, all were built from source, and there were no toolchain changes. - Martin - -- - Martin J. Brown, Jr. - - mjbjr@beaudesign.com - Public PGP Key ID: 0xDB184F7B keyserver: http://certserver.pgp.com/