Trouble with wxWindows (XRC and STC linking problem) - Mailing list pgadmin-hackers

From Darko Prenosil
Subject Trouble with wxWindows (XRC and STC linking problem)
Date
Msg-id 002f01c347f0$5f84aec0$be8abfd5@darko
Whole thread Raw
List pgadmin-hackers
    I tried to compile pgadmin on MinGW and win2000, but without GTK.
There was only one change in configure script to make it possible, and one
in the code.

There is wyApp::setAuto3D call in the pgadmin, and according to wxWindows
core developers, it is deprecated (I posted a message to wxWindows group and
got this answer).

Now pgadmin compiles without problems, but there are few unresolved symbols
when linking.
I think that this is not pgadmin's problem, but I do not know where else to
ask. I posted list of link errors to wxWindows developer list(twice), but
until today, I didn't get an answer.
List of errors are same for wxWindows 2.4.1 and wxWindows from current CVS.
I even tried it with snapshot that pgadmin group proposed, with same result.

Here is a error list:

d:/mingw/lib/libwx_mswud_stc-2.5.a(stclib_stc.o): In function
`ZN16wxStyledTextCtrl18MarkerDefineBitmapEiRK8wxBitmap':
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:469: undefined reference to
`wxMemoryOutputStream::wxMemoryOutputStream(void*, unsigned)'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:474: undefined reference to
`wxMemoryOutputStream::CopyTo(void*, unsigned) const'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:477: undefined reference to
`wxMemoryOutputStream::~wxMemoryOutputStream()'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:477: undefined reference to
`wxMemoryOutputStream::~wxMemoryOutputStream()'

d:/mingw/lib/libwx_mswud_stc-2.5.a(stclib_stc.o): In function
`ZN16wxStyledTextCtrl13RegisterImageEiRK8wxBitmap':
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:852: undefined reference to
`wxMemoryOutputStream::wxMemoryOutputStream(void*, unsigned)'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:857: undefined reference to
`wxMemoryOutputStream::CopyTo(void*, unsigned) const'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:860: undefined reference to
`wxMemoryOutputStream::~wxMemoryOutputStream()'
D:/MinGW/src/wxwindows/contrib/src/stc/stc.cpp:860: undefined reference to
`wxMemoryOutputStream::~wxMemoryOutputStream()'

