On Mon, 2006-02-27 at 16:23 +0100, Karsten Otto wrote:
> Am 26.02.2006 um 01:04 schrieb Reed Hedges:
> 
> >> fails to link wxterangreal:
> > ...
> >> -lvos -lwx_macud-2.5 -lircclient -lvosimpexp_3d -lASE -lpthread -
> >> lboost_thread
> >> /usr/bin/ld: Undefined symbols:
> >> typeinfo for wxApp
> > ...
> >
> > Hmm, what is the output when you run "/sw/bin/wx-config --libs" ? I
> > think it ought to be linking against several wx libraries. Did you
> > install wx from fink?
> >
> There seems to be an installation of the wx libraries by default  
> (from XCode maybe),
> which was used for compiling this:
> 
> /usr/bin/wx-config --libs
> -framework QuickTime -framework IOKit -framework Carbon -framework  
> Cocoa -framework System  -lwx_macud-2.5
> 
> I then installed the wxmac package and friends from fink, with a  
> different result:
> 
> /sw/bin/wx-config --libs
> -L/sw/lib  -L/sw/lib -framework QuickTime -framework IOKit -framework  
> Carbon -framework Cocoa -framework System  -lwx_mac_xrc-2.6 - 
> lwx_mac_qa-2.6 -lwx_mac_html-2.6 -lwx_mac_adv-2.6 -lwx_mac_core-2.6 - 
> lwx_base_carbon_xml-2.6 -lwx_base_carbon_net-2.6 -lwx_base_carbon-2.6
> 
> Now /sw/bin/wx-config is the default, and configure in vos / CS / vos- 
> browser find it.
> The result compile-wise is not much better though:
> 
> g++ -g -O2 -g -Wall -D_REENTRANT -D_PTHREADS -DBOOST_HAS_PTHREADS - 
> fvisibility=hidden -o wxterangreal wxterangreal-wxmain.o wxterangreal- 
> wxgui.o wxterangreal-mainframe.o wxterangreal-tabentry.o wxterangreal- 
> prefs.o wxterangreal-bookmarks.o wxterangreal-progmeter.o -Wl,- 
> multiply_defined -Wl,suppress -Wl,-framework -Wl,AppKit -Wl,- 
> framework -Wl,Foundation -framework CoreFoundation -framework AppKit - 
> framework QuickTime -framework IOKit -framework Carbon -framework  
> Cocoa -framework System -framework CoreFoundation -framework AppKit - 
> Wl,-bind_at_load  -L/Users/otto/opt/vos-browser/apps/terangreal -L/ 
> Users/otto/opt/vos/inplace/lib -L/sw/lib libterangreal.a -L/Users/ 
> otto/opt/CS/./out/macosxppc/optimize/libs -lcrystalspace -lz -lm -lmx  
> -ldl -L/usr/local/lib -lmetaobject_a3dl -lmetaobject_misc -lvutil - 
> lvip -lvos -lwx_mac_xrc-2.6 -lwx_mac_qa-2.6 -lwx_mac_html-2.6 - 
> lwx_mac_adv-2.6 -lwx_mac_core-2.6 -lwx_base_carbon_xml-2.6 - 
> lwx_base_carbon_net-2.6 -lwx_base_carbon-2.6 -lircclient - 
> lvosimpexp_3d -lASE -lpthread -lboost_thread
> /usr/bin/ld: Undefined symbols:
> typeinfo for wxApp
> typeinfo for wxThread
> typeinfo for wxTimer
> typeinfo for wxListBase
> typeinfo for wxFrame
> typeinfo for wxControl
> typeinfo for wxPanel
> typeinfo for wxGauge
> collect2: ld returned 1 exit status

I'm betting that in both of these cases, wx was built with RTTI
disabled. If that's the case, it's just not gonna work. You'll have to
get a build that has RTTI enabled. It might be worth talking to the Fink
packager about this.

-- 
Braden McDaniel                           e-mail: <[EMAIL PROTECTED]>
<http://endoframe.com>                    Jabber: <[EMAIL PROTECTED]>


_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to