Thomas, Most likely you are using a newer version of gcc c++ support which no longer compiles the old version of the boost library that we pull in via the third-party mechanism. For most recent platforms (e.g. ubuntu 14.04 and centos/rhel 7.0+) we no longer use this version of boost and instead rely on the native boost library included in the distribution. Please check third_party/packages.xml. You will see that there are annotation that specify which platforms require specific libraries. This is complemented by the SConscript in controller/lib.
To compile on suse one will have to go through the libraries and select that minimum set that is no included by the distribution. regards, Pedro. > On Aug 18, 2015, at 10:25 PM, Thomas Bechtold <[email protected]> wrote: > > Hi, > > Following the instructions from > http://juniper.github.io/contrail-vnc/README.html ;;, I call scons to > start the build process. After a while, I get: > > > /home/tom/tmp/contrail > -vnc/build/include/boost/lexical_cast.hpp:1426:17: note: in expansion > of macro ‘BOOST_STATIC_ASSERT_MSG’ > BOOST_STATIC_ASSERT_MSG(( sizeof(CharT) == sizeof(T) > ), > ^ > /home/tom/tmp/contrail-vnc/third_party/thrift > -0.8.0/lib/cpp/src/transport/TSSLSocket.cpp: At global scope: > /home/tom/tmp/contrail-vnc/third_party/thrift > -0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:350:1: error: reference to > ‘uint64_t’ is ambiguous > uint64_t TSSLSocketFactory::count_ = 0; > ^ > In file included from /usr/lib64/gcc/x86_64-suse > -linux/5/include/stdint.h:9:0, > from /usr/include/netinet/in.h:22, > from /usr/include/arpa/inet.h:22, > from /home/tom/tmp/contrail-vnc/third_party/thrift > -0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:26: > /usr/include/stdint.h:55:27: note: candidates are: typedef long > unsigned int uint64_t > typedef unsigned long int uint64_t; > ^ > In file included from /home/tom/tmp/contrail > -vnc/build/include/boost/numeric/conversion/numeric_cast_traits.hpp:31: > 0, > from /home/tom/tmp/contrail > -vnc/build/include/boost/numeric/conversion/cast.hpp:34, > from /home/tom/tmp/contrail > -vnc/build/include/boost/lexical_cast.hpp:40, > from /home/tom/tmp/contrail-vnc/third_party/thrift > -0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:32: > /home/tom/tmp/contrail-vnc/build/include/boost/cstdint.hpp:311:42: > note: typedef boost::ulong_long_type boost::uint64_t > typedef ::boost::ulong_long_type uint64_t; > ^ > Makefile:1052: recipe for target 'TSSLSocket.lo' failed > make[3]: *** [TSSLSocket.lo] Error 1 > make[3]: Leaving directory '/home/tom/tmp/contrail > -vnc/build/third_party/thrift/lib/cpp' > Makefile:1410: recipe for target 'install-recursive' failed > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory '/home/tom/tmp/contrail > -vnc/build/third_party/thrift/lib/cpp' > Makefile:480: recipe for target 'install-recursive' failed > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory '/home/tom/tmp/contrail > -vnc/build/third_party/thrift/lib' > Makefile:512: recipe for target 'install-recursive' failed > make: *** [install-recursive] Error 1 > scons: *** [build/third_party/thrift/config.status] Error 2 > scons: building terminated because of errors. > > > > Any hints how to solve that problem? > > btw. I created a github issue for that: > https://github.com/Juniper/contrail-vnc/issues/25 > > > > TIA > > Tom > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org _______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
