lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Build fails with 'build_type=safestdlib'


From: Greg Chicares
Subject: [lmi] Build fails with 'build_type=safestdlib'
Date: Thu, 29 Mar 2007 18:51:00 +0000
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

It's really important to fix this. The libstdc++ flags
  -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_GLIBCXX_CONCEPT_CHECKS
help us to localize reported problems, and to prevent problem reports
by finding defects automatically ourselves in advance. On the rare
occasions when we need them, they're invaluable.

I'm using MinGW gcc as of 2005-08-27:

  C:/MinGW-20050827/bin[1]$./g++ -dumpversion
  3.4.4

and a wxWidgets-2006-12-04 snapshot, with this build command:

  C:/lmi/src/lmi[0]$make check_physical_closure install build_type=safestdlib 
>../log 2>&1

Here's the failing linker command and its diagnostics.

C:/MinGW-20050827//bin/g++ -o lmi_wx_shared.exe about_dialog.o alert_wx.o 
census_document.o census_view.o database_document.o database_view.o 
database_view_editor.o default_view.o docmanager_ex.o docmdichildframe_ex.o 
file_command_wx.o illustration_document.o illustration_view.o main_common.o 
main_wx.o msw_workarounds.o multidimgrid_any.o multidimgrid_tools.o 
mvc_controller.o mvc_view.o policy_document.o policy_view.o preferences_view.o 
previewframe_ex.o product_editor.o progress_meter_wx.o rounding_document.o 
rounding_view.o rounding_view_editor.o single_choice_popup_menu.o text_doc.o 
text_view.o tier_document.o tier_view.o tier_view_editor.o transferor.o 
view_ex.o wx_checks.o wx_utility.o lmi.rc.o liblmi.dll wx_new.dll -L . -L 
C:/opt/lmi/third_party/lib -L C:/opt/lmi/third_party/bin -L C:/usr/local/lib -L 
C:/usr/local/bin  -L c:/wx20061204/wxWidgets-2006-12-04/gcc344/lib  
-lwx_msw-2.8 -mwindows  -lxmlwrapp  -lxslt.dll -lxml2.dll        
-Wl,-Map,lmi_wx_shared.exe.map -Wl,--
disable-auto-import
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x320): undefined reference to `non-virtual 
thunk to wxChoice::GetCount() const'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x324): undefined reference to `non-virtual 
thunk to wxChoice::GetString(unsigned int) const'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x328): undefined reference to `non-virtual 
thunk to wxChoice::SetString(unsigned int, wxString const&)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x32c): undefined reference to `non-virtual 
thunk to wxChoice::FindString(wxString const&, bool) const'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x330): undefined reference to `non-virtual 
thunk to wxChoice::SetSelection(int)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x334): undefined reference to `non-virtual 
thunk to wxChoice::GetSelection() const'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x338): undefined reference to `non-virtual 
thunk to wxChoice::Clear()'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x33c): undefined reference to `non-virtual 
thunk to wxChoice::Delete(unsigned int)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x340): undefined reference to `non-virtual 
thunk to wxChoice::DoAppend(wxString const&)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x344): undefined reference to `non-virtual 
thunk to wxChoice::DoInsert(wxString const&, unsigned int)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x348): undefined reference to `non-virtual 
thunk to wxChoice::DoSetItemClientData(unsigned int, void*)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x34c): undefined reference to `non-virtual 
thunk to wxChoice::DoGetItemClientData(unsigned int) const'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x350): undefined reference to `non-virtual 
thunk to wxChoice::DoSetItemClientObject(unsigned int, wxClientData*)'
database_view_editor.o:database_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIiE[vtable
 for AxisMaxBoundAdjuster<int>]+0x354): undefined reference to `non-virtual 
thunk to wxChoice::DoGetItemClientObject(unsigned int) const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x31c): undefined reference to `non-virtual thunk 
to wxChoice::GetCount() const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x320): undefined reference to `non-virtual thunk 
to wxChoice::GetString(unsigned int) const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x324): undefined reference to `non-virtual thunk 
to wxChoice::SetString(unsigned int, wxString const&)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x328): undefined reference to `non-virtual thunk 
to wxChoice::FindString(wxString const&, bool) const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x32c): undefined reference to `non-virtual thunk 
to wxChoice::SetSelection(int)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x330): undefined reference to `non-virtual thunk 
to wxChoice::GetSelection() const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x334): undefined reference to `non-virtual thunk 
to wxChoice::Clear()'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x338): undefined reference to `non-virtual thunk 
to wxChoice::Delete(unsigned int)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x33c): undefined reference to `non-virtual thunk 
to wxChoice::DoAppend(wxString const&)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x340): undefined reference to `non-virtual thunk 
to wxChoice::DoInsert(wxString const&, unsigned int)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x344): undefined reference to `non-virtual thunk 
to wxChoice::DoSetItemClientData(unsigned int, void*)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x348): undefined reference to `non-virtual thunk 
to wxChoice::DoGetItemClientData(unsigned int) const'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x34c): undefined reference to `non-virtual thunk 
to wxChoice::DoSetItemClientObject(unsigned int, wxClientData*)'
multidimgrid_any.o:multidimgrid_any.cpp:(.rdata$_ZTV21MultiDimAxisAnyChoice[vtable
 for MultiDimAxisAnyChoice]+0x350): undefined reference to `non-virtual thunk 
to wxChoice::DoGetItemClientObject(unsigned int) const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x320): undefined reference to `non-virtual 
thunk to wxChoice::GetCount() const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x324): undefined reference to `non-virtual 
thunk to wxChoice::GetString(unsigned int) const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x328): undefined reference to `non-virtual 
thunk to wxChoice::SetString(unsigned int, wxString const&)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x32c): undefined reference to `non-virtual 
thunk to wxChoice::FindString(wxString const&, bool) const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x330): undefined reference to `non-virtual 
thunk to wxChoice::SetSelection(int)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x334): undefined reference to `non-virtual 
thunk to wxChoice::GetSelection() const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x338): undefined reference to `non-virtual 
thunk to wxChoice::Clear()'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x33c): undefined reference to `non-virtual 
thunk to wxChoice::Delete(unsigned int)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x340): undefined reference to `non-virtual 
thunk to wxChoice::DoAppend(wxString const&)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x344): undefined reference to `non-virtual 
thunk to wxChoice::DoInsert(wxString const&, unsigned int)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x348): undefined reference to `non-virtual 
thunk to wxChoice::DoSetItemClientData(unsigned int, void*)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x34c): undefined reference to `non-virtual 
thunk to wxChoice::DoGetItemClientData(unsigned int) const'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x350): undefined reference to `non-virtual 
thunk to wxChoice::DoSetItemClientObject(unsigned int, wxClientData*)'
multidimgrid_tools.o:multidimgrid_tools.cpp:(.rdata$_ZTV24AxisMaxBoundAdjusterBase[vtable
 for AxisMaxBoundAdjusterBase]+0x354): undefined reference to `non-virtual 
thunk to wxChoice::DoGetItemClientObject(unsigned int) const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x320): undefined reference to 
`non-virtual thunk to wxChoice::GetCount() const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x324): undefined reference to 
`non-virtual thunk to wxChoice::GetString(unsigned int) const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x328): undefined reference to 
`non-virtual thunk to wxChoice::SetString(unsigned int, wxString const&)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x32c): undefined reference to 
`non-virtual thunk to wxChoice::FindString(wxString const&, bool) const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x330): undefined reference to 
`non-virtual thunk to wxChoice::SetSelection(int)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x334): undefined reference to 
`non-virtual thunk to wxChoice::GetSelection() const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x338): undefined reference to 
`non-virtual thunk to wxChoice::Clear()'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x33c): undefined reference to 
`non-virtual thunk to wxChoice::Delete(unsigned int)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x340): undefined reference to 
`non-virtual thunk to wxChoice::DoAppend(wxString const&)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x344): undefined reference to 
`non-virtual thunk to wxChoice::DoInsert(wxString const&, unsigned int)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x348): undefined reference to 
`non-virtual thunk to wxChoice::DoSetItemClientData(unsigned int, void*)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x34c): undefined reference to 
`non-virtual thunk to wxChoice::DoGetItemClientData(unsigned int) const'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x350): undefined reference to 
`non-virtual thunk to wxChoice::DoSetItemClientObject(unsigned int, 
wxClientData*)'
tier_view_editor.o:tier_view_editor.cpp:(.rdata$_ZTV20AxisMaxBoundAdjusterIjE[vtable
 for AxisMaxBoundAdjuster<unsigned int>]+0x354): undefined reference to 
`non-virtual thunk to wxChoice::DoGetItemClientObject(unsigned int) const'
collect2: ld returned 1 exit status
make.EXE[1]: *** [lmi_wx_shared.exe] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]