Hi,
I am installing openocntrail following this guide:
*https://sureshkvl.gitbooks.io/opencontrail-tutorial/content/build-and-package-from-source.html
<https://sureshkvl.gitbooks.io/opencontrail-tutorial/content/build-and-package-from-source.html>.*
I faced some issues while building with scons,giving this command
scons -j ${JOBS_COUNT:-$(grep -c processor /proc/cpuinfo || echo 1)}.
it shows the following errors:
*In file included from tools/sandesh/library/cpp/sandesh_server.cc:14:0:*
*build/include/sandesh/protocol/TXMLProtocol.h: In static member function
‘static void contrail::sandesh::protoco

 l::TXMLProtocol::unescapeXMLControlChars(std::__cxx11::string&)’:*
*build/include/sandesh/protocol/TXMLProtocol.h:77:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&amp;", "&");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:78:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&apos;", "\'");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:79:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&lt;", "<");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:80:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&gt;", ">");*
*       ^*
*In file included from
tools/sandesh/library/cpp/sandesh_connection.cc:14:0:*
*build/include/sandesh/protocol/TXMLProtocol.h: In static member function
‘static void contrail::sandesh::protoco

 l::TXMLProtocol::unescapeXMLControlChars(std::__cxx11::string&)’:*
*build/include/sandesh/protocol/TXMLProtocol.h:77:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&amp;", "&");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:78:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&apos;", "\'");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:79:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&lt;", "<");*
*       ^*
*build/include/sandesh/protocol/TXMLProtocol.h:80:7: error: ‘replace_all’
is not a member of ‘boost’*
*       boost::replace_all(str, "&gt;", ">");*
*       ^*
*g++ -o build/debug/ifmap/ifmap_agent_types.o -c -O0 -DDEBUG -g -Wall
-Werror -Wsign-compare -Wno-unused-local-ty
                       pedefs -DLINUX -Icontroller/src -Ibuild/include
-Icontroller/lib -Ibuild/debug -Ibuild/debug/ifmap -Icontroller/
                                             src/ifmap
-Ibuild/debug/base/sandesh -Icontroller/src/base/sandesh
-Ibuild/debug/discovery/client -Icontroller/s
                         rc/discovery/client
build/debug/ifmap/ifmap_agent_types.cpp*
*g++ -o build/debug/ifmap/ifmap_agent_constants.o -c -O0 -DDEBUG -g -Wall
-Werror -Wsign-compare -Wno-unused-loca
                   l-typedefs -DLINUX -Icontroller/src -Ibuild/include
-Icontroller/lib -Ibuild/debug -Ibuild/debug/ifmap -Icontrol
                                         ler/src/ifmap
-Ibuild/debug/base/sandesh -Icontroller/src/base/sandesh
-Ibuild/debug/discovery/client -Icontroll
                     er/src/discovery/client
build/debug/ifmap/ifmap_agent_constants.cpp*
*g++ -o build/debug/ifmap/ifmap_table.o -c -O0 -DDEBUG -g -Wall -Werror
-Wsign-compare -Wno-unused-local-typedefs
                      -DLINUX -Icontroller/src -Ibuild/include
-Icontroller/lib -Ibuild/debug -Ibuild/debug/ifmap -Icontroller/src/if
                                                   map
-Ibuild/debug/base/sandesh -Icontroller/src/base/sandesh
-Ibuild/debug/discovery/client -Icontroller/src/dis
                               covery/client
controller/src/ifmap/ifmap_table.cc*
*scons: *** [build/debug/tools/sandesh/library/cpp/sandesh_server.o] Error
1*
*scons: *** [build/debug/tools/sandesh/library/cpp/sandesh_connection.o]
Error 1*
*scons: building terminated because of errors.*

Please help me to rectify the above errors.

Thanks & Regards,
Raghav Sachdeva
_______________________________________________
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to