Error compiling / linking e text editor on Linux

Posted by jckdnk111 on Stack Overflow See other posts from Stack Overflow or by jckdnk111
Published on 2010-03-08T21:45:48Z Indexed on 2010/03/08 21:51 UTC
Read the original article Hit count: 656

Filed under:
|
|

The code compiles without too much complaint, but the last step fails with the error below. There is some discussion about it on the e forum, but still no answer.

[LD] e
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x0): multiple definition of `_pcre_OP_lengths'
.objs.release/cx_pcre_tables.o:(.rodata+0x0): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x70): multiple definition of `_pcre_utf8_table1'
.objs.release/cx_pcre_tables.o:(.rodata+0x70): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x88): multiple definition of `_pcre_utf8_table1_size'
.objs.release/cx_pcre_tables.o:(.rodata+0x88): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x8c): multiple definition of `_pcre_utf8_table2'
.objs.release/cx_pcre_tables.o:(.rodata+0x8c): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0xa4): multiple definition of `_pcre_utf8_table3'
.objs.release/cx_pcre_tables.o:(.rodata+0xa4): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0xc0): multiple definition of `_pcre_utf8_table4'
.objs.release/cx_pcre_tables.o:(.rodata+0xc0): first defined here
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x180): multiple definition of `_pcre_utt_names'
.objs.release/cx_pcre_tables.o:(.rodata+0x100): first defined here
/usr/bin/ld: Warning: size of symbol `_pcre_utt_names' changed from 657 in .objs.release/cx_pcre_tables.o to 740 in ../external/out.release/lib/libpcre.a(pcre_tables.o)
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x480): multiple definition of `_pcre_utt'
.objs.release/cx_pcre_tables.o:(.rodata+0x3a0): first defined here
/usr/bin/ld: Warning: size of symbol `_pcre_utt' changed from 630 in .objs.release/cx_pcre_tables.o to 696 in ../external/out.release/lib/libpcre.a(pcre_tables.o)
../external/out.release/lib/libpcre.a(pcre_tables.o):(.rodata+0x738): multiple definition of `_pcre_utt_size'
.objs.release/cx_pcre_tables.o:(.rodata+0x618): first defined here
.objs.release/cx_pcre_exec.o: In function `match(doc_byte_iter, unsigned char const*, doc_byte_iter, int, match_data*, unsigned long, eptrblock*, int, unsigned int)':
cx_pcre_exec.cpp:(.text+0x1c2a): undefined reference to `_pcre_ord2utf8(int, unsigned char*)'
.objs.release/eauibook.o: In function `eAuiNotebook::LoadPerspective(wxString const&)':
eauibook.cpp:(.text+0x9ad): undefined reference to `wxTabFrame::SetTabCtrlHeight(int)'
.objs.release/PreviewDlg.o: In function `global constructors keyed to _ZN10PreviewDlg13sm_eventTableE':
PreviewDlg.cpp:(.text+0x11b2): undefined reference to `wxEVT_WEB_TITLECHANGE'
PreviewDlg.cpp:(.text+0x11ee): undefined reference to `wxEVT_WEB_DOMCONTENTLOADED'
.objs.release/PreviewDlg.o: In function `PreviewDlg::RefreshBrowser(PreviewDlg::cxUpdateMode)':
PreviewDlg.cpp:(.text+0x2a47): undefined reference to `wxWebControl::OpenURI(wxString const&, unsigned int, wxWebPostData*, bool)'
.objs.release/PreviewDlg.o: In function `PreviewDlg::OnWebDocumentComplete(wxWebEvent&)':
PreviewDlg.cpp:(.text+0x3259): undefined reference to `wxWebControl::GetCurrentURI() const'
.objs.release/PreviewDlg.o: In function `PreviewDlg::PreviewDlg(EditorFrame&)':
PreviewDlg.cpp:(.text+0x4984): undefined reference to `wxWebControl::IsInitialized()'
PreviewDlg.cpp:(.text+0x49c5): undefined reference to `wxWebControl::wxWebControl(wxWindow*, int, wxPoint const&, wxSize const&)'
PreviewDlg.cpp:(.text+0x562f): undefined reference to `wxWebControl::InitEngine(wxString const&)'
.objs.release/PreviewDlg.o: In function `PreviewDlg::PreviewDlg(EditorFrame&)':
PreviewDlg.cpp:(.text+0x68e4): undefined reference to `wxWebControl::IsInitialized()'
PreviewDlg.cpp:(.text+0x6925): undefined reference to `wxWebControl::wxWebControl(wxWindow*, int, wxPoint const&, wxSize const&)'
PreviewDlg.cpp:(.text+0x758f): undefined reference to `wxWebControl::InitEngine(wxString const&)'
.objs.release/PreviewDlg.o: In function `PreviewDlg::OnButtonForward(wxCommandEvent&)':
PreviewDlg.cpp:(.text+0x132): undefined reference to `wxWebControl::GoForward()'
.objs.release/PreviewDlg.o: In function `PreviewDlg::OnButtonBack(wxCommandEvent&)':
PreviewDlg.cpp:(.text+0x182): undefined reference to `wxWebControl::GoBack()'
../ecore/libecore.so(cxInternal.o): In function `cxInternal::MoveOldSettings(eSettings&)':
cxInternal.cpp:(.text+0x4d29): undefined reference to `eSettings::SetPageSettings(unsigned int, wxString const&, doc_id, int, int, wxString const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<cxBookmark, std::allocator<cxBookmark> > const&, eSettings::SubPage)'
collect2: ld returned 1 exit status
make: *** [e] Error 1

EDIT: Forgot the link http://github.com/etexteditor/e

© Stack Overflow or respective owner

Related posts about gcc

Related posts about linux