Hi, I have installed dpdk-stable-17.08.1.While configuring dpdk, I tried to set the dpdk environment to build x86_64-native-linuxapp-gcc. But it shows some errors as follows,
In file included from /home/ladmin/dpdk-stable-17.08.1/lib/librte_eal/linuxapp/eal/eal.c:57:0: /home/ladmin/dpdk-stable-17.08.1/x86_64-native-linuxapp-gcc/include/rte_debug.h:82:5: warning: "RTE_LOG_LEVEL" is not defined [-Wundef] #if RTE_LOG_LEVEL >= RTE_LOG_DEBUG ^ In file included from /home/ladmin/dpdk-stable-17.08.1/lib/librte_eal/linuxapp/eal/eal.c:58:0: /home/ladmin/dpdk-stable-17.08.1/x86_64-native-linuxapp-gcc/include/rte_memory.h:81:5: warning: "RTE_CACHE_LINE_SIZE" is not defined [-Wundef] #if RTE_CACHE_LINE_SIZE == 64 ^ /home/ladmin/dpdk-stable-17.08.1/x86_64-native-linuxapp-gcc/include/rte_memory.h:83:7: warning: "RTE_CACHE_LINE_SIZE" is not defined [-Wundef] #elif RTE_CACHE_LINE_SIZE == 128 ^ /home/ladmin/dpdk-stable-17.08.1/x86_64-native-linuxapp-gcc/include/rte_memory.h:86:2: error: #error "Unsupported cache line size" #error "Unsupported cache line size" ^ In file included from /home/ladmin/dpdk-stable-17.08.1/lib/librte_eal/linuxapp/eal/eal.c:61:0: /home/ladmin/dpdk-stable-17.08.1/x86_64-native-linuxapp-gcc/include/rte_eal.h:85:35: error: \u2018RTE_MAX_LCORE\u2019 undeclared here (not in a function) enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]; /**< State of cores. */ Can you please help me to rectify this error. Regards, sharanya