Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Compiling BOOST in OSX, undefined symbols for architecture error

$
0
0

Dear all,

I am trying to compile BOOST in OS X 10.10, using intel compilers 15.0.2

./bootstrap.sh --with-toolset=intel-darwin cxxflags="-std=c++11" linkflags="-std=c++11"

    ./b2 -q \

             toolset=intel-darwin \

             cxxflags="-std=c++11 -stdlib=libc++" \

             linkflags="-std=c++11 -stdlib=libc++" \

             address-model={{address_model}} \

             -j 4 \

             --user-config=user-config.jam \

             --build-dir=_build\

             link=shared \

             install \

             -sNO_BZIP2=0 \

             -sBZIP2_BINARY=bz2 \

             -sBZIP2_INCLUDE=${BZIP2_DIR}/include \

             -sBZIP2_LIBPATH=${BZIP2_DIR}/lib \

             -sNO_ZLIB=0 \

             -sZLIB_BINARY=z \

             -sZLIB_INCLUDE=${ZLIB_DIR}/include \

             -sZLIB_LIBPATH=${ZLIB_DIR}/lib

 

However I end up with "Undefined symbols for architecture X86_64" in the log. 

 

 

Undefined symbols for architecture x86_64:

__znst3__110moneypuncticlb0eed2ev undefined symbol

 

 

I googled to no avail. I tried without the stdlib flag, as suggested by a page I found in INTEL, that did not work as well.

 

when I set the toolset to clang, BOOST compiles correctly.

 

The environment variables correspond to intel64


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>