Boost C++ Libraries: Ticket #7623: make error https://svn.boost.org/trac10/ticket/7623 <blockquote> <p> cd calpp/trunk cmake . make make install </p> </blockquote> <p> I get this error: root:abt:~/calpp/trunk# cmake . </p> <blockquote> <p> -- ATI CAL cl library directory /usr/lib -- ATI CAL rt library directory /usr/lib -- Boost version 1_40 =========================================== -- Configuring done -- Generating done -- Build files have been written to: /root/calpp/trunk rootiab t: -/calpp/trunk# make I 6%] Building CXX object examples/CMakeFiles/coalescingtest.dir/coalescingtest .cpp.0 In file included from /root/calpp/trunk/examples/coalescingtest.cpp:27: - /root/calpp/trunk/include/cal/cal.hpp:442: error: 'mutex' in naiaespace 'boost' d oes not name a type /root/calpp/trunk/include/cal/cal.hpp:483: error: expected constructor, destruct or, or type conversion before 'CALcontextJielper' /root/calpp/trunk/include/cal/cal.hpp:750: error: 'recursivejwtex' in nanespace 'boost' does not name a type make<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>: <strong>* [examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o] Error make(l]: </strong>* [exainples/CMakeFlles/coalescingtest.dir/all] Error 2 make: <strong>* [all] Error 2 rootabt:-/calpp/trunk# </strong></p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7623 Trac 1.4.3 jer.oen@… Thu, 01 Nov 2012 21:20:30 GMT <link>https://svn.boost.org/trac10/ticket/7623#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7623#comment:1</guid> <description> <p> ubuntu 12.04 kindof the same error .. all fresh install and a few month a go I did 10 installs without a problem </p> </description> <category>Ticket</category> </item> <item> <author>jer.oen@…</author> <pubDate>Fri, 02 Nov 2012 08:58:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7623#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7623#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/7623#comment:1" title="Comment 1">jer.oen@…</a>: </p> <blockquote class="citation"> <p> ubuntu 12.04 kindof the same error .. all fresh install and a few month a go I did 10 installs without a problem </p> </blockquote> <p> exact message: </p> <p> root@UBU:/home/jve/calpp/trunk# cmake . </p> <blockquote> <p> -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Boost version: 1.50.0 -- Found the following Boost libraries: -- date_time -- ================================================== ========= -- ATI CAL cl library directory </p> </blockquote> <p> -- ATI CAL rt library directory -- Boost version 1_50 </p> <blockquote> <p> -- ================================================== ========= -- Configuring done -- Generating done -- Build files have been written to: /home/jve/calpp/trunk root@UBU:/home/jve/calpp/trunk# make Scanning dependencies of target coalescingtest [ 6%] Building CXX object examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o In file included from /home/jve/calpp/trunk/examples/coalescingtest.cpp:27:0: /home/jve/calpp/trunk/include/cal/cal.hpp:442:16: error: ‘mutex’ in namespace ‘boost’ does not name a type /home/jve/calpp/trunk/include/cal/cal.hpp:483:1: error: ‘mutex’ in namespace ‘boost’ does not name a type /home/jve/calpp/trunk/include/cal/cal.hpp:756:5: error: ‘recursive_mutex’ in namespace ‘boost’ does not name a type make<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>: <strong>* [examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o] Error 1 make<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>: </strong>* [examples/CMakeFiles/coalescingtest.dir/all] Error 2 make: <strong>* [all] Error 2 </strong></p> </blockquote> <p> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 02 Nov 2012 09:11:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7623#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7623#comment:3</guid> <description> <p> So why is build failure in some 'calpp' package using Ubuntu 12.04 version of Boost a problem with Boost itself? </p> </description> <category>Ticket</category> </item> <item> <author>jer.oen@…</author> <pubDate>Fri, 02 Nov 2012 09:16:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7623#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7623#comment:4</guid> <description> <p> maybe not or just not. but it (calpp) need boost and I just try to get help never said it is a bug boost </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 02 Nov 2012 09:40:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7623#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7623#comment:5</guid> <description> <p> In that case, please identify the exact code that causes the error and discuss at boost-users@… </p> <p> Trac is not good medium unless there's specific bug for specific person to fix. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 03 Feb 2013 18:41:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7623#comment:6 https://svn.boost.org/trac10/ticket/7623#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket