Hello, The latest vrouter code is not compilable in debug mode. Is this a known issue?
$ sudo scons vrouter "-opt=debug" ... ... gcc -o build/debug/vrouter/utils/vtest/vtest -g build/debug/vrouter/utils/vtest/vt_main.o build/debug/vrouter/utils/vtest/vt_message.o build/debug/vrouter/utils/vtest/vt_packet.o build/debug/vrouter/utils/vtest/vt_gen_lib.o build/debug/vrouter/utils/vtest/vt_gen_message_modules.o build/debug/vrouter/utils/vtest/vt_gen_sandesh.o build/debug/vrouter/utils/vtest/vt_gen_sandesh_expect.o build/debug/vrouter/utils/vtest/vt_sandesh_response.o build/debug/vrouter/utils/vtest/vt_process_xml.o build/debug/vrouter/utils/vtest/vt_packet.o -Lbuild/lib -Lbuild/debug/vrouter/utils/vtest -Lvrouter/utils/vtest -Lbuild/debug/vrouter/sandesh -Lvrouter/sandesh -Lbuild/debug/vrouter/utils/vtest/vhost/lib -Lvrouter/utils/vtest/vhost/lib -lvrutil -lsandesh-c -ldp_sandesh_c -lxml2 -ljnprvnet -lpcap -lrt -lnl-3 -lnl-genl-3 build/debug/vrouter/utils/vtest/vt_packet.o: In function `vt_fname_assign': /opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:32: multiple definition of `vt_fname_assign' build/debug/vrouter/utils/vtest/vt_packet.o:/opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:32: first defined here build/debug/vrouter/utils/vtest/vt_packet.o: In function `vt_packet': /opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:61: multiple definition of `vt_packet' build/debug/vrouter/utils/vtest/vt_packet.o:/opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:61: first defined here build/debug/vrouter/utils/vtest/vt_packet.o: In function `pcap_compare': /opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:131: multiple definition of `pcap_compare' build/debug/vrouter/utils/vtest/vt_packet.o:/opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:131: first defined here build/debug/vrouter/utils/vtest/vt_packet.o: In function `run_pcap_test': /opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:208: multiple definition of `run_pcap_test' build/debug/vrouter/utils/vtest/vt_packet.o:/opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:208: first defined here build/debug/vrouter/utils/vtest/vt_packet.o: In function `tx_rx_pcap_test': /opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:237: multiple definition of `tx_rx_pcap_test' build/debug/vrouter/utils/vtest/vt_packet.o:/opt/stack/contrail/vrouter/utils/vtest/vt_packet.c:237: first defined here collect2: error: ld returned 1 exit status scons: *** [build/debug/vrouter/utils/vtest/vtest] Error 1 scons: building terminated because of errors. vagrant@vagrant:/opt/stack/contrail$ vagrant@vagrant:/opt/stack/contrail$ vagrant@vagrant:/opt/stack/contrail$ Br, Deepak "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
_______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org