I'm trying to build the gPUOcelot and im getting this error. Could someone please help with this.
sudo ./build.py
scons -Q install_path=/usr/local ocelot test_level=none -j1
Failed to get SVN repository version!
Build rules for Ocelot....
Imported environment from higher level SCons script.
Not installing Ocelot.
Building rules for Ocelot CUDA 2.2 SDK....
Imported environment from higher level SCons script.
Building rules for Ocelot CUDA 2.3 SDK....
Imported environment from higher level SCons script.
Building rules for Ocelot CUDA 3.2 SDK....
Imported environment from higher level SCons script.
Building rules for Ocelot CUDA 4.1 SDK....
Imported environment from higher level SCons script.
Building rules for Parboil Benchmark suite....
Imported environment from higher level SCons script.
scons: building associated VariantDir targets: .release_build/ocelot
config_h_build([".release_build/ocelot/configure.h"], ["ocelot/
configure.h.in"])
g++ -o .release_build/ocelot/ocelot/ir/implementation/Module.os -c -O2 -Wall -Werror -std=c++0x -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Iocelot/hydrazine -Iocelot -I/usr/include -I/usr/include -I/usr/lib/llvm-3.4/include -I.release_build/ocelot -Iocelot ocelot/ocelot/ir/implementation/Module.cpp
g++ -o .release_build/ocelot/ocelot/analysis/implementation/ControlTree.os -c -O2 -Wall -Werror -std=c++0x -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Iocelot/hydrazine -Iocelot -I/usr/include -I/usr/include -I/usr/lib/llvm-3.4/include -I.release_build/ocelot -Iocelot ocelot/ocelot/analysis/implementation/ControlTree.cpp
ocelot/ocelot/analysis/implementation/ControlTree.cpp: In member function 'bool analysis::ControlTree::_interact(const NodeVector&, const NodeVector&)':
ocelot/ocelot/analysis/implementation/ControlTree.cpp:880:21: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp:886:21: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp:892:21: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp: In member function 'analysis::ControlTree::NodeVector analysis::ControlTree::_minimal_hammock_graph(const Edge&)':
ocelot/ocelot/analysis/implementation/ControlTree.cpp:928:24: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp: In member function 'bool analysis::ControlTree::_forward_copy(analysis::ControlTree::Node*)':
ocelot/ocelot/analysis/implementation/ControlTree.cpp:1143:24: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp:1150:24: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp:1157:24: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
ocelot/ocelot/analysis/implementation/ControlTree.cpp:1170:24: error: invalid initialization of non-const reference of type 'analysis::ControlTree*&' from an rvalue of type 'analysis::ControlTree*'
boost::ref(this), _1, _2));
^
In file included from /usr/include/boost/bind/bind.hpp:25:0,
from /usr/include/boost/bind.hpp:22,
from ocelot/ocelot/analysis/implementation/ControlTree.cpp:23:
/usr/include/boost/ref.hpp:64:63: note: in passing argument 1 of 'const boost::reference_wrapper<T> boost::ref(T&) [with T = analysis::ControlTree*]'
template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)
^
scons: *** [.release_build/ocelot/ocelot/analysis/implementation/ControlTree.os]