“I am currently using 32 bit Ubuntu 14.04 version”

I’d suggest running 64-bit Ubuntu 16.04. Although we’d be happy to take patches 
to clean up the [all but certain] bit-rot you’ve encountered, we test against 
64-bit Ubuntu 16.04 all the time. 32-bit Ubuntu 14.04, not so much...

Thanks… Dave

From: [email protected] [mailto:[email protected]] On 
Behalf Of Sreejith Surendran Nair
Sent: Monday, November 21, 2016 2:15 AM
To: Ajay Vishnu Bhat <[email protected]>
Cc: vpp-dev <[email protected]>
Subject: Re: [vpp-dev] VPP Compilation Issue

Hi Ajay,

Thanks a lot !. I will try the suggestion.
I am currently using 32 bit Ubuntu 14.04 version booted on top of Virtual Box 
environment  may be it is causing the issue.

Thanks & Regards,
Sreejith

On 21 November 2016 at 11:31, Ajay Vishnu Bhat 
<[email protected]<mailto:[email protected]>> wrote:

Hi Sreejith,

This is an error which is just treating the warnings as errors. For the 
compilation to continue, u can disable the Werror flag for now from your 
makefiles. Use a fresh repo, search for Werror flag, comment it out wherever 
they are used, your compilation will continue.

Please do note that the current setup works only on 64bit machines.

Regards,
Ajay Vishnu Bhat

On 21 Nov 2016 10:41 am, "Sreejith Surendran Nair" 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi Team,

I am getting  below compilation error in code when trying to run VPP first 
time. If possible can anyone help.

Compilation Error:
-----------------------
./build-root/vagrant/build.sh
CC       vppinfra/mem_mheap.lo
/home/sree/source/vpp/build-data/../vppinfra/vppinfra/mheap.c: In function 
'mheap_small_object_cache_mask':
/home/sree/source/vpp/build-data/../vppinfra/vppinfra/mheap.c:317:5: error: 
left shift count >= width of type [-Werror]
     mask |= _(2) | _(3);
     ^
/home/sree/source/vpp/build-data/../vppinfra/vppinfra/mheap.c:317:5: error: 
left shift count >= width of type [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [vppinfra/mheap.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/home/sree/source/vpp/build-root/build-vpp-native/vppinfra'
make[2]: *** [vppinfra-build] Error 2
make[2]: Leaving directory `/home/sree/source/vpp/build-root'
make[1]: *** [install-deb] Error 1
make[1]: Leaving directory `/home/sree/source/vpp/build-root'
make: *** [pkg-deb] Error 2
sree@sree-VirtualBox:~/source/vpp$


Build Environment:
------------------------
Virtual Box booted with Ubuntu 14.04.


I had pulled the view from git (git clone 
https://[email protected]/r/a/vpp). I found a similar issue reported 
earlier(https://lists.fd.io/pipermail/vpp-dev/2016-April/000657.html) but the 
workaround steps did not help.

Any help is appreciated.

Thanks & Regards,
Sreejith



_______________________________________________
vpp-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.fd.io/mailman/listinfo/vpp-dev

_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to