DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK KNI:
@ 2016-06-23  8:01 SAKTHIVEL ANAND S
  2016-06-23 13:59 ` Cliff Burdick
  0 siblings, 1 reply; 2+ messages in thread
From: SAKTHIVEL ANAND S @ 2016-06-23  8:01 UTC (permalink / raw)
  To: users

hello

I am getting the below error , while compiling my code.. can you pls point
the root cause of this.


== Build lib/librte_eal/linuxapp/kni
  CC [M]
/root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.o
In file included from
/root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.c:36:0:
/usr/src/kernels/3.10.0-327.el7.x86_64/include/exec-env/rte_kni_common.h:113:2:
error: requested alignment is not an integer constant
  void *buf_addr __attribute__((__aligned__(RTE_CACHE_LINE_SIZE)));


-- 
Thanks
Sakthivel S OM

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

* Re: [dpdk-users] DPDK KNI:
  2016-06-23  8:01 [dpdk-users] DPDK KNI: SAKTHIVEL ANAND S
@ 2016-06-23 13:59 ` Cliff Burdick
  0 siblings, 0 replies; 2+ messages in thread
From: Cliff Burdick @ 2016-06-23 13:59 UTC (permalink / raw)
  To: SAKTHIVEL ANAND S; +Cc: users

Are you including the .mk files? I believe this value is passed in as a
compiled -D flag or defined in rte_memory.h. Do the examples compile
correctly?

On Thu, Jun 23, 2016 at 1:01 AM, SAKTHIVEL ANAND S <anand.sa88@gmail.com>
wrote:

> hello
>
> I am getting the below error , while compiling my code.. can you pls point
> the root cause of this.
>
>
> == Build lib/librte_eal/linuxapp/kni
>   CC [M]
> /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.o
> In file included from
> /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.c:36:0:
>
> /usr/src/kernels/3.10.0-327.el7.x86_64/include/exec-env/rte_kni_common.h:113:2:
> error: requested alignment is not an integer constant
>   void *buf_addr __attribute__((__aligned__(RTE_CACHE_LINE_SIZE)));
>
>
> --
> Thanks
> Sakthivel S OM
>

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

end of thread, other threads:[~2016-06-23 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-23  8:01 [dpdk-users] DPDK KNI: SAKTHIVEL ANAND S
2016-06-23 13:59 ` Cliff Burdick

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).