[geos-devel] OS X 10.7 Lion llvm problem

William Kyngesburye woklist at kyngchaos.com
Sun Jul 31 13:23:39 EDT 2011


Lion's Xcode now defaults to the llvm compiler (symlink gcc and g++ to the llvm).  I get an error:

Linking CXX shared library ../lib/GEOS.framework/Versions/3/GEOS
Undefined symbols for architecture x86_64:
  "__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv", referenced from:
      virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.cpp.o
  "std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::Envelope>)", referenced from:
      virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.cpp.o
ld: symbol(s) not found for architecture x86_64


Is this worth a bug report?  

standard gcc/g++ (configure with gcc-4.2/g++-4.2) compiles OK.  Though it brings back the test problem:

http://trac.osgeo.org/geos/ticket/299

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the geos-devel mailing list