Which set of instructions have you been following on the build process? If those packages aren't listed in the instructions as a prereq step then you should propose a change to add them.
From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Deepak Tiwari Sent: Thursday, April 13, 2017 07:28 To: Rajagopalan Sivaramakrishnan <r...@juniper.net>; dev@lists.opencontrail.org Subject: Re: [opencontrail-dev] Vrouter UT compilation on master branch Hi Raja, Yes you are correct. Actually we hadn't installed following packages-- sudo apt-get install libnl-3-dev libnl-genl-3-dev Due to this we had to remove "nl-3" and "nl-genl-3" library linkings from some SConscript/Makefiles. But after installing above packages, UT is compiling successfully Br, Deepak ________________________________ From: Rajagopalan Sivaramakrishnan <r...@juniper.net<mailto:r...@juniper.net>> Sent: Thursday, April 13, 2017 3:18:57 AM To: Deepak Tiwari; dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org> Subject: Re: [opencontrail-dev] Vrouter UT compilation on master branch Hi Deepak, It should build and also run the unit tests if you are building DPDK vrouter. Please see the following in vrouter/dpdk/SConscript vtest = Command(target = "all_tests.log", source = "../utils/vtest/vtest", action = "./vrouter/utils/vtest/all_tests_run" + " -b " + Dir(env['TOP']).abspath + " -x vrouter/utils/vtest/tests" + " -l $TARGET" ) Depends(vtest, dpdk_vrouter) DPDK vrouter should be built if the third_party/dpdk directory exists (please see the following in vrouter/SConscript) dpdk_exists = os.path.isdir('../third_party/dpdk') Raja From: Dev <dev-boun...@lists.opencontrail.org<mailto:dev-boun...@lists.opencontrail.org>> on behalf of Deepak Tiwari <deepak.tiw...@aricent.com<mailto:deepak.tiw...@aricent.com>> Date: Wednesday, April 12, 2017 at 2:22 AM To: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" <dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>> Subject: [opencontrail-dev] Vrouter UT compilation on master branch Hello, I was exploring the UT framework for vrouter. It seems currently the UT binary (i.e. vtest) doesn't get compiled. I had to do few changes here and there (mainly in SConscipt file and Makefiles) to get vtest binary compiled. Is it correct that on trunk branch vrouter UT is not compilable? Or did I miss anything? I am using following command to compile and start the UT ==> sudo scons vrouter "--opt=debug" 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." "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