Page 1 of 1

Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 6:29 am
by dugbug
Hello codelite folks:

I have compiled and installed wxWidgets 2.8.12 on centos 5.5 and the widget sample demos compile and run fine. wx-config:
gtk2-unicode-release-static-2.8

Now I desperately want to compile codelite. I am building v3.5.5375..

It configures without complaint, and gets quite far into compilation until it hits pptable.cpp. If anyone has any ideas, please reply!

Code: Select all

Release/codelite_indexer_objects_pptable.o: In function `IsWordChar(wxString const&, int)':
pptable.cpp:(.text+0x84): undefined reference to `wxStringBase::find_first_of(wchar_t const*, unsigned int) const'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::fullname() const':
pptable.cpp:(.text+0x69c): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x6d2): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x705): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x737): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x74e): undefined reference to `wxString::Format(wchar_t const*, ...)'
pptable.cpp:(.text+0x76b): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x7d6): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::print(wxFFile&)':
pptable.cpp:(.text+0x863): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x887): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x89e): undefined reference to `wxString::Format(wchar_t const*, ...)'
pptable.cpp:(.text+0x8bb): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x8f9): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x91d): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x937): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x95b): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x97f): undefined reference to `wxString::mb_str(wxMBConv const&) const'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::expandOnce(wxArrayString const&)':
pptable.cpp:(.text+0xb56): undefined reference to `wxString::Find(wchar_t const*) const'
pptable.cpp:(.text+0xbd1): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0xbe8): undefined reference to `wxString::Format(wchar_t const*, ...)'
pptable.cpp:(.text+0xc08): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0xc7e): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
Release/codelite_indexer_objects_pptable.o: In function `TokenizeWords(wxString const&)':
pptable.cpp:(.text+0x196d): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
pptable.cpp:(.text+0x19cb): undefined reference to `wxStringBase::operator=(wchar_t)'
pptable.cpp:(.text+0x19dd): undefined reference to `wxStringBase::operator=(wchar_t)'
pptable.cpp:(.text+0x1a14): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x1a76): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
pptable.cpp:(.text+0x1a9f): undefined reference to `wxStringBase::operator=(wchar_t)'
Release/codelite_indexer_objects_pptable.o: In function `ReplaceWord(wxString const&, wxString const&, wxString const&)':
pptable.cpp:(.text+0x1c2e): undefined reference to `wxStringBase::operator=(wchar_t)'
pptable.cpp:(.text+0x1c48): undefined reference to `wxStringBase::operator=(wchar_t)'
pptable.cpp:(.text+0x1c84): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x1cb2): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
pptable.cpp:(.text+0x1d0e): undefined reference to `wxStringBase::operator=(wchar_t)'
pptable.cpp:(.text+0x1d30): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x1d8a): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x1db4): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
pptable.cpp:(.text+0x1e23): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x1e51): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::readInitList(wxString const&, int, wxString&, wxArrayString&)':
pptable.cpp:(.text+0x2000): undefined reference to `wxString::Find(wchar_t const*) const'
pptable.cpp:(.text+0x2083): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x20b1): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x20f9): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x212c): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x2155): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x21ad): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x21d0): undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
pptable.cpp:(.text+0x2219): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::signature() const':
pptable.cpp:(.text+0x2398): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x23d0): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x2402): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x2419): undefined reference to `wxString::Format(wchar_t const*, ...)'
pptable.cpp:(.text+0x2436): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x249d): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::squeeze()':
pptable.cpp:(.text+0x2714): undefined reference to `wxString::Find(wchar_t const*) const'
pptable.cpp:(.text+0x27c8): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
pptable.cpp:(.text+0x27e8): undefined reference to `wxStringBase::insert(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x28da): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
pptable.cpp:(.text+0x295f): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
Release/codelite_indexer_objects_pptable.o: In function `CLReplacePattern(wxString const&, wxString const&, wxString const&, wxString&)':
pptable.cpp:(.text+0x2c1b): undefined reference to `wxString::Find(wchar_t const*) const'
pptable.cpp:(.text+0x2c50): undefined reference to `wxString::BeforeFirst(wchar_t) const'
pptable.cpp:(.text+0x2c65): undefined reference to `wxString::Find(wchar_t const*) const'
pptable.cpp:(.text+0x2d01): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
pptable.cpp:(.text+0x2d53): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x2d6a): undefined reference to `wxString::Format(wchar_t const*, ...)'
pptable.cpp:(.text+0x2d87): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x2e1c): undefined reference to `wxStringBase::insert(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x2ea1): undefined reference to `wxString::Find(wchar_t const*) const'
Release/codelite_indexer_objects_pptable.o: In function `PPToken::processArgs(wxString const&)':
pptable.cpp:(.text+0x304c): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
pptable.cpp:(.text+0x30f0): undefined reference to `wxString::Format(wchar_t const*, ...)'
Release/codelite_indexer_objects_pptable.o: In function `PPTable::Export()':
pptable.cpp:(.text+0x327c): undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
pptable.cpp:(.text+0x32c7): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x32ee): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x330b): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x3332): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x3418): undefined reference to `wxStringBase::find(wchar_t, unsigned int) const'
pptable.cpp:(.text+0x343c): undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
pptable.cpp:(.text+0x3473): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x349a): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x34b7): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x34de): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
pptable.cpp:(.text+0x3538): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)'
Release/codelite_indexer_objects_pptable.o:pptable.cpp:(.text+0x355f): more undefined references to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned int)' follow
Release/codelite_indexer_objects_utils.o: In function `ctagsReplacements':
utils.cpp:(.text+0x6f4): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'
utils.cpp:(.text+0x710): undefined reference to `wxString::wxString(char const*, wxMBConv const&, unsigned int)'
utils.cpp:(.text+0x7c8): undefined reference to `wxString::BeforeFirst(wchar_t) const'
utils.cpp:(.text+0x7e5): undefined reference to `wxString::AfterFirst(wchar_t) const'
utils.cpp:(.text+0x859): undefined reference to `wxString::mb_str(wxMBConv const&) const'
utils.cpp:(.text+0x897): undefined reference to `wxString::mb_str(wxMBConv const&) const'
collect2: ld returned 1 exit status
make[1]: *** [codelite_indexer] Error 1
make[1]: Leaving directory `/home/lemv/dev/codelite-3.5.5375/sdk/codelite_indexer'
make: *** [codelite_indexer] Error 2

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 10:20 am
by eranif
If anyone has any ideas, please reply!
Please post the build log - the full build log please.

viewtopic.php?f=3&t=804

Eran

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 2:20 pm
by DavidGH
Hi,

I've no centos experience, but fwiw v3.5.5375 builds fine on fedora and elsewhere using the distros' wx, and (at least on debian) using wxGTK-2.8.12.

How did you configure wx? Did you use any extra options e.g. --with-stl or --prefix=<somewhere>? Do you have any other versions of wx installed?

How did you configure CodeLite?

Regards,

David

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 3:53 pm
by dugbug
Hi guys, thanks for stepping in to help!

Sorry about the log file. Where is there a build log for this? If I type make at this moment what I posted is all that is shown. I could do a make clean and post.

I did not specify any configuration for codelite, but I did for wxwidgets:
--enable-monolith --disable-share --enable-unicode --enable-gtk2

I tried using --enable-std-string since this was a string-related error of some sort.

many thanks
d

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 5:18 pm
by Jarod42
Note that it is not a compile error but a link error,
so it is in the linker option where the problem should be.
I would say that you use the non-unicode library of wxwidgets.

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 5:24 pm
by dugbug
Ok I will try that.

I started out non-unicode but codelite's configure continuously complained about missing unicode,debug configuration.

-d

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 6:56 pm
by dugbug
I took a slightly different tact: I uninstalled wx-widgets and did
yum install wxGTK
which installed wxGTK 2.8.12 for centos 5.5. I also yum'ed wxGTK-devel (again 2.8.12).

I then reconfigured and remaked codelite. It now stops here. I guess the good news is that it appears not related to wxwidgets.

Any ideas?

Code: Select all

----------Building project:[ DatabaseExplorer - Release_gcc_unicode ]----------

g++    -O3 -DREGEXP_UNICODE   -fPIC  -shared  -o ../lib/DatabaseExplorer.so Release_gcc_unicode/DatabaseExplorerObjects_AdapterSelectDlg.o Release_gcc_unicode/DatabaseExplorerObjects_ClassGenerateDialog.o Release_gcc_unicode/DatabaseExplorerObjects_CodePreviewDialog.o Release_gcc_unicode/DatabaseExplorerObjects_column.o Release_gcc_unicode/DatabaseExplorerObjects_constraint.o Release_gcc_unicode/DatabaseExplorerObjects_CreateForeignKey.o Release_gcc_unicode/DatabaseExplorerObjects_database.o Release_gcc_unicode/DatabaseExplorerObjects_databaseexplorer.o Release_gcc_unicode/DatabaseExplorerObjects_dbconnection.o Release_gcc_unicode/DatabaseExplorerObjects_dbeclasstype.o Release_gcc_unicode/DatabaseExplorerObjects_db_explorer_settings.o Release_gcc_unicode/DatabaseExplorerObjects_dbitem.o Release_gcc_unicode/DatabaseExplorerObjects_DbSettingDialog.o Release_gcc_unicode/DatabaseExplorerObjects_DbViewerPanel.o Release_gcc_unicode/DatabaseExplorerObjects_DnDTableShape.o Release_gcc_unicode/DatabaseExplorerObjects_dumpclass.o Release_gcc_unicode/DatabaseExplorerObjects_ErdCommitWizard.o Release_gcc_unicode/DatabaseExplorerObjects_ErdForeignKey.o Release_gcc_unicode/DatabaseExplorerObjects_ErdPanel.o Release_gcc_unicode/DatabaseExplorerObjects_ErdTable.o Release_gcc_unicode/DatabaseExplorerObjects_ErdView.o Release_gcc_unicode/DatabaseExplorerObjects_FrameCanvas.o Release_gcc_unicode/DatabaseExplorerObjects_GUI.o Release_gcc_unicode/DatabaseExplorerObjects_IDbItem.o Release_gcc_unicode/DatabaseExplorerObjects_Ids.o Release_gcc_unicode/DatabaseExplorerObjects_imageexportdialog.o Release_gcc_unicode/DatabaseExplorerObjects_LogDialog.o Release_gcc_unicode/DatabaseExplorerObjects_MySqlDbAdapter.o Release_gcc_unicode/DatabaseExplorerObjects_MySqlType.o Release_gcc_unicode/DatabaseExplorerObjects_NArrow.o Release_gcc_unicode/DatabaseExplorerObjects_OneArrow.o Release_gcc_unicode/DatabaseExplorerObjects_PostgreSqlDbAdapter.o Release_gcc_unicode/DatabaseExplorerObjects_PostgreSqlType.o Release_gcc_unicode/DatabaseExplorerObjects_SqlCommandPanel.o Release_gcc_unicode/DatabaseExplorerObjects_SqliteDbAdapter.o Release_gcc_unicode/DatabaseExplorerObjects_SqliteType.o Release_gcc_unicode/DatabaseExplorerObjects_table.o Release_gcc_unicode/DatabaseExplorerObjects_TableSettingsDialog.o Release_gcc_unicode/DatabaseExplorerObjects_view.o Release_gcc_unicode/DatabaseExplorerObjects_ViewSettings.o Release_gcc_unicode/DatabaseExplorerObjects_wx_pch.o  -L../lib -pthread   -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8  -Wl,--no-as-needed -L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L../lib -lpluginu -lcodeliteu -lwxscintillau -lwxshapeframeworku -ldblayersqliteu -lutil
cp -f ../lib/DatabaseExplorer.so ../Runtime/plugins/.
make[1]: Leaving directory `/home/lemv/dev/codelite-3.5.5375/DatabaseExplorer'
g++    -O3 -DREGEXP_UNICODE   -o Runtime/codelite Release_gcc_unicode/LiteEditorObjects_aboutdlgbase.o Release_gcc_unicode/LiteEditorObjects_aboutdlg.o Release_gcc_unicode/LiteEditorObjects_acceltablebasedlg.o Release_gcc_unicode/LiteEditorObjects_acceltabledlg.o Release_gcc_unicode/LiteEditorObjects_addincludefiledlgbase.o Release_gcc_unicode/LiteEditorObjects_addincludefiledlg.o Release_gcc_unicode/LiteEditorObjects_addoptioncheckdlgbase.o Release_gcc_unicode/LiteEditorObjects_addoptioncheckdlg.o Release_gcc_unicode/LiteEditorObjects_add_option_dialog.o Release_gcc_unicode/LiteEditorObjects_advanced_settings.o Release_gcc_unicode/LiteEditorObjects_app.o Release_gcc_unicode/LiteEditorObjects_attachdbgprocbasedlg.o Release_gcc_unicode/LiteEditorObjects_attachdbgprocdlg.o Release_gcc_unicode/LiteEditorObjects_batchbuildbasedlg.o Release_gcc_unicode/LiteEditorObjects_batchbuilddlg.o Release_gcc_unicode/LiteEditorObjects_breakpoint_dlg_base.o Release_gcc_unicode/LiteEditorObjects_breakpointdlg.o Release_gcc_unicode/LiteEditorObjects_breakpointpropertiesdlg.o Release_gcc_unicode/LiteEditorObjects_breakpointsmgr.o Release_gcc_unicode/LiteEditorObjects_buidltab.o Release_gcc_unicode/LiteEditorObjects_buildorderbasepage.o Release_gcc_unicode/LiteEditorObjects_build_page.o Release_gcc_unicode/LiteEditorObjects_buildsettingstabbase.o Release_gcc_unicode/LiteEditorObjects_buildsettingstab.o Release_gcc_unicode/LiteEditorObjects_buildtabsettingsdata.o Release_gcc_unicode/LiteEditorObjects_cc_advance_page.o Release_gcc_unicode/LiteEditorObjects_cc_boxbase.o Release_gcc_unicode/LiteEditorObjects_cc_box.o Release_gcc_unicode/LiteEditorObjects_ccboxmainpanel.o Release_gcc_unicode/LiteEditorObjects_cc_clang_page.o Release_gcc_unicode/LiteEditorObjects_cc_colourise_page.o Release_gcc_unicode/LiteEditorObjects_cc_display_and_behavior_page.o Release_gcc_unicode/LiteEditorObjects_cc_include_files.o Release_gcc_unicode/LiteEditorObjects_cc_triggering_page.o Release_gcc_unicode/LiteEditorObjects_ccvirtuallistctrl.o Release_gcc_unicode/LiteEditorObjects_checkdirtreectrl.o Release_gcc_unicode/LiteEditorObjects_checktreectrl.o Release_gcc_unicode/LiteEditorObjects_clang_code_completion.o Release_gcc_unicode/LiteEditorObjects_clang_driver.o Release_gcc_unicode/LiteEditorObjects_clangpch_cache.o Release_gcc_unicode/LiteEditorObjects_clang_pch_maker_thread.o Release_gcc_unicode/LiteEditorObjects_clang_result_lexer.o Release_gcc_unicode/LiteEditorObjects_clang_result_parser.o Release_gcc_unicode/LiteEditorObjects_clauidockart.o Release_gcc_unicode/LiteEditorObjects_cl_editor.o Release_gcc_unicode/LiteEditorObjects_close_all_dlg.o Release_gcc_unicode/LiteEditorObjects_code_completion_manager.o Release_gcc_unicode/LiteEditorObjects_code_completion_page.o Release_gcc_unicode/LiteEditorObjects_colourrequest.o Release_gcc_unicode/LiteEditorObjects_colourthread.o Release_gcc_unicode/LiteEditorObjects_commentpagebase.o Release_gcc_unicode/LiteEditorObjects_commentpage.o Release_gcc_unicode/LiteEditorObjects_compileradvancepage.o Release_gcc_unicode/LiteEditorObjects_compilercompileroptionspage.o Release_gcc_unicode/LiteEditorObjects_compilerfiletypespage.o Release_gcc_unicode/LiteEditorObjects_compilerlinkeroptionspage.o Release_gcc_unicode/LiteEditorObjects_compiler_pages.o Release_gcc_unicode/LiteEditorObjects_compilerpatternspage.o Release_gcc_unicode/LiteEditorObjects_compilerswitchespage.o Release_gcc_unicode/LiteEditorObjects_compilertoolspage.o Release_gcc_unicode/LiteEditorObjects_configuration_manager_base_dlg.o Release_gcc_unicode/LiteEditorObjects_configuration_manager_dlg.o Release_gcc_unicode/LiteEditorObjects_console_frame.o Release_gcc_unicode/LiteEditorObjects_context_base.o Release_gcc_unicode/LiteEditorObjects_context_cpp.o Release_gcc_unicode/LiteEditorObjects_context_diff.o Release_gcc_unicode/LiteEditorObjects_context_html.o Release_gcc_unicode/LiteEditorObjects_context_manager.o Release_gcc_unicode/LiteEditorObjects_cpp_symbol_tree.o Release_gcc_unicode/LiteEditorObjects_customstatusbar.o Release_gcc_unicode/LiteEditorObjects_dbcontentcacher.o Release_gcc_unicode/LiteEditorObjects_dbgcommandbasedlg.o Release_gcc_unicode/LiteEditorObjects_dbgcommanddlg.o Release_gcc_unicode/LiteEditorObjects_debugcoredumpbase.o Release_gcc_unicode/LiteEditorObjects_debugcoredump.o Release_gcc_unicode/LiteEditorObjects_debugcoredumpinfo.o Release_gcc_unicode/LiteEditorObjects_debuggerasciiviewerbase.o Release_gcc_unicode/LiteEditorObjects_debuggerasciiviewer.o Release_gcc_unicode/LiteEditorObjects_debuggerpane.o Release_gcc_unicode/LiteEditorObjects_debugger_predefined_types_page.o Release_gcc_unicode/LiteEditorObjects_debuggersettingsbasedlg.o Release_gcc_unicode/LiteEditorObjects_debuggersettingsdlg.o Release_gcc_unicode/LiteEditorObjects_debuggertip.o Release_gcc_unicode/LiteEditorObjects_depend_dlg_page.o Release_gcc_unicode/LiteEditorObjects_depends_dlg.o Release_gcc_unicode/LiteEditorObjects_dialogspagebase.o Release_gcc_unicode/LiteEditorObjects_editcmpfileinfobase.o Release_gcc_unicode/LiteEditorObjects_editcmpfileinfodlg.o Release_gcc_unicode/LiteEditorObjects_edit_configuration.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralcodenavpanelbase.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralcodenavpanel.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralguidespanelbase.o Release_gcc_unicode/LiteEditorObjects_editor_options_general_guides_panel.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralindentationpanel.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralindetationpanelbase.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralrightmarginpanelbase.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralrightmarginpanel.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralsavepanelbase.o Release_gcc_unicode/LiteEditorObjects_editoroptionsgeneralsavepanel.o Release_gcc_unicode/LiteEditorObjects_editorsettingsbookmarksbasepanel.o Release_gcc_unicode/LiteEditorObjects_editorsettingsbookmarkspanel.o Release_gcc_unicode/LiteEditorObjects_editorsettingscaretbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingscaret.o Release_gcc_unicode/LiteEditorObjects_editorsettingscommentsbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingscomments.o Release_gcc_unicode/LiteEditorObjects_editorsettingscommentsdoxygenpanelbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingscommentsdoxygenpanel.o Release_gcc_unicode/LiteEditorObjects_editorsettingsdialogsbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingsdialogs.o Release_gcc_unicode/LiteEditorObjects_editorsettingsdockingwidows.o Release_gcc_unicode/LiteEditorObjects_editorsettingsdockingwindowsbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingsfoldingbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingsfolding.o Release_gcc_unicode/LiteEditorObjects_editorsettingslocalbase.o Release_gcc_unicode/LiteEditorObjects_editorsettingslocal.o Release_gcc_unicode/LiteEditorObjects_editorsettingsmiscbasepanel.o Release_gcc_unicode/LiteEditorObjects_editorsettingsmiscpanel.o Release_gcc_unicode/LiteEditorObjects_editorsettings_terminal_base.o Release_gcc_unicode/LiteEditorObjects_editorsettingsterminal.o Release_gcc_unicode/LiteEditorObjects_edit_workspace_conf_dlg.o Release_gcc_unicode/LiteEditorObjects_env_var_dlg_base.o Release_gcc_unicode/LiteEditorObjects_envvar_dlg.o Release_gcc_unicode/LiteEditorObjects_envvar_table.o Release_gcc_unicode/LiteEditorObjects_errorstab.o Release_gcc_unicode/LiteEditorObjects_filechecklistbase.o Release_gcc_unicode/LiteEditorObjects_filechecklist.o Release_gcc_unicode/LiteEditorObjects_filedroptarget.o Release_gcc_unicode/LiteEditorObjects_fileexplorer.o Release_gcc_unicode/LiteEditorObjects_fileexplorertree.o Release_gcc_unicode/LiteEditorObjects_filehistory.o Release_gcc_unicode/LiteEditorObjects_fileview.o Release_gcc_unicode/LiteEditorObjects_findinfilesdlgbase.o Release_gcc_unicode/LiteEditorObjects_findinfilesdlg.o Release_gcc_unicode/LiteEditorObjects_findreplacedlg.o Release_gcc_unicode/LiteEditorObjects_findresultstab.o Release_gcc_unicode/LiteEditorObjects_findusagetab.o Release_gcc_unicode/LiteEditorObjects_frame.o Release_gcc_unicode/LiteEditorObjects_free_text_dialog.o Release_gcc_unicode/LiteEditorObjects_generalinfo.o Release_gcc_unicode/LiteEditorObjects_generic_context.o Release_gcc_unicode/LiteEditorObjects_iconsextra.o Release_gcc_unicode/LiteEditorObjects_implementparentvirtualfunctionsbase.o Release_gcc_unicode/LiteEditorObjects_implement_parent_virtual_functions.o Release_gcc_unicode/LiteEditorObjects_importfilesdialog.o Release_gcc_unicode/LiteEditorObjects_importfilessettings.o Release_gcc_unicode/LiteEditorObjects_keyboardmanager.o Release_gcc_unicode/LiteEditorObjects_lexer_page.o Release_gcc_unicode/LiteEditorObjects_listctrlpanelbase.o Release_gcc_unicode/LiteEditorObjects_listctrlpanel.o Release_gcc_unicode/LiteEditorObjects_localstable.o Release_gcc_unicode/LiteEditorObjects_macromanager.o Release_gcc_unicode/LiteEditorObjects_mainbook.o Release_gcc_unicode/LiteEditorObjects_manage_perspective_dlg.o Release_gcc_unicode/LiteEditorObjects_manageperspectivesbasedlg.o Release_gcc_unicode/LiteEditorObjects_manager.o Release_gcc_unicode/LiteEditorObjects_memoryviewbase.o Release_gcc_unicode/LiteEditorObjects_memoryview.o Release_gcc_unicode/LiteEditorObjects_menu_event_handlers.o Release_gcc_unicode/LiteEditorObjects_menumanager.o Release_gcc_unicode/LiteEditorObjects_messagepane_base.o Release_gcc_unicode/LiteEditorObjects_message_pane.o Release_gcc_unicode/LiteEditorObjects_movefuncimplbasedlg.o Release_gcc_unicode/LiteEditorObjects_movefuncimpldlg.o Release_gcc_unicode/LiteEditorObjects_navbarbase.o Release_gcc_unicode/LiteEditorObjects_navbar.o Release_gcc_unicode/LiteEditorObjects_new_configuration_dlg.o Release_gcc_unicode/LiteEditorObjects_new_item_base_dlg.o Release_gcc_unicode/LiteEditorObjects_new_item_dlg.o Release_gcc_unicode/LiteEditorObjects_newkeyshortcutbasedlg.o Release_gcc_unicode/LiteEditorObjects_newkeyshortcutdlg.o Release_gcc_unicode/LiteEditorObjects_newprojectbasedlg.o Release_gcc_unicode/LiteEditorObjects_newprojectdlg.o Release_gcc_unicode/LiteEditorObjects_newquickwatch.o Release_gcc_unicode/LiteEditorObjects_new_quick_watch_dlg.o Release_gcc_unicode/LiteEditorObjects_newversionbasedlg.o Release_gcc_unicode/LiteEditorObjects_newversiondlg.o Release_gcc_unicode/LiteEditorObjects_newworkspacebasedlg.o Release_gcc_unicode/LiteEditorObjects_newworkspacedlg.o Release_gcc_unicode/LiteEditorObjects_openwindowspanelbase.o Release_gcc_unicode/LiteEditorObjects_openwindowspanel.o Release_gcc_unicode/LiteEditorObjects_options_base_dlg2.o Release_gcc_unicode/LiteEditorObjects_options_dlg2.o Release_gcc_unicode/LiteEditorObjects_output_pane.o Release_gcc_unicode/LiteEditorObjects_outputtabwindow.o Release_gcc_unicode/LiteEditorObjects_perspectivemanager.o Release_gcc_unicode/LiteEditorObjects_plugindlgbase.o Release_gcc_unicode/LiteEditorObjects_pluginmanager.o Release_gcc_unicode/LiteEditorObjects_pluginmgrdlg.o Release_gcc_unicode/LiteEditorObjects_project_settings_base_dlg.o Release_gcc_unicode/LiteEditorObjects_project_settings_dlg.o Release_gcc_unicode/LiteEditorObjects_ps_build_events_page.o Release_gcc_unicode/LiteEditorObjects_ps_compiler_page.o Release_gcc_unicode/LiteEditorObjects_ps_completion_page.o Release_gcc_unicode/LiteEditorObjects_ps_custom_build_page.o Release_gcc_unicode/LiteEditorObjects_ps_custom_makefile_rules_page.o Release_gcc_unicode/LiteEditorObjects_ps_debugger_page.o Release_gcc_unicode/LiteEditorObjects_ps_environment_page.o Release_gcc_unicode/LiteEditorObjects_ps_general_page.o Release_gcc_unicode/LiteEditorObjects_ps_linker_page.o Release_gcc_unicode/LiteEditorObjects_ps_resources_page.o Release_gcc_unicode/LiteEditorObjects_quickdebugbase.o Release_gcc_unicode/LiteEditorObjects_quickdebugdlg.o Release_gcc_unicode/LiteEditorObjects_quickfindbarbase.o Release_gcc_unicode/LiteEditorObjects_quickfindbar.o Release_gcc_unicode/LiteEditorObjects_quickoutlinedlg.o Release_gcc_unicode/LiteEditorObjects_refactorindexbuildjob.o Release_gcc_unicode/LiteEditorObjects_renamesymbolbase.o Release_gcc_unicode/LiteEditorObjects_renamesymboldlg.o Release_gcc_unicode/LiteEditorObjects_replaceinfilespanel.o Release_gcc_unicode/LiteEditorObjects_resources.o Release_gcc_unicode/LiteEditorObjects_save_perspective_as_dlg.o Release_gcc_unicode/LiteEditorObjects_setters_getters_base_dlg.o Release_gcc_unicode/LiteEditorObjects_setters_getters_dlg.o Release_gcc_unicode/LiteEditorObjects_settersgetterstreectrl.o Release_gcc_unicode/LiteEditorObjects_shelltab.o Release_gcc_unicode/LiteEditorObjects_simpletablebase.o Release_gcc_unicode/LiteEditorObjects_simpletable.o Release_gcc_unicode/LiteEditorObjects_singleinstancethreadjob.o Release_gcc_unicode/LiteEditorObjects_stack_walker.o Release_gcc_unicode/LiteEditorObjects_stringhighlighterjob.o Release_gcc_unicode/LiteEditorObjects_svninfo.o Release_gcc_unicode/LiteEditorObjects_symbols_dialog_base.o Release_gcc_unicode/LiteEditorObjects_symbols_dialog.o Release_gcc_unicode/LiteEditorObjects_syntaxhighlightbasedlg.o Release_gcc_unicode/LiteEditorObjects_syntaxhighlightdlg.o Release_gcc_unicode/LiteEditorObjects_tabgroupbasedlgs.o Release_gcc_unicode/LiteEditorObjects_tabgroupdlg.o Release_gcc_unicode/LiteEditorObjects_tabgroupmanager.o Release_gcc_unicode/LiteEditorObjects_tabgroupspane.o Release_gcc_unicode/LiteEditorObjects_tags_options_base_dlg.o Release_gcc_unicode/LiteEditorObjects_tags_options_dlg.o Release_gcc_unicode/LiteEditorObjects_tags_parser_search_path_dlg.o Release_gcc_unicode/LiteEditorObjects_tagsparsersearchpathsbasedlg.o Release_gcc_unicode/LiteEditorObjects_taskpanel.o Release_gcc_unicode/LiteEditorObjects_tasksfindwhatdlgbase.o Release_gcc_unicode/LiteEditorObjects_tasks_find_what_dlg.o Release_gcc_unicode/LiteEditorObjects_threadlistbasepanel.o Release_gcc_unicode/LiteEditorObjects_threadlistpanel.o Release_gcc_unicode/LiteEditorObjects_tiptree.o Release_gcc_unicode/LiteEditorObjects_treebooknodebase.o Release_gcc_unicode/LiteEditorObjects_tree_symbol_page.o Release_gcc_unicode/LiteEditorObjects_webupdatethread.o Release_gcc_unicode/LiteEditorObjects_workspace_pane.o Release_gcc_unicode/LiteEditorObjects_workspacesettingsbase.o Release_gcc_unicode/LiteEditorObjects_workspacesettingsdlg.o Release_gcc_unicode/LiteEditorObjects_workspacetab.o Release_gcc_unicode/LiteEditorObjects_yestoallbasedlg.o Release_gcc_unicode/LiteEditorObjects_yestoalldlg.o  -L./sdk/clang/Linux/i386/lib -lclang  -L./lib -Wl,-rpath,"/usr/lib/codelite" -lpluginu -lcodeliteu -lwxsqlite3u -lwxscintillau -lwxshapeframeworku -ldblayersqliteu -L./sdk/sqlite3/lib -pthread   -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8  -L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
./sdk/clang/Linux/i386/lib/libclang.so: undefined reference to `__longjmp_chk@GLIBC_2.11'
collect2: ld returned 1 exit status
make: *** [LiteEditor] Error 1

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 7:52 pm
by dugbug
ok I have found a solution. So for any feedback from you guys such as 'you are crazy', and for anyone else stuck with an older kernel here goes:

I realized that clang was delivered prebuilt with codelite source and not built as part of configure/make. The latest libclang.so had a dependency on glibc-2.11 which is unavailable to me (centos 5 uses v2.5). I went to your svn repository and snagged the oldest one you had:
http://codelite.svn.sourceforge.net/vie ... ision=5283

and replaced the libclang.so. Everything linked fine and codelite comes up.

When will libclang be utilized by codelite? I built and ran/debugged a hello world console app just to kick some tires before I posted.

I cannot build a wxwidgets project within it but this I believe I have solved before (the wxGDK/wxGDK-devel packages did not provide wx-config, and I have to build a static wxwidgets lib anyway).

best of luck and thanks for listening
-d

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 7:56 pm
by DavidGH
That error message looks like the one(s) I was getting on ubuntu precise (see http://codelite.svn.sourceforge.net/vie ... ision=5545 for the fix), which sets the --as-needed by default. Perhaps centos does too.
I see that earlier in your paste there's a --no-as-needed , but there doesn't seem to be one just before the error.

If I'm right, the easiest solution would be to use the latest CodeLite version from svn.

Re: Arrgh: cannot compile codelite. wxStringBase reference errs

Posted: Thu May 24, 2012 7:59 pm
by DavidGH
I realized that clang was delivered prebuilt with codelite source and not built as part of configure/make. The latest libclang.so had a dependency on glibc-2.11 which is unavailable to me (centos 5 uses v2.5).
Well spotted :) .
When will libclang be utilized by codelite?
It's an option for code-completion. See Settings > Tags settings > clang.