Closed strusty closed 3 years ago
binary doesn't work. compile:
dependencies OK autogen.sh OK ./configure OK make is OK, all code compiles, but fails at what looks like linker, over something to do with wx:
g++ -g -O2 -o maitreya8.bin ApplicationWindow.o BarDiagram.o BasicSheetWidget.o BasicVedicChart.o BasicView.o BasicWesternChart.o BasicWidget.o ChartField.o ChildWindow.o ChildWindowListCtrl.o DasaTreeWidget.o Document.o GraphicalChart.o GraphicGrid.o guibase.o MenuProvider.o MultipleChildWindow.o PdfBase.o PdfPainter.o PdfTools.o PrintoutSheetCreator.o SarvatobhadraChart.o SheetWidget.o SheetWriter.o SplitterWidget.o Statusbar.o TextWidget.o ToolPanel.o TreeWidget.o VedicChart.o VedicRasiChart.o WesternChart.o YogaEditor.o ../views/libmaitreya_views.a ../jyotish/libjyotish.a ../dialogs/libmaitreya_dialogs.a ../base/libmaitreya_base.a ../wxJSON/libmaitreya_wxJSON.a ../swe/libswe.a ../wxsqlite3/libmaitreya_wxsqlite3.a ../wxpdfdoc/libmaitreya_wxpdfdoc.a -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lfontconfig -lfreetype /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x800): undefined reference to non-virtual thunk to wxTextCtrlBase::overflow(int)' /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x828): undefined reference tonon-virtual thunk to wxTextCtrl::GetLineLength(long) const' /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x830): undefined reference to `non-virtual thunk to wxTextCtrl::GetLineText(long) const' . . collect2: error: ld returned 1 exit status make[3]: [Makefile:487: maitreya8.bin] Error 1 make[3]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1/src/gui' make[2]: [Makefile:379: all-recursive] Error 1 make[2]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1/src' make[1]: [Makefile:499: all-recursive] Error 1 make[1]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1' make: [Makefile:398: all] Error 2
non-virtual thunk to wxTextCtrlBase::overflow(int)' /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x828): undefined reference to
binary doesn't work. compile:
dependencies OK autogen.sh OK ./configure OK make is OK, all code compiles, but fails at what looks like linker, over something to do with wx:
g++ -g -O2 -o maitreya8.bin ApplicationWindow.o BarDiagram.o BasicSheetWidget.o BasicVedicChart.o BasicView.o BasicWesternChart.o BasicWidget.o ChartField.o ChildWindow.o ChildWindowListCtrl.o DasaTreeWidget.o Document.o GraphicalChart.o GraphicGrid.o guibase.o MenuProvider.o MultipleChildWindow.o PdfBase.o PdfPainter.o PdfTools.o PrintoutSheetCreator.o SarvatobhadraChart.o SheetWidget.o SheetWriter.o SplitterWidget.o Statusbar.o TextWidget.o ToolPanel.o TreeWidget.o VedicChart.o VedicRasiChart.o WesternChart.o YogaEditor.o ../views/libmaitreya_views.a ../jyotish/libjyotish.a ../dialogs/libmaitreya_dialogs.a ../base/libmaitreya_base.a ../wxJSON/libmaitreya_wxJSON.a ../swe/libswe.a ../wxsqlite3/libmaitreya_wxsqlite3.a ../wxpdfdoc/libmaitreya_wxpdfdoc.a -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lfontconfig -lfreetype
/usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x800): undefined reference to
non-virtual thunk to wxTextCtrlBase::overflow(int)' /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x828): undefined reference to
non-virtual thunk to wxTextCtrl::GetLineLength(long) const' /usr/bin/ld: TreeWidget.o:(.data.rel.ro._ZTV14MyTreeTextCtrl[_ZTV14MyTreeTextCtrl]+0x830): undefined reference to `non-virtual thunk to wxTextCtrl::GetLineText(long) const' . . collect2: error: ld returned 1 exit status make[3]: [Makefile:487: maitreya8.bin] Error 1 make[3]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1/src/gui' make[2]: [Makefile:379: all-recursive] Error 1 make[2]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1/src' make[1]: [Makefile:499: all-recursive] Error 1 make[1]: Leaving directory '/home/sysadmin/test/maitreya8-8.0.1' make: [Makefile:398: all] Error 2