undefined reference to eSettings::SetPageSettings #62

toudi opened this Issue Nov 30, 2009 · 3 comments


None yet
2 participants

toudi commented Nov 30, 2009

i have changed the source code a lot in order to compile e at all. Now my changed source code relies only on system libs, not the ones e downloads and provides. i discovered that there were some problems in joining wxwebconnect with wx-webkit but i have fixed it. now, the linking final stage:

../ecore/libecore64.so(cxInternal.o): In function cxInternal::MoveOldSettings(eSettings&)': cxInternal.cpp:(.text+0x4adf): undefined reference toeSettings::SetPageSettings(unsigned long, wxString const&, doc_id, int, int, wxString const&, std::vector<unsigned int, std::allocator > const&, std::vector<cxBookmark, std::allocator > const&, eSettings::SubPage)'
/usr/bin/ld: BFD version 20090722 internal error, aborting at elflink.c line 8494 in elf_link_check_versioned_symbol

/usr/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
make: *** [e] Błąd 1

i'm rather stuck, i cannot find source code for eSettings class and / or header file for ecore.

please help.. :)


adamv commented Nov 30, 2009


There is no single ecore header, there are just bits of source that are binary-only.
It's quite possible that new binary-only x64 libs were not posted to correspond w/ the new source code.

toudi commented Nov 30, 2009

:( that's very sad.. however i hope that i will be able to compile e at some time.. until then i'll stay tuned with hopes for some updates :) thanks.

toudi commented Dec 2, 2009

hooray!! i got it sorted out!. first of all, You need to add

enum SubPage {SP_MAIN=0, SP_LEFT, SP_RIGHT};


void SetPageSettings(unsigned long page_id, const wxString& path, doc_id di, int pos, int topline, const wxString& syntax, const vector& folds, const vector& bookmarks, eSettings::SubPage sp=SP_MAIN);

into eSettings.h file.

You also need to provide an implementation of this function (i don't know what it should do so i just did an empty implementation).

then whenever there is a reference to SP_LEFT or SP_RIGHT You need to prefix it with eSettings:: (i found such case in CompareDlg.cpp)

one last thing i wasn't able to figure out was undefined reference to _pcre_ord2utf8(int, uschar*) but i commented the whole line containing this function.

now e compiles and runs :D

am i the only one experiencing compilation problems? some of the issues i reported don't seem to be Fedora or g++ 4.4 specific.. :)

best regards, toudi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment