Hi all,
I need to cross compile the vrouter data plane component and user space
component to powerpc platform. I am setting CC and CXX environment variable as
my cross compiler. While cross compiling i am getting the following error.
Install file: "build/debug/tools/sandesh/compiler/sandesh" as
"build/bin/sandesh"
SandeshCBuilder vrouter/sandesh/vr.sandesh ->
build/debug/vrouter/sandesh/gen-c/vr_types.h
build/debug/vrouter/sandesh/gen-c/vr_types.c
scons: warning: sandesh -version returned 2, retrying
I thought this is because of the sandesh binary. This is in powerpc
executable.So with this we are not able to compile other source codes.Is there
any way to cross compile the vrouter data plane component??.
While i am compiling the user space agent from the controller source code for
x86 i am getting following error.
I am using the following command to build the userspace agent in my ubuntu14.04
machine
scons --kernel-dir=/lib/modules/`uname -r` controller/src/vnsw/agent
cons: building associated VariantDir targets: build/debug/vnsw/agent
RunUnitTest(["build/debug/vnsw/agent/cmn/test/test_cmn.log"],
["build/debug/vnsw/agent/cmn/test/test_cmn"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/cmn/test/test_cmn
PASS
RunUnitTest(["build/debug/vnsw/agent/cmn/test/test_subop.log"],
["build/debug/vnsw/agent/cmn/test/test_subop"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/cmn/test/test_subop
PASS
RunUnitTest(["build/debug/vnsw/agent/diag/test/test_ping.log"],
["build/debug/vnsw/agent/diag/test/test_ping"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/diag/test/test_ping
PASS
RunUnitTest(["build/debug/vnsw/agent/filter/test/acl_change_test.log"],
["build/debug/vnsw/agent/filter/test/acl_change_test"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/filter/test/acl_change_test
PASS
RunUnitTest(["build/debug/vnsw/agent/filter/test/acl_entry_test.log"],
["build/debug/vnsw/agent/filter/test/acl_entry_test"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/filter/test/acl_entry_test
PASS
RunUnitTest(["build/debug/vnsw/agent/filter/test/acl_test.log"],
["build/debug/vnsw/agent/filter/test/acl_test"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/filter/test/acl_test
PASS
RunUnitTest(["build/debug/vnsw/agent/init/test/test_agent_init.log"],
["build/debug/vnsw/agent/init/test/test_agent_init"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/init/test/test_agent_init
PASS
RunUnitTest(["build/debug/vnsw/agent/init/test/test_vmware.log"],
["build/debug/vnsw/agent/init/test/test_vmware"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/init/test/test_vmware
PASS
RunUnitTest(["build/debug/vnsw/agent/kstate/test/test_kstate.log"],
["build/debug/vnsw/agent/kstate/test/test_kstate"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/kstate/test/test_kstate
PASS
RunUnitTest(["build/debug/vnsw/agent/kstate/test/test_sandesh_kstate.log"],
["build/debug/vnsw/agent/kstate/test/test_sandesh_kstate"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/kstate/test/test_sandesh_kstate
PASS
RunUnitTest(["build/debug/vnsw/agent/nexthop_server/test/test_agent_init.log"],
["build/debug/vnsw/agent/nexthop_server/test/test_agent_init"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/nexthop_server/test/test_agent_init
PASS
RunUnitTest(["build/debug/vnsw/agent/openstack/test/nova_inc.log"],
["build/debug/vnsw/agent/openstack/test/nova_inc"])
/home/vchn122/dinesh/contrail-controller/build/debug/vnsw/agent/openstack/test/nova_inc
TIMEOUT
scons: *** [build/debug/vnsw/agent/openstack/test/nova_inc.log] Error None
scons: building terminated because of errors.
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org