← Back to team overview

yade-dev team mailing list archive

ld: new problems on Mac OS X

 

Hi,

I still have problem on linkage stage on my apple laptop.
I have tried lot of thinks without results...
Please give me new ideas!!!

here is the log:

$ scons pretty=0
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `vr', installed files will be suffixed with `-vr'.
All intermediary files will be in `/Users/richefeu/Documents/yade- local/build-vr'.
Checking whether c++ compiler "g++" works...(cached) yes
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... (cached) yes Checking for boost::thread::thread() in C++ library boost_thread-mt... (cached) yes Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... (cached) yes Checking for boost::filesystem::path() in C++ library boost_filesystem- mt... (cached) yes Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... (cached) yes Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
darwin platform
scons: done reading SConscript files.
scons: Building targets ...
> /Users/richefeu/Documents/yade-local/build-vr/core/core.cpp
g++ -o /Users/richefeu/Documents/yade-local/build-vr/extra/ PeriodicInsertionSortCollider.os -c -pipe -Wall -I/usr/local/include/ boost-1_39 -L/usr/local/lib -ggdb2 -fPIC -DMINIWM3 -DSUFFIX=\"-vr\" - DPREFIX=\"/Users/richefeu/Documents/YADE\" -DYADE_DEBUG - DYADE_CAST=dynamic_cast -DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/ richefeu/Documents/yade-local/build-vr/include/yade-vr -Iinclude/yade- vr -I/Users/richefeu/Documents/yade-local/build-vr/include/yade-vr/ yade/lib-miniWm3 -Iinclude/yade-vr/yade/lib-miniWm3 extra/ PeriodicInsertionSortCollider.cpp
> /Users/richefeu/Documents/yade-local/build-vr/lib/miniWm3.cpp
g++ -o /Users/richefeu/Documents/yade-local/build-vr/pkg/dem/meta/ Shop.os -c -pipe -Wall -I/usr/local/include/boost-1_39 -L/usr/local/ lib -ggdb2 -fPIC -DMINIWM3 -DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/ Documents/YADE\" -DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/richefeu/Documents/yade- local/build-vr/include/yade-vr -Iinclude/yade-vr -I/Users/richefeu/ Documents/yade-local/build-vr/include/yade-vr/yade/lib-miniWm3 - Iinclude/yade-vr/yade/lib-miniWm3 pkg/dem/meta/Shop.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/lib/miniWm3.os -c -pipe -Wall -I/usr/local/include/boost-1_39 -L/usr/local/lib -ggdb2 - O3 -g0 -w -fPIC -DMINIWM3 -DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/ Documents/YADE\" -DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/richefeu/Documents/yade- local/build-vr/include/yade-vr -Iinclude/yade-vr -I/Users/richefeu/ Documents/yade-local/build-vr/include/yade-vr/yade/lib-miniWm3 - Iinclude/yade-vr/yade/lib-miniWm3 /Users/richefeu/Documents/yade-local/ build-vr/lib/miniWm3.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/core/core.o -c - pipe -Wall -I/usr/local/include/boost-1_39 -L/usr/local/lib -ggdb2 - DMINIWM3 -DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/Documents/YADE\" - DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -DYADE_VERSION=\"vr\" -I/Users/ richefeu/Documents/yade-local/build-vr/include/yade-vr -Iinclude/yade- vr -I/Users/richefeu/Documents/yade-local/build-vr/include/yade-vr/ yade/lib-miniWm3 -Iinclude/yade-vr/yade/lib-miniWm3 /Users/richefeu/ Documents/yade-local/build-vr/core/core.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/lib/ libminiWm3.dylib -dynamiclib -rdynamic /Users/richefeu/Documents/yade- local/build-vr/lib/miniWm3.os -L/Users/richefeu/Documents/YADE/lib/ yade-vr/extra -L/Users/richefeu/Documents/YADE/lib/yade-vr/gui -L/ Users/richefeu/Documents/YADE/lib/yade-vr/lib -L/Users/richefeu/ Documents/YADE/lib/yade-vr/py -L/Users/richefeu/Documents/YADE/lib/ yade-vr/plugins -lpthread -lboost_system-mt -lboost_thread-mt - lboost_date_time-mt -lboost_filesystem-mt -lboost_iostreams-mt - lboost_regex-mt -lboost_serialization-mt -lboost_program_options-mt - lsqlite3 -framework CoreServices -framework Carbon g++ -o /Users/richefeu/Documents/yade-local/build-vr/pkg/common/Engine/ EngineUnit/LeapFrogOrientationIntegrator.os -c -pipe -Wall -I/usr/ local/include/boost-1_39 -L/usr/local/lib -ggdb2 -fPIC -DMINIWM3 - DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/Documents/YADE\" - DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/richefeu/Documents/yade- local/build-vr/include/yade-vr -Iinclude/yade-vr -I/Users/richefeu/ Documents/yade-local/build-vr/include/yade-vr/yade/lib-miniWm3 - Iinclude/yade-vr/yade/lib-miniWm3 pkg/common/Engine/EngineUnit/ LeapFrogOrientationIntegrator.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/pkg/common/ DataClass/PhysicalParameters/RigidBodyParameters.os -c -pipe -Wall -I/ usr/local/include/boost-1_39 -L/usr/local/lib -ggdb2 -fPIC -DMINIWM3 - DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/Documents/YADE\" - DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/richefeu/Documents/yade- local/build-vr/include/yade-vr -Iinclude/yade-vr -I/Users/richefeu/ Documents/yade-local/build-vr/include/yade-vr/yade/lib-miniWm3 - Iinclude/yade-vr/yade/lib-miniWm3 pkg/common/DataClass/ PhysicalParameters/RigidBodyParameters.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/pkg/common/ DataClass/PhysicalParameters/ParticleParameters.os -c -pipe -Wall -I/ usr/local/include/boost-1_39 -L/usr/local/lib -ggdb2 -fPIC -DMINIWM3 - DSUFFIX=\"-vr\" -DPREFIX=\"/Users/richefeu/Documents/YADE\" - DYADE_DEBUG -DYADE_CAST=dynamic_cast - DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/richefeu/Documents/yade- local/build-vr/include/yade-vr -Iinclude/yade-vr -I/Users/richefeu/ Documents/yade-local/build-vr/include/yade-vr/yade/lib-miniWm3 - Iinclude/yade-vr/yade/lib-miniWm3 pkg/common/DataClass/ PhysicalParameters/ParticleParameters.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/pkg/common/Engine/ MetaEngine/PhysicalParametersEngineUnit.os -c -pipe -Wall -I/usr/local/ include/boost-1_39 -L/usr/local/lib -ggdb2 -fPIC -DMINIWM3 -DSUFFIX=\"- vr\" -DPREFIX=\"/Users/richefeu/Documents/YADE\" -DYADE_DEBUG - DYADE_CAST=dynamic_cast -DYADE_PTR_CAST=dynamic_pointer_cast -I/Users/ richefeu/Documents/yade-local/build-vr/include/yade-vr -Iinclude/yade- vr -I/Users/richefeu/Documents/yade-local/build-vr/include/yade-vr/ yade/lib-miniWm3 -Iinclude/yade-vr/yade/lib-miniWm3 pkg/common/Engine/ MetaEngine/PhysicalParametersEngineUnit.cpp g++ -o /Users/richefeu/Documents/yade-local/build-vr/ libParticleParameters.dylib -dynamiclib -rdynamic /Users/richefeu/ Documents/yade-local/build-vr/pkg/common/DataClass/PhysicalParameters/ ParticleParameters.os -L/Users/richefeu/Documents/YADE/lib/yade-vr/ extra -L/Users/richefeu/Documents/YADE/lib/yade-vr/gui -L/Users/ richefeu/Documents/YADE/lib/yade-vr/lib -L/Users/richefeu/Documents/ YADE/lib/yade-vr/py -L/Users/richefeu/Documents/YADE/lib/yade-vr/ plugins -lpthread -lboost_system-mt -lboost_thread-mt - lboost_date_time-mt -lboost_filesystem-mt -lboost_iostreams-mt - lboost_regex-mt -lboost_serialization-mt -lboost_program_options-mt - lsqlite3 -lminiWm3 -framework CoreServices -framework Carbon
Undefined symbols:
"ClassFactory::registerFactorable(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Factorable* (*)(), boost::shared_ptr<Factorable> (*)(), void* (*)())", referenced from: __static_initialization_and_destruction_0(int, int)in ParticleParameters.os __static_initialization_and_destruction_0(int, int)in ParticleParameters.os __static_initialization_and_destruction_0(int, int)in ParticleParameters.os
  "SerializationExceptions::SerializableUnknown", referenced from:
__ZN23SerializationExceptions19SerializableUnknownE $non_lazy_ptr in ParticleParameters.os
  "SerializationExceptions::SmartPointerNotSupported", referenced from:
__ZN23SerializationExceptions24SmartPointerNotSupportedE $non_lazy_ptr in ParticleParameters.os
  "IOFormatManager::IOFormatManager()", referenced from:
      CreatePureCustomIOFormatManager()     in ParticleParameters.os
      CreateSharedIOFormatManager()     in ParticleParameters.os
      CreateIOFormatManager()     in ParticleParameters.os
  "SerializableSingleton::SerializableSingleton()", referenced from:
Singleton<SerializableSingleton>::instance() in ParticleParameters.os
  "Indexable::Indexable()", referenced from:
      PhysicalParameters::PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::PhysicalParameters()in ParticleParameters.os
  "IOFormatManager::cfOB", referenced from:
      __ZN15IOFormatManager4cfOBE$non_lazy_ptr in ParticleParameters.os
  "ClassFactory::registerPluginClasses(char const**)", referenced from:
(anonymous namespace)::registerThisPluginClasses_ParticleParameters()in ParticleParameters.os
  "Indexable::~Indexable()", referenced from:
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::~PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::PhysicalParameters()in ParticleParameters.os
      PhysicalParameters::PhysicalParameters()in ParticleParameters.os
"SerializableSingleton::findClassInfo(std::type_info const&, SerializableTypes::Type&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool&)", referenced from: SerializableTypes::Type findType<Se3<double> >(Se3<double>&, bool&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in ParticleParameters.os SerializableTypes::Type findType<unsigned int>(unsigned int&, bool&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in ParticleParameters.os SerializableTypes::Type findType<double>(double&, bool&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in ParticleParameters.os SerializableTypes::Type findType<Wm3::Vector3<double> >(Wm3::Vector3<double>&, bool&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in ParticleParameters.os "Archive::Archive(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from: boost::shared_ptr<Archive> Archive::create<Se3<double> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Se3<double>&)in ParticleParameters.os boost::shared_ptr<Archive> Archive::create<unsigned int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int&)in ParticleParameters.os boost::shared_ptr<Archive> Archive::create<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double&)in ParticleParameters.os boost::shared_ptr<Archive> Archive::create<Wm3::Vector3<double> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Wm3::Vector3<double>&)in ParticleParameters.os
  "DynLibManager::DynLibManager()", referenced from:
      ClassFactory::ClassFactory()in ParticleParameters.os
  "SerializationExceptions::SetFunctionNotDeclared", referenced from:
__ZN23SerializationExceptions22SetFunctionNotDeclaredE $non_lazy_ptr in ParticleParameters.os
  "Archive::serializationMap", referenced from:
__ZN7Archive16serializationMapE$non_lazy_ptr in ParticleParameters.os
  "DynLibManager::~DynLibManager()", referenced from:
      ClassFactory::ClassFactory()in ParticleParameters.os
      ClassFactory::~ClassFactory()in ParticleParameters.os
      ClassFactory::~ClassFactory()in ParticleParameters.os
      ClassFactory::~ClassFactory()in ParticleParameters.os
      ClassFactory::~ClassFactory()in ParticleParameters.os
"IOFormatManager::parseFundamental(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)", referenced from: FundamentalHandler<Se3<double> >::creator(Archive&, boost::any&) in ParticleParameters.os FundamentalHandler<Wm3::Vector3<double> >::creator(Archive&, boost::any&) in ParticleParameters.os "SerializableSingleton ::registerSerializableDescriptor(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::type_info const& (*)(), SerializableTypes::Type, bool)", referenced from: __static_initialization_and_destruction_0(int, int)in ParticleParameters.os __static_initialization_and_destruction_0(int, int)in ParticleParameters.os
  "Indexable::createIndex()", referenced from:
      ParticleParameters::ParticleParameters()in ParticleParameters.os
      ParticleParameters::ParticleParameters()in ParticleParameters.os
  "SerializationExceptions::ContainerNotSupported", referenced from:
__ZN23SerializationExceptions21ContainerNotSupportedE $non_lazy_ptr in ParticleParameters.os
  "SerializationExceptions::SerializableUnknown2", referenced from:
__ZN23SerializationExceptions20SerializableUnknown2E $non_lazy_ptr in ParticleParameters.os
  "IOFormatManager::cfS", referenced from:
      __ZN15IOFormatManager3cfSE$non_lazy_ptr in ParticleParameters.os
  "FormatChecker::format", referenced from:
      __ZN13FormatChecker6formatE$non_lazy_ptr in ParticleParameters.os
  "typeinfo for Indexable", referenced from:
      typeinfo for PhysicalParametersin ParticleParameters.os
  "SerializationExceptions::ExtraCopyError", referenced from:
__ZN23SerializationExceptions14ExtraCopyErrorE$non_lazy_ptr in ParticleParameters.os
  "SerializationExceptions::LexicalCopyError", referenced from:
__ZN23SerializationExceptions16LexicalCopyErrorE$non_lazy_ptr in ParticleParameters.os
  "SerializationExceptions::GetFunctionNotDeclared", referenced from:
__ZN23SerializationExceptions22GetFunctionNotDeclaredE $non_lazy_ptr in ParticleParameters.os
  "IOFormatManager::cfCB", referenced from:
      __ZN15IOFormatManager4cfCBE$non_lazy_ptr in ParticleParameters.os
  "Archive::serializationMapOfFundamental", referenced from:
__ZN7Archive29serializationMapOfFundamentalE$non_lazy_ptr in ParticleParameters.os
ld: symbol(s) not found
collect2: ld returned 1 exit status
scons: *** [/Users/richefeu/Documents/yade-local/build-vr/ libParticleParameters.dylib] Error 1
scons: building terminated because of errors.





Follow ups