[dpdk-users] DPDK build failed in virtual machine

wuzhouhui wuzhouhui14 at mails.ucas.ac.cn
Mon Dec 24 03:51:11 CET 2018


Hi,

A naive question, but I couldn't find any clue when searching Internet.

When I build DPDK in a CentOS-6.3 virtual machine, I got some errors:

[wzh at CentOS6-compiler dpdk-stable-18.05.1]$ make config T=x86_64-native-linuxapp-gcc
Configuration done using x86_64-native-linuxapp-gcc
[wzh at CentOS6-compiler dpdk-stable-18.05.1]$ make
cc1: error: CPU you selected does not support x86-64 instruction set
== Build lib
cc1: error: CPU you selected does not support x86-64 instruction set
== Build lib/librte_compat
cc1: error: CPU you selected does not support x86-64 instruction set
  SYMLINK-FILE include/rte_compat.h
== Build lib/librte_eal
cc1: error: CPU you selected does not support x86-64 instruction set
^Cmake[2]: *** [librte_eal] Interrupt
make[1]: *** [lib] Interrupt
make: *** [all] Interrupt

[wzh at CentOS6-compiler dpdk-stable-18.05.1]$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

But build in host (CentOS-6.3) seems fine. Does it means that DPDP cannot be
build in virtual machine?

Thanks.


More information about the users mailing list