Make error Calpp for pyrit on BT 5 r2/3
Hi Folks
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[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#
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
thanks in advance
Jeroen
Re: Make error Calpp for pyrit on BT 5 r2/3
because I am frustated I tried ubuntu 12.04
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
[ 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
what do I miss or is there changed ???
Re: Make error Calpp for pyrit on BT 5 r2/3
Have the same error with BT5 R3 and libboost1.40 :confused:
Tried also with Ubuntu 12.4 and libboost1.50 but always this @!%?§ error :confused:
Re: Make error Calpp for pyrit on BT 5 r2/3
Finally I got it !
Actually when you download Calpp via the command "svn co https://calpp.svn.sourceforge.net/svnroot/calpp calpp" the rev is 193.
But in our case, the lastest revision that works with libboost is 191 !!
Just download it and enjoy ;)