From: <msz...@ya...> - 2007-02-08 07:56:16
|
Hi wxCoders! I hope you can help me. This might be a more c++ related question but I fee= l=20 that you are the only ones that can help me. HELP!!! :( I'm tryng to comile my component (wxActiveRecordGenerator: activerecord mod= ule=20 in wxCode CVS). I'm in Kubuntu using wx2.8 and gcc 4.1 and DatabaseLayer 1.6. I'm having=20 linking errors when doing a "make -f GNUmakefile". Hope you can help... Regards Mat=EDas. This is the output: btw: referencia a `vtable for xxxx' sin definir =3D undefined reference to= =20 `vtable for xxxx' All the methods are defined so I really don'tget the error messages...and = I=20 have no virtual functions. I should be getting linker errors against=20 DatabaseLayer because I haven't compiled it yet. gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function=20 `DatabaseConnectionDlg::DatabaseConnectionDlg(wxWindow*, int, wxString=20 const&, wxPoint const&, wxSize const&, long)': DatabaseConnectionDlg.cpp:(.text+0x27af): referencia a `vtable for=20 DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function=20 `DatabaseConnectionDlg::DatabaseConnectionDlg(wxWindow*, int, wxString=20 const&, wxPoint const&, wxSize const&, long)': DatabaseConnectionDlg.cpp:(.text+0x2827): referencia a `vtable for=20 DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function=20 `DatabaseConnectionDlg::DatabaseConnectionDlg()': DatabaseConnectionDlg.cpp:(.text+0x289e): referencia a `vtable for=20 DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function=20 `DatabaseConnectionDlg::DatabaseConnectionDlg()': DatabaseConnectionDlg.cpp:(.text+0x290e): referencia a `vtable for=20 DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function=20 `RelationPropertiesDlg::RelationPropertiesDlg(wxWindow*, int, wxString=20 const&, wxPoint const&, wxSize const&, long)': RelationPropertiesDlg.cpp:(.text+0x2223): referencia a `vtable for=20 RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function=20 `RelationPropertiesDlg::RelationPropertiesDlg(wxWindow*, int, wxString=20 const&, wxPoint const&, wxSize const&, long)': RelationPropertiesDlg.cpp:(.text+0x22e7): referencia a `vtable for=20 RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function=20 `RelationPropertiesDlg::RelationPropertiesDlg()': RelationPropertiesDlg.cpp:(.text+0x23aa): referencia a `vtable for=20 RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function=20 `RelationPropertiesDlg::RelationPropertiesDlg()': RelationPropertiesDlg.cpp:(.text+0x2446): referencia a `vtable for=20 RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::OnLoadClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x56a5): referencia a=20 `DatabaseConnectionDlg::GetActiveRecordGen() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::OnAboutClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x593e): referencia a=20 `wxActiveRecordGeneratorFrm::GetVersion() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::OnNewdatabaseClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x8de0): referencia a=20 `DatabaseConnectionDlg::GetActiveRecordGen() const' sin definir wxActiveRecordGeneratorFrm.cpp:(.text+0x8dfd): referencia a=20 `wxActiveRecordGeneratorFrm::GetVersion() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm(wxWindow*, int,=20 wxString const&, wxPoint const&, wxSize const&, long)': wxActiveRecordGeneratorFrm.cpp:(.text+0xe693): referencia a `vtable for=20 wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm(wxWindow*, int,=20 wxString const&, wxPoint const&, wxSize const&, long)': wxActiveRecordGeneratorFrm.cpp:(.text+0xe7e3): referencia a `vtable for=20 wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm()': wxActiveRecordGeneratorFrm.cpp:(.text+0xe933): referencia a `vtable for=20 wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm()': wxActiveRecordGeneratorFrm.cpp:(.text+0xea1b): referencia a `vtable for=20 wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function=20 `RelationPropertiesDlg::~RelationPropertiesDlg()': wxActiveRecordGeneratorFrm.cpp: (.text._ZN21RelationPropertiesDlgD1Ev[RelationPropertiesDlg::~RelationPrope= rtiesDlg()]+0x7):=20 referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGuiApp.o: In function=20 `WxActiveRecordGuiApp::OnInit()': wxActiveRecordGuiApp.cpp:(.text+0x3c3): referencia a=20 `wxActiveRecordGeneratorFrm::SetVersion(wxString)' sin definir collect2: ld returned 1 exit status __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |