You can subscribe to this list here.
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Andre J. A. <and...@go...> - 2013-05-08 12:13:55
|
Dear all, I encountered an extremely weird error during compilation with or against libncl. It only occurred with gcc 4.7.0 and on a specific machine (x86_64, Linux). Basically I wanted to link statically against libncl.a. Also I tried to compile it myself and compiled it into a static library that is then linked to the final executable. In any case, during linking, the error below was thrown (also tried different versions of ranlib). For now, I just inlined the respective methods (and moved these to the respective *.h file). This probably does not make much sense, but seems to solve the error. So I just wanted to leave a message, in case somebody at some point also struggles with this... > libbayes.a(nclConfigReader.o):(.rodata._ZTV18NxsCharactersBlock[_ZTV18NxsCharactersBlock]+0x1e8): undefined reference to `non-virtual thunk to NxsCharactersBlock::GetMaxIndex() const' > libbayes.a(nclConfigReader.o):(.rodata._ZTV18NxsCharactersBlock[_ZTV18NxsCharactersBlock]+0x1f8): undefined reference to `non-virtual thunk to NxsCharactersBlock::GetIndicesForLabel(std::string const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >*) const' > libbayes.a(nclConfigReader.o):(.rodata._ZTV18NxsCharactersBlock[_ZTV18NxsCharactersBlock]+0x208): undefined reference to `non-virtual thunk to NxsCharactersBlock::AddNewIndexSet(std::string const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&)' > libbayes.a(nclConfigReader.o):(.rodata._ZTV18NxsCharactersBlock[_ZTV18NxsCharactersBlock]+0x210): undefined reference to `non-virtual thunk to NxsCharactersBlock::AddNewPartition(std::string const&, std::list<std::pair<std::string, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > >, std::allocator<std::pair<std::string, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > > > > const&)' -- Best regards, Andre J. Aberer M.Sc. (Bioinformatics) Scientific Computing Group Heidelberg Institute for Theoretical Studies (HITS gGmbH) Schloss-Wolfsbrunnenweg 35 D-69118 Heidelberg Tel.: +49 6221 533 264 Fax: +49 6221 533 298 Email: andre.aberer <at> h-its <dot> org WWW: http://www.exelixis-lab.org http://www.h-its.org/english/research/sco/index.php Amtgericht Mannheim / HRB 337446 Managing Directors: Dr. h.c. Dr.-Ing. E.h. Klaus Tschira, Prof. Dr.-Ing. Andreas Reuter |