d:/mingw/lib/libwx_mswud_stc-2.5.a(stclib_PlatWX.o): In function
`ZN11ListBoxImpl13RegisterImageEiPKc':
D:/MinGW/src/wxwindows/contrib/src/stc/PlatWX.cpp:992: undefined reference
to `wxMemoryInputStream::wxMemoryInputStream(void const*, unsigned)'
D:/MinGW/src/wxwindows/contrib/src/stc/PlatWX.cpp:1009: undefined reference
to `wxMemoryInputStream::~wxMemoryInputStream()'
D:/MinGW/src/wxwindows/contrib/src/stc/PlatWX.cpp:1009: undefined reference
to `wxMemoryInputStream::~wxMemoryInputStream()'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_wizrd.o): In function
`ZN18wxWizardXmlHandler16DoCreateResourceEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:41: undefined reference
to `wxWizard::sm_classwxWizard'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:46: undefined reference
to `wxWizard::Create(wxWindow*, int, wxString const&, wxBitmap const&,
wxPoint const&)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:64: undefined reference
to `wxWizardPageSimple::sm_classwxWizardPageSimple'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:75: undefined reference
to `wxWizardPage::sm_classwxWizardPage'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:78: undefined reference
to `wxWizardPage::Create(wxWizard*, wxBitmap const&, wchar_t const*)'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_wizrd.o): In function
`ZNK12wxWindowList4FindERK9wxListKey':
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
N18wxWizardPageSimple6CreateEP8wxWizardP12wxWizardPageS3_RK8wxBitmapPKw+0x2b
): undefined reference to `wxWizardPage::Create(wxWizard*, wxBitmap const&,
wchar_t const*)'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
N8wxWizardC1Ev+0x61): undefined reference to `wxWizard::Init()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.data$_Z
TV8wxWizard+0x2c): undefined reference to `wxWizard::GetEventTable() const'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_wizrd.o): In function
`ZN18wxWizardXmlHandlerC1Ev':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::RunWizard(wxWizardPage*)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::GetCurrentPage() const'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::SetPageSize(wxSize const&)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::GetPageSize() const'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::FitToPage(wxWizardPage const*)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:35: undefined reference
to `wxWizard::DoCreateControls()'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:34: undefined reference
to `wxWizardPageSimple::GetPrev() const'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_wizrd.cpp:34: undefined reference
to `wxWizardPageSimple::GetNext() const'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_wizrd.o): In function
`ZNK12wxWindowList4FindERK9wxListKey':
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
N12wxWizardPageC2Ev+0x39): undefined reference to `wxWizardPage::Init()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
NK18wxWizardPageSimple12GetClassInfoEv+0x4): undefined reference to
`wxWizardPageSimple::sm_classwxWizardPageSimple'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
NK8wxWizard12GetClassInfoEv+0x4): undefined reference to
`wxWizard::sm_classwxWizard'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/window.h(.text$_Z
NK12wxWizardPage12GetClassInfoEv+0x4): undefined reference to
`wxWizardPage::sm_classwxWizardPage'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_gdctl.o): In function
`ZN26wxGenericDirCtrlXmlHandler16DoCreateResourceEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gdctl.cpp:43: undefined reference
to `wxGenericDirCtrl::sm_classwxGenericDirCtrl'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gdctl.cpp:43: undefined reference
to `wxGenericDirCtrl::wxGenericDirCtrl()'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gdctl.cpp:45: undefined reference
to `wxGenericDirCtrl::Create(wxWindow*, int, wxString const&, wxPoint
const&, wxSize const&, long, wxString const&, int, wxString const&)'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_gauge.o): In function
`ZN17wxGaugeXmlHandler16DoCreateResourceEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:41: undefined reference
to `wxGauge95::sm_classwxGauge95'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:43: undefined reference
to `wxGauge95::Create(wxWindow*, int, int, wxPoint const&, wxSize const&,
long, wxValidator const&, wxString const&)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:53: undefined reference
to `wxGauge95::SetValue(int)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:57: undefined reference
to `wxGauge95::SetShadowWidth(int)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:61: undefined reference
to `wxGauge95::SetBezelFace(int)'
d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_gauge.o): In function
`ZN17wxGaugeXmlHandlerC2Ev':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:30: undefined reference
to `wxGauge95::SetBackgroundColour(wxColour const&)'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_gauge.cpp:30: undefined reference
to `wxGauge95::SetForegroundColour(wxColour const&)'
d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_gauge.o): In function
`ZNK12wxStringData7IsValidEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.text$_Z
NK9wxGauge9512GetClassInfoEv+0x4): undefined reference to
`wxGauge95::sm_classwxGauge95'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_chckl.o): In function
`ZN21wxCheckListXmlHandler16DoCreateResourceEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_chckl.cpp:53: undefined reference
to `wxCheckListBox::sm_classwxCheckListBox'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_chckl.cpp:53: undefined reference
to `wxCheckListBox::wxCheckListBox()'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_chckl.cpp:55: undefined reference
to `wxCheckListBox::Create(wxWindow*, int, wxPoint const&, wxSize const&,
int, wxString const*, long, wxValidator const&, wxString const&)'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_cald.o): In function
`ZN24wxCalendarCtrlXmlHandler16DoCreateResourceEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_cald.cpp:46: undefined reference
to `wxCalendarCtrl::sm_classwxCalendarCtrl'
D:/MinGW/src/wxwindows/contrib/src/xrc/xh_cald.cpp:48: undefined reference
to `wxCalendarCtrl::Create(wxWindow*, int, wxDateTime const&, wxPoint
const&, wxSize const&, long, wxString const&)'

d:/mingw/lib/libwx_mswud_xrc-2.5.a(xrclib_xh_cald.o): In function
`ZNK12wxStringData7IsValidEv':
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.text$_Z
N14wxCalendarCtrlC1Ev+0x188): undefined reference to
`wxCalendarCtrl::Init()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0xc): undefined reference to
`wxCalendarCtrl::~wxCalendarCtrl()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x10): undefined reference to
`wxCalendarCtrl::~wxCalendarCtrl()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x2c): undefined reference to
`wxCalendarCtrl::GetEventTable() const'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x40): undefined reference to `wxCalendarCtrl::Destroy()'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x90): undefined reference to
`wxCalendarCtrl::Show(bool)'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x94): undefined reference to
`wxCalendarCtrl::Enable(bool)'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x1a4): undefined reference to
`wxCalendarCtrl::DoGetPosition(int*, int*) const'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x1a8): undefined reference to
`wxCalendarCtrl::DoGetSize(int*, int*) const'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x1b0): undefined reference to
`wxCalendarCtrl::DoGetBestSize() const'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x1b4): undefined reference to
`wxCalendarCtrl::DoSetSize(int, int, int, int, int)'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.data$_Z
TV14wxCalendarCtrl+0x1bc): undefined reference to
`wxCalendarCtrl::DoMoveWindow(int, int, int, int)'
D:/MinGW/src/wxwindows/contrib/src/xrc/../../../include/wx/string.h(.text$_Z
NK14wxCalendarCtrl12GetClassInfoEv+0x4): undefined reference to
`wxCalendarCtrl::sm_classwxCalendarCtrl'
make[2]: *** [pgadmin3.exe] Error 1

What this means ? Compilation of /contrib/xrc and /contrib/stc went OK !
Any help appreciated !

Regards !



pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: French translation
Next
From: "Dave Page"
Date:
Subject: Re: Trouble with wxWindows (XRC and STC linking problem)