DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Getting error while configuring dpdk-reg.
@ 2018-02-05  6:16 sharanya k
  2018-02-05 13:57 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: sharanya k @ 2018-02-05  6:16 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-06  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05  6:16 [dpdk-users] Getting error while configuring dpdk-reg sharanya k
2018-02-05 13:57 ` Wiles, Keith
2018-02-06  7:36   ` sharanya k

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).