-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined reference to eSettings::SetPageSettings #62
Comments
Settings: There is no single ecore header, there are just bits of source that are binary-only. |
:( 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. |
hooray!! i got it sorted out!. first of all, You need to add enum SubPage {SP_MAIN=0, SP_LEFT, SP_RIGHT}; and 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. |
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 to
eSettings::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 2.19.51.0.14-34.fc12 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.. :)
The text was updated successfully, but these errors were encountered: