I''m not a Linux user. I suggest you subscribe to the wxRuby ML and get advice there from other Linux users. For the time being, I''ll cross-post this message to the wxRuby ML. Curt Markus Jais wrote:> > Curt Hibbs wrote: > > > http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46 > > > > The code itself has been quite stable for several weeks. This release > > includes Gour''s excellent MinGW README notes, along with various updates > > to the README, and clarification of the LICENSE. > > > > Thanks to everyone for your help in putting this together. It was > > definitely a team project. I look forward to getting lots of feedback so > > we can have a much improved 0.2.0 release. The most pressing needs, I > > think, are better README files, cleaner samples, and binary packages. > > > > Kevin Smith > > > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > great! > > but I have a problem compiling it. > > c++ -shared `wx-config --libs` -Wl,--version-script,./version-script > -L"/usr/local/lib" -o wxruby.so wx.o app.o bitmap.o button.o calendar.o > checkbox.o choice.o colour.o colourdata.o colourdialog.o > combobox.o const.o > date.o dialog.o dirdialog.o event.o evthandler.o filedialog.o font.o > fontdata.o fontdialog.o frame.o gauge.o layout.o listbox.o menu.o > menubar.o > messagedialog.o point.o radio.o rect.o size.o sizer.o slider.o spin.o > statictext.o textctrl.o timer.o validator.o window.o icon.o artprovider.o > log.o listctrl.o list.o panel.o scrolledwindow.o dc.o brush.o > pen.o caret.o > statusbar.o ownerdrawn.o config.o region.o cursor.o notebook.o tooltip.o > mask.o socket.o url.o stream.o toolbar.o image.o palette.o treectrl.o > classinfo.o splitterwindow.o methods.o staticbitmap.o control.o > togglebutton.o grid.o menuitem.o textattr.o -ldl -lcrypt -lm -lc > > > I /usr/i486-suse-linux/bin/ld: wxruby.so: undefined versioned symbol name > wxBitmapButtonBase::OnSetBitmap(void)@@WXGTK2_2.4 > /usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: > Bad value > collect2: ld returned 1 exit status > > > I have wxwindows 2.4.1 with GTk2 and Ruby 1.8.0 > > any ideas what is wrong here ? > > Markus > > > > > > >
Kevin Smith
2003-Aug-25 11:55 UTC
[Wxruby-users] RE: ANN: wxRuby 0.1.0 Alpha has been released!
> Markus Jais wrote: > > > _______________________________________________ > > > wxruby-users mailing list > > > wxruby-users@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > great! > > > > but I have a problem compiling it. > > > > c++ -shared `wx-config --libs` -Wl,--version-script,./version-script > > -L"/usr/local/lib" -o wxruby.so wx.o app.o bitmap.o button.o calendar.o(snip)> > > > I /usr/i486-suse-linux/bin/ld: wxruby.so: undefined versioned symbol name > > wxBitmapButtonBase::OnSetBitmap(void)@@WXGTK2_2.4 > > /usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: > > Bad value > > collect2: ld returned 1 exit status > > > > > > I have wxwindows 2.4.1 with GTk2 and Ruby 1.8.0I''m using wxwindows 2.4.0 with GTK2 and Ruby 1.8.0. My best guess is that wxRuby was compiled with a different version of the C++ toolchain than your wxWindows library. Unfortunately, C++ binaries have traditionally been incompatible between versions of g++. So you may need to compile wxWindows from source on your box, or you may need to compile wxRuby with the same compiler that was used for your copy of wxWindows (by manually modifying Makefile, I suppose). In my case, I use g++ 3.3 because that is the Debian Sarge default. We need to add this to the README and/or a FAQ. Thanks, Kevin
Markus Jais
2003-Aug-25 16:30 UTC
[Wxruby-users] RE: ANN: wxRuby 0.1.0 Alpha has been released!
On Mon, 2003-08-25 at 17:37, Kevin Smith wrote:> > Markus Jais wrote: > > > > _______________________________________________ > > > > wxruby-users mailing list > > > > wxruby-users@rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > great! > > > > > > but I have a problem compiling it. > > > > > > c++ -shared `wx-config --libs` -Wl,--version-script,./version-script > > > -L"/usr/local/lib" -o wxruby.so wx.o app.o bitmap.o button.o calendar.o > (snip) > > > > > > I /usr/i486-suse-linux/bin/ld: wxruby.so: undefined versioned symbol name > > > wxBitmapButtonBase::OnSetBitmap(void)@@WXGTK2_2.4 > > > /usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: > > > Bad value > > > collect2: ld returned 1 exit status > > > > > > > > > I have wxwindows 2.4.1 with GTk2 and Ruby 1.8.0 > > I''m using wxwindows 2.4.0 with GTK2 and Ruby 1.8.0. > > My best guess is that wxRuby was compiled with a different version of > the C++ toolchain than your wxWindows library. Unfortunately, C++ > binaries have traditionally been incompatible between versions of g++. > So you may need to compile wxWindows from source on your box, or you may > need to compile wxRuby with the same compiler that was used for your > copy of wxWindows (by manually modifying Makefile, I suppose). > > In my case, I use g++ 3.3 because that is the Debian Sarge default. > > We need to add this to the README and/or a FAQ. > > Thanks, > > Kevin >hello both were compiled with the same compiler. gcc 2.95 maybe this does not work. maybe I have to istall 3.3 Markus> > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Kevin Smith
2003-Aug-25 22:40 UTC
[Wxruby-users] RE: ANN: wxRuby 0.1.0 Alpha has been released!
On Mon, 2003-08-25 at 13:10, Markus Jais wrote:> > In my case, I use g++ 3.3 because that is the Debian Sarge default. > > > both were compiled with the same compiler. gcc 2.95 > maybe this does not work. maybe I have to istall 3.3Hmm. You might try running ldd against the wxruby.so and against the wx_gtk.so files, and see if any version differences show up. Have you tried compiling and running any C++ wxWindows samples? Kevin
Markus Jais
2003-Aug-26 04:39 UTC
[Wxruby-users] RE: ANN: wxRuby 0.1.0 Alpha has been released!
--- Kevin Smith <wxRuby@qualitycode.com> schrieb: > On Mon, 2003-08-25 at 13:10, Markus Jais wrote:> > > In my case, I use g++ 3.3 because that is the > Debian Sarge default. > > > > > both were compiled with the same compiler. gcc > 2.95 > > maybe this does not work. maybe I have to istall > 3.3 > > Hmm. > > You might try running ldd against the wxruby.so and > against the > wx_gtk.so files, and see if any version differences > show up. > > Have you tried compiling and running any C++ > wxWindows samples? > > Kevin > >hi there is not wxruby.so althought it says /usr/i486-suse-linux/bin/ld: wxruby.so: undefined versioned symbol name wxBitmapButtonBase::OnSetBitmap(void)@@WXGTK2_2.4 /usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status this is kind of strange. the wxGTK 2.4.1 samples build and run without problem Markus __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingelt?ne f?rs Handy bei http://sms.yahoo.de