Arrgh: cannot compile codelite. wxStringBase reference errs
Posted: Thu May 24, 2012 6:29 am
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!
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