24.07.10, 21:09, "Geoffrey Hutchison" <ge...@geoffhutchison.net>:
> Sorry, just got back from vacation and I'm sifting through the pile of e-mail > accumulation. > > > $ cpp --version > > cpp (Ubuntu 4.4.3-4ubuntu5) 4.4.3 > > So it looks like on Ubuntu, the OBElementTable etab really isn't present > in the .so file. > > Well, the linker and compiler are getting more and more aggressive. I can't > remember if GCC 4.4 enables link-time optimization, but I'd also check if > Ubuntu is also using the new "gold" linker, which is supposed to be more > aggressive about optimization. gold is faster than regular ld (e.g., OpenBabel is linked about 4x faster) and doesn't do "implicit" linking (if function from some library was used, that library must be linked explicitly). But gold doesn't perform additional optimizations. Actually, link time optimization (also known as IPO) requires support from compiler > > You also have a newer version of GCC, so the "hidden" visibility > optimizations (i.e., trying to hide internal symbols) may be biting you. > Check your CMakeCache.txt file for "-fvisibility=hidden" > > Hope that helps, > -Geoff > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > OpenBabel-Devel mailing list > OpenBabel-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-devel > > -- Regards, Konstantin ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel