Subject: [Boost-bugs] [Boost C++ Libraries] #1613: Link Errors against file_system on OS X with Intel Version 10.1 C++ compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-31 15:43:07
#1613: Link Errors against file_system on OS X with Intel Version 10.1 C++
compilers
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: bemandawes
Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: filesystem
Version: Boost 1.34.1 | Severity: Showstopper
Keywords: |
--------------------------+-------------------------------------------------
While trying to create an intermediate dynamic library on OS X 10.4.11
(Intel) that utilizes boost::file_system I receive the following link
errors:
Linking CXX shared library Bin/libMXADataModel.dylib
xilibtool: executing 'libtool'
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common
__ZZN5boost10filesystem12initial_pathINS0_10basic_pathISbIwSt11char_traitsIwESaIwEENS0_12wpath_traitsEEEEERKT_vE9init_path
(size 16)
CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common
__ZZN5boost10filesystem12initial_pathINS0_10basic_pathISsNS0_11path_traitsEEEEERKT_vE9init_path
(size 16)
CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common
__ZZN5boost10filesystem6detail14remove_all_auxINS0_10basic_pathISbIwSt11char_traitsIwESaIwEENS0_12wpath_traitsEEEEEmRKT_E7end_itr
(size 16)
CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common
__ZZN5boost10filesystem6detail14remove_all_auxINS0_10basic_pathISsNS0_11path_traitsEEEEEmRKT_E7end_itr
(size 16)
libtool: internal link edit command failed
make[2]: *** [Bin/libMXADataModel.dylib] Error 1
make[1]: *** [CMakeFiles/MXADataModel.dir/all] Error 2
make: *** [all] Error 2
This is reproducible on the system by simply including
boost/filesystem/operations.hpp in any file that is built into the
library.
Thanks for your attention to this bug
Mike Jackson
Senior Software Engineer
IMTS.us
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1613>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC