Hi all, I tried compiling DPDK from source using setup.sh script in tools directory, but I get this error
[32] Remove KNI module [33] Remove hugepage mappings [34] Exit Script Option: 14 /bin/sh: line 1: cc: command not found cp: cannot stat ?/root/workspace/dpdk/x86_64-native-linuxapp-gcc/.config_tmp?: No such file or directory cp: cannot stat ?/root/workspace/dpdk/x86_64-native-linuxapp-gcc/.config_tmp?: No such file or directory make[5]: Nothing to be done for `depdirs'. Configuration done /root/workspace/dpdk/mk/rte.vars.mk:81: *** RTE_ARCH is not defined. Stop. make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 ------------------------------------------------------------------------------ RTE_TARGET exported as x86_64-native-linuxapp-gcc ------------------------------------------------------------------------------ Then, I set RTE_ARCH=x86_64 manually, but it did not work please suggest appropriate way to compile DPDK libraries.