Linker errors when making wxnet

Hendrik Krauss <[email protected]> Sat, 26 Nov 2005 22:59:19 +0100
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Hi,

we ran into problems trying to use the StyledTextCtrl under MacOS X.
We figured that we need to build wx.NET ourselves, but that
consistently doesn't work: ld fails because it doesn't see some
required symbols (precise error messages are below). This applies when
building both with a wxMac installed via fink and with a wxMac we
compiled using wx.NET's build system ('make wxw'). Google searches,
searches in this mailing list archives, the page about building in the
documentation, and install.txt are inconclusive.

We are approaching a deadline and would very much appreciate it if you
could help us ton this one, even if it may be trivial. (It's at least
non-trivial enough that the wx.NET build system can't handle it.)

Best regards,
Hendrik Krauss


System: Mac OS X 10.4.3, Xcode 514.0.

When building wx.NET agains wxMac 2.6.2 compiled via wx.NET's make wxw:

$ make wxw
[works]

$ make wxnet
[...]
Linking wx-c
ld: Undefined symbols:
__ZN12wxStringBase8InitWithEPKcmm
__ZN5wxApp10InitializeERiPPc
__ZN12wxDataFormat5SetIdEPKc
__ZN12wxDataFormatC1EPKc
__Z14wxFileSelectorPKcS0_S0_S0_S0_iP8wxWindowii
__ZN12wxStringBaseaSEPKc
__ZN20wxHtmlEntitiesParser14GetCharForCodeEj
__ZNK9wxHtmlTag9ScanParamERK8wxStringPKcPv
__ZN8wxLocale10AddCatalogEPKc
__ZN8wxLocale10AddCatalogEPKc10wxLanguageS1_
__ZNK8wxLocale14GetHeaderValueEPKcS1_
__ZNK8wxLocale8IsLoadedEPKc
__ZNK8wxLocale9GetStringEPKcS1_
__Z10wxLogErrorPKcz
__Z11wxLogStatusPKcz
__Z12wxLogMessagePKcz
__Z12wxLogVerbosePKcz
__Z12wxLogWarningPKcz
__Z13wxLogSysErrorPKcz
__Z15wxLogFatalErrorPKcz
__Z9wxLogInfoPKcz
__ZN5wxLog18IsAllowedTraceMaskEPKc
__ZN16wxMDIParentFrameC2Ev
__ZN12wxWizardPage6CreateEP8wxWizardRK8wxBitmapPKc
__ZN13wxXmlResource8GetXRCIDEPKc
/usr/bin/libtool: internal link edit command failed
make[2]: *** [../../Bin/./wx-c.dylib] Error 1
make[1]: *** [wx-c] Error 2
make: *** [wxnet-core] Error 2



When building wx.NET against wxMac 2.6.1-1 installed via fink:

$ make wxnet
[...]
Linking wx-c
ld: warning unknown MACOSX_DEPLOYMENT_TARGET environment variable
value:  ignored (using 10.1)
ld: Undefined symbols:
__ZTI8wxThread
__ZTI5wxApp
__ZTI14wxBitmapButton
__ZTI7wxEvent
__ZTI8wxButton
__ZTI9wxControl
__ZTI10wxBoxSizer
__ZTI14wxCalendarCtrl
__ZTI10wxCheckBox
__ZTI8wxChoice
__ZTI19wxMultiChoiceDialog
__ZTI20wxSingleChoiceDialog
__ZTI8wxDialog
__ZTI14wxColourDialog
__ZTI10wxComboBox
__ZTI15wxItemContainer
__ZTI12wxDataObject
__ZTI16wxFileDataObject
__ZTI16wxTextDataObject
__ZTI11wxGDIObject
__ZTI11wxDirDialog
__ZTI12wxDropSource
__ZTI12wxDropTarget
__ZTI16wxFileDropTarget
__ZTI16wxTextDropTarget
__ZTI8wxObject
__ZTI12wxFileDialog
__ZTI19wxFindReplaceDialog
__ZTI19wxGenericFontDialog
__ZTI16wxFontEnumerator
__ZTI7wxFrame
__ZTI7wxGauge
__ZTI10wxListBase
__ZTI15wxGridTableBase
__ZTI16wxGridCellEditor
__ZTI16wxGridCellWorker
__ZTI20wxGridCellBoolEditor
__ZTI21wxClientDataContainer
__ZTI22wxGridCellAttrProvider
__ZTI22wxGridCellBoolRenderer
__ZTI22wxGridCellChoiceEditor
__ZTI22wxGridCellNumberEditor
__ZTI24wxGridCellStringRenderer
__ZTI6wxGrid
__ZTI30wxGridCellAutoWrapStringEditor
__ZTI32wxGridCellAutoWrapStringRenderer
__ZTI12wxHtmlWindow
__ZTI13wxHtmlListBox
__ZTI18wxSashLayoutWindow
__ZTI10wxListbook
__ZTI13wxNotifyEvent
__ZTI14wxCheckListBox
__ZTI9wxListBox
__ZTI10wxListCtrl
__ZTI10wxListView
__ZTI15wxMDIChildFrame
__ZTI16wxMDIParentFrame
__ZTI17wxMDIClientWindow
__ZTI10wxMemoryDC
__ZTI10wxMenuBase
__ZTI6wxMenu
__ZTI9wxMenuBar
__ZTI15wxMessageDialog
__ZTI11wxMiniFrame
__ZTI10wxNotebook
__ZTI7wxPanel
__ZTI10wxPrintout
__ZTI16wxProgressDialog
__ZTI10wxRadioBox
__ZTI13wxRadioButton
__ZTI12wxSashWindow
__ZTI11wxScrollBar
__ZTI16wxScrolledWindow
__ZTI8wxSlider
__ZTI12wxSpinButton
__ZTI10wxSpinCtrl
__ZTI14wxSplashScreen
__ZTI20wxSplashScreenWindow
__ZTI16wxSplitterWindow
__ZTI14wxStaticBitmap
__ZTI11wxStaticBox
__ZTI12wxStaticLine
__ZTI12wxStaticText
__ZTI11wxStatusBar
__ZTI10wxTextCtrl
__ZTI17wxTextEntryDialog
__ZTI11wxTipWindow
__ZTI14wxToggleButton
__ZTI9wxToolBar
__ZTI10wxTreeCtrl
__ZTI10wxVListBox
__ZTI17wxVScrolledWindow
__ZTI8wxWindow
__ZTI8wxWizard
__ZTI18wxWizardPageSimple
__ZTI21wxMemoryFSHandlerBase
/usr/bin/libtool: internal link edit command failed
make[2]: *** [../../Bin/./wx-c.dylib] Error 1
make[1]: *** [wx-c] Error 2
make: *** [wxnet-core] Error 2


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click