Boost C++ Libraries: Ticket #11068: Link error with icpc when using Boost* 1.51+ MPL library and g++* https://svn.boost.org/trac10/ticket/11068 <p> Our customer reported this issue with boost 1.51, the latest boost 1.57 still has this issue. please fix. </p> <p> the issue detail and work around is also posted online if you google the title. </p> <p> %cat t.h #include &lt;boost/mpl/vector.hpp&gt; template&lt;typename T&gt; struct my; void foo(my&lt;boost::mpl::vector&lt;&gt; &gt;* = 0); </p> <p> %cat u.cpp #include "t.h" int main() { foo();} </p> <p> %cat t.cpp #include "t.h" void foo(my&lt;boost::mpl::vector&lt;&gt; &gt;*) {} </p> <p> %icpc -c -I$BOOST_INC u.cpp %g++ -c -I$BOOST_INC t.cpp %icpc u.o t.o u.o: In function `main': u.cpp:(.text+0x2b): undefined reference to `foo(my&lt;boost::mpl::vector&lt;boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, b:mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::nost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na, boost::mpl::na&gt; &gt;*)' </p> <p> Work around: 1.Go to "./boost/mpl/aux/config" directory 2.Comment out the following line in the file adl.hpp </p> <blockquote> <p> BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11068 Trac 1.4.3