Hi All
I just started working on opencontrail, and trying to compile vrouter
on *PowerPC
Ubuntu 13.10*
I repo sync from
*repo init -u [email protected]:Juniper/contrail-vnc *and fetch all packages
from *fetch_packages.py*. Finally when i execute *scons
contrail-vrouter-agent*. Following error shows up:
scons contrail-vrouter-agent
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/debug/http/http_server.o -c -g -O0 -DDEBUG -Wall -Werror
-Wsign-compare -Wno-unused-local-typedefs -DLINUX -Icontroller/src
-Ibuild/include -Icontroller/lib -Ibuild/debug
controller/src/http/http_server.cc
In file included from build/include/tbb/tbb_profiling.h:105:0,
from build/include/tbb/mutex.h:41,
from controller/src/io/tcp_server.h:13,
from controller/src/http/http_server.h:13,
from controller/src/http/http_server.cc:5:
build/include/tbb/atomic.h: In instantiation of ‘struct
tbb::internal::atomic_impl<long long unsigned int>’:
build/include/tbb/atomic.h:339:8: required from ‘struct tbb::atomic<long
long unsigned int>’
controller/src/io/io_utils.h:20:27: required from here
build/include/tbb/atomic.h:196:27: error:
‘tbb::internal::atomic_impl<T>::rep’ has incomplete type
atomic_rep<sizeof(T)> rep;
^
build/include/tbb/atomic.h:75:8: error: declaration of ‘struct
tbb::internal::atomic_rep<8u>’
struct atomic_rep; // Primary template declared, but never
defined.
^
In file included from build/include/boost/asio/io_service.hpp:25:0,
from build/include/boost/asio/basic_io_object.hpp:19,
from build/include/boost/asio/basic_socket_acceptor.hpp:19,
from build/include/boost/asio/ip/tcp.hpp:19,
from controller/src/io/tcp_server.h:10,
from controller/src/http/http_server.h:13,
from controller/src/http/http_server.cc:5:
build/include/boost/system/error_code.hpp:214:36: error:
‘boost::system::posix_category’ defined but not used
[-Werror=unused-variable]
static const error_category & posix_category = generic_category();
^
build/include/boost/system/error_code.hpp:215:36: error:
‘boost::system::errno_ecat’ defined but not used [-Werror=unused-variable]
static const error_category & errno_ecat = generic_category();
^
build/include/boost/system/error_code.hpp:216:36: error:
‘boost::system::native_ecat’ defined but not used [-Werror=unused-variable]
static const error_category & native_ecat = system_category();
^
In file included from
build/include/boost/asio/detail/impl/posix_mutex.ipp:24:0,
from build/include/boost/asio/detail/posix_mutex.hpp:73,
from build/include/boost/asio/detail/mutex.hpp:25,
from
build/include/boost/asio/detail/service_registry.hpp:20,
from build/include/boost/asio/impl/io_service.hpp:19,
from build/include/boost/asio/io_service.hpp:776,
from build/include/boost/asio/basic_io_object.hpp:19,
from build/include/boost/asio/basic_socket_acceptor.hpp:19,
from build/include/boost/asio/ip/tcp.hpp:19,
from controller/src/io/tcp_server.h:10,
from controller/src/http/http_server.h:13,
from controller/src/http/http_server.cc:5:
build/include/boost/asio/error.hpp:244:45: error:
‘boost::asio::error::system_category’ defined but not used
[-Werror=unused-variable]
static const boost::system::error_category& system_category
^
build/include/boost/asio/error.hpp:246:45: error:
‘boost::asio::error::netdb_category’ defined but not used
[-Werror=unused-variable]
static const boost::system::error_category& netdb_category
^
build/include/boost/asio/error.hpp:248:45: error:
‘boost::asio::error::addrinfo_category’ defined but not used
[-Werror=unused-variable]
static const boost::system::error_category& addrinfo_category
^
build/include/boost/asio/error.hpp:250:45: error:
‘boost::asio::error::misc_category’ defined but not used
[-Werror=unused-variable]
static const boost::system::error_category& misc_category
^
cc1plus: all warnings being treated as errors
scons: *** [build/debug/http/http_server.o] Error 1
scons: building terminated because of errors.
Please help with following vrouter issue
--
Thanks
Navneet
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org