calpp make error

Help
2012-11-02
2013-05-23
  • Jeroen van E
    Jeroen van E
    2012-11-02

    I have done a few installations according to this help:

    http://www.backtrack-linux.org/forum…ad.php?t=50069

    Until a now I can''t get it to work anymore, when I try to make cal++ :

    svn co https://calpp.svn.sourceforge.net/svnroot/calpp calpp
    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: ***  Error
    make(l]: ***  Error 2
    make: ***  Error 2
    rootabt:-/calpp/trunk#

    I did 3 fresh BT 5 r2 and r3 (x64) installations but still stuck on above, cantt find a understandable solution by google or forum.
    I tried with and without apt-get upgrade
    all the lib are installed succefully ( based on the output)
    it is a hd5970 card

    tried also ubuntu:

    I needed a Higer lib boost version 1.5 to get trough dependecies.

    sudo apt-get install cmake libroot-python-dev libboost1.50-all-dev subversion libpcap-dev libssl-dev python-dev zlib1g-dev python-scapy libroot-python5.18 libroot5.18 root-plugin-proof

    then install calpp:

    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
      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: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2

    what do I miss or is there changed ???

     
  • Artur Kornacki
    Artur Kornacki
    2012-11-08

    Should be fixed in latest svn.