Comment 1 for bug 1578118

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Do you build form upstream source or the ubunut packaged source?
Also depending on what you do you might just install it as DPDK is available in Xenial.

Since it builds in sbuild/adt/locally for X and Y for me I just gave a quick try.

# get build environment with all you need to dpdk
sudo apt install ubuntu-dev-tools build-essential
sudo apt-get build-dep dpdk

# build what we package:
pull-lp-source dpdk
./debian/rules build

# upstream 2.2
wget http://dpdk.org/browse/dpdk/snapshot/dpdk-2.2.0.tar.gz
tar -xzf dpdk-2.2.0.tar.gz
cd dpdk-2.2.0
make T=x86_64-native-linuxapp-gcc config
There are some issues with gcc 5 and the native config which were fixed post 2.2, so I'd recommend for now:
sed -ri -e 's,(RTE_MACHINE=).*,\1"default",' build/.config
make

Both work for me.
If this really is an issue we need more information why/how that is caused, because as I just shown both options seem to work for me.