Build problems, part II

This is a follow-up from a recent email where I described problems in
the
rakefile system.

I got the library to build, but it has problems with unresolved symbols.
Here is the list of symbols that are unresolved from wx:

undefined symbol: _ZN12wxStringBase8InitWithEPKcjj
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZNK8wxString3CmpEPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZNK8wxString9CmpNoCaseEPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN12wxStringBaseaSEPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN5wxLog18IsAllowedTraceMaskEPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN12wxWizardPageC2EP8wxWizardRK8wxBitmapPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN12wxWizardPage6CreateEP8wxWizardRK8wxBitmapPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN13wxXmlResource8GetXRCIDEPKci
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z12wxLogMessagePKcz
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z11wxLogStatusPKcz
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z11wxLogStatusP7wxFramePKcz
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z12wxLogWarningPKcz
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z10wxLogErrorPKcz
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _Z14wxFileSelectorPKcS0_S0_S0_S0_iP8wxWindowii
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN5wxApp10InitializeERiPPc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN9wxListBox12ApplyToolTipEP12_GtkTooltipsPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN8wxColour10FromStringEPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN5wxLog5DoLogEmPKcl
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN5wxLog11DoLogStringEPKcl
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)
undefined symbol: _ZN10wxRadioBox12ApplyToolTipEP12_GtkTooltipsPKc
(/home/rwa/linux-packages/ruby-1.8.6
/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so)

I built wxGTK 2.8.7 from source using the recommended flags from the
installation instructions. Any ideas on what’s going on here? The gtk
libraries were statically linked into the library, and I nm’ed them and
indeed these symbols are not defined in them, but slight variations are.
For example, there is the missing symbol:

Z12wxLogMessagePKcz

and I have:

nm libwx*.a | grep wxLogMessage
000002ac T _Z12wxLogMessagePKwz

(notice ‘wz’ not ‘cz’ on the end)

Is this a version mismatch with wxGtk possibly, with small changes to
the
interface? Do I need to go to specifically 2.8.6, not 2.8.7?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs