Opened 10 years ago

Closed 10 years ago

#7623 closed Support Requests (invalid)

make error

Reported by: jer.oen@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

cd calpp/trunk cmake . make make install

I get this error: root:abt:~/calpp/trunk# cmake .

-- 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[2]: * [examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o] Error make(l]: * [exainples/CMakeFlles/coalescingtest.dir/all] Error 2 make: * [all] Error 2 rootabt:-/calpp/trunk#

Change History (6)

comment:1 by jer.oen@…, 10 years ago

ubuntu 12.04 kindof the same error .. all fresh install and a few month a go I did 10 installs without a problem

in reply to:  1 comment:2 by jer.oen@…, 10 years ago

Replying to jer.oen@…:

ubuntu 12.04 kindof the same error .. all fresh install and a few month a go I did 10 installs without a problem

exact message:

root@UBU:/home/jve/calpp/trunk# cmake .

-- 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

-- ATI CAL rt library directory -- Boost version 1_50

-- ================================================== ========= -- 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[2]: * [examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o] Error 1 make[1]: * [examples/CMakeFiles/coalescingtest.dir/all] Error 2 make: * [all] Error 2

comment:3 by Vladimir Prus, 10 years ago

So why is build failure in some 'calpp' package using Ubuntu 12.04 version of Boost a problem with Boost itself?

comment:4 by jer.oen@…, 10 years ago

maybe not or just not. but it (calpp) need boost and I just try to get help never said it is a bug boost

comment:5 by Vladimir Prus, 10 years ago

In that case, please identify the exact code that causes the error and discuss at boost-users@…

Trac is not good medium unless there's specific bug for specific person to fix.

comment:6 by viboes, 10 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.