Hi wxCoders! I hope you can help me. This might be a more c++ related question but I feel that you are the only ones that can help me. HELP!!! :(
I'm tryng to comile my component (wxActiveRecordGenerator: activerecord module in wxCode CVS). I'm in Kubuntu using wx2.8 and gcc 4.1 and DatabaseLayer 1.6. I'm having linking errors when doing a "make -f GNUmakefile". Hope you can help... Regards Matías. This is the output: btw: referencia a `vtable for xxxx' sin definir = undefined reference to `vtable for xxxx' All the methods are defined so I really don'tget the error messages...and I have no virtual functions. I should be getting linker errors against DatabaseLayer because I haven't compiled it yet. gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function `DatabaseConnectionDlg::DatabaseConnectionDlg(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': DatabaseConnectionDlg.cpp:(.text+0x27af): referencia a `vtable for DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function `DatabaseConnectionDlg::DatabaseConnectionDlg(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': DatabaseConnectionDlg.cpp:(.text+0x2827): referencia a `vtable for DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function `DatabaseConnectionDlg::DatabaseConnectionDlg()': DatabaseConnectionDlg.cpp:(.text+0x289e): referencia a `vtable for DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_DatabaseConnectionDlg.o: In function `DatabaseConnectionDlg::DatabaseConnectionDlg()': DatabaseConnectionDlg.cpp:(.text+0x290e): referencia a `vtable for DatabaseConnectionDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function `RelationPropertiesDlg::RelationPropertiesDlg(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': RelationPropertiesDlg.cpp:(.text+0x2223): referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function `RelationPropertiesDlg::RelationPropertiesDlg(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': RelationPropertiesDlg.cpp:(.text+0x22e7): referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function `RelationPropertiesDlg::RelationPropertiesDlg()': RelationPropertiesDlg.cpp:(.text+0x23aa): referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_RelationPropertiesDlg.o: In function `RelationPropertiesDlg::RelationPropertiesDlg()': RelationPropertiesDlg.cpp:(.text+0x2446): referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::OnLoadClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x56a5): referencia a `DatabaseConnectionDlg::GetActiveRecordGen() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::OnAboutClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x593e): referencia a `wxActiveRecordGeneratorFrm::GetVersion() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::OnNewdatabaseClick(wxCommandEvent&)': wxActiveRecordGeneratorFrm.cpp:(.text+0x8de0): referencia a `DatabaseConnectionDlg::GetActiveRecordGen() const' sin definir wxActiveRecordGeneratorFrm.cpp:(.text+0x8dfd): referencia a `wxActiveRecordGeneratorFrm::GetVersion() const' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': wxActiveRecordGeneratorFrm.cpp:(.text+0xe693): referencia a `vtable for wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)': wxActiveRecordGeneratorFrm.cpp:(.text+0xe7e3): referencia a `vtable for wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm()': wxActiveRecordGeneratorFrm.cpp:(.text+0xe933): referencia a `vtable for wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `wxActiveRecordGeneratorFrm::wxActiveRecordGeneratorFrm()': wxActiveRecordGeneratorFrm.cpp:(.text+0xea1b): referencia a `vtable for wxActiveRecordGeneratorFrm' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGeneratorFrm.o: In function `RelationPropertiesDlg::~RelationPropertiesDlg()': wxActiveRecordGeneratorFrm.cpp: (.text._ZN21RelationPropertiesDlgD1Ev[RelationPropertiesDlg::~RelationPropertiesDlg()]+0x7): referencia a `vtable for RelationPropertiesDlg' sin definir gnu/wxActiveRecordGenerator_wxActiveRecordGuiApp.o: In function `WxActiveRecordGuiApp::OnInit()': wxActiveRecordGuiApp.cpp:(.text+0x3c3): referencia a `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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users