DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
@ 2014-07-24  8:16 Luke Gorrie
  2014-07-24 10:33 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 4+ messages in thread
From: Luke Gorrie @ 2014-07-24  8:16 UTC (permalink / raw)
  To: dev; +Cc: Putteneers, SvenX

Howdy!

I am having trouble building Pktgen-DPDK from Github on Ubuntu 14.04. Is
this supported? If so, would anybody tell me how to get the build working?

I have tried to be faithful to the instructions in README.md and I have
tested with both master and the latest release tag (pktgen-2.7.1).

The compiler output is pasted below and also in this Gist:
https://gist.github.com/lukego/bc8f7ef97ad0110c60e1

Any ideas appreciated :).

  CC [M]
 /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o

/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
In function ‘igb_rx_hash’:

/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7379:3:
error: implicit declaration of function ‘skb_set_hash’
[-Werror=implicit-function-declaration]

   skb_set_hash(skb, le32_to_cpu(rx_desc->wb.lower.hi_dword.rss),

   ^

/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9:
error: ‘PKT_HASH_TYPE_L3’ undeclared (first use in this function)

         PKT_HASH_TYPE_L3);

         ^

/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9:
note: each undeclared identifier is reported only once for each function it
appears in

cc1: all warnings being treated as errors

make[10]: ***
[/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o]
Error 1

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

* Re: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
  2014-07-24  8:16 [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04 Luke Gorrie
@ 2014-07-24 10:33 ` De Lara Guarch, Pablo
  2014-07-24 10:58   ` Luke Gorrie
  0 siblings, 1 reply; 4+ messages in thread
From: De Lara Guarch, Pablo @ 2014-07-24 10:33 UTC (permalink / raw)
  To: Luke Gorrie, dev; +Cc: Putteneers, SvenX

Hi Luke,

I think you are seeing the same error as other people are seeing for DPDK-1.7 on Ubuntu 14.04.
Are you using kernel 3.13.0-24 or 3.13.0-30/32?

Thanks,
Pablo

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Luke Gorrie
> Sent: Thursday, July 24, 2014 9:16 AM
> To: dev@dpdk.org
> Cc: Putteneers, SvenX
> Subject: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
> 
> Howdy!
> 
> I am having trouble building Pktgen-DPDK from Github on Ubuntu 14.04. Is
> this supported? If so, would anybody tell me how to get the build working?
> 
> I have tried to be faithful to the instructions in README.md and I have
> tested with both master and the latest release tag (pktgen-2.7.1).
> 
> The compiler output is pasted below and also in this Gist:
> https://gist.github.com/lukego/bc8f7ef97ad0110c60e1
> 
> Any ideas appreciated :).
> 
>   CC [M]
>  /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o
> 
> /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
> In function ‘igb_rx_hash’:
> 
> /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7379:3:
> error: implicit declaration of function ‘skb_set_hash’
> [-Werror=implicit-function-declaration]
> 
>    skb_set_hash(skb, le32_to_cpu(rx_desc->wb.lower.hi_dword.rss),
> 
>    ^
> 
> /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9:
> error: ‘PKT_HASH_TYPE_L3’ undeclared (first use in this function)
> 
>          PKT_HASH_TYPE_L3);
> 
>          ^
> 
> /home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:7380:9:
> note: each undeclared identifier is reported only once for each function it
> appears in
> 
> cc1: all warnings being treated as errors
> 
> make[10]: ***
> [/home/luke/github/Pktgen-DPDK.release/dpdk/x86_64-pktgen-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o]
> Error 1

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

* Re: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
  2014-07-24 10:33 ` De Lara Guarch, Pablo
@ 2014-07-24 10:58   ` Luke Gorrie
  2014-07-24 14:38     ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 4+ messages in thread
From: Luke Gorrie @ 2014-07-24 10:58 UTC (permalink / raw)
  To: De Lara Guarch, Pablo; +Cc: dev, Putteneers, SvenX

Hi Pablo,

On 24 July 2014 12:33, De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com
> wrote:

> I think you are seeing the same error as other people are seeing for
> DPDK-1.7 on Ubuntu 14.04.
> Are you using kernel 3.13.0-24 or 3.13.0-30/32?
>

Thanks for the quick response. I'm currently using kernel 3.13.0-24.

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

* Re: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
  2014-07-24 10:58   ` Luke Gorrie
@ 2014-07-24 14:38     ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 4+ messages in thread
From: De Lara Guarch, Pablo @ 2014-07-24 14:38 UTC (permalink / raw)
  To: Luke Gorrie; +Cc: dev, Putteneers, SvenX

Hi Luke,


From: lukego@gmail.com [mailto:lukego@gmail.com] On Behalf Of Luke Gorrie
Sent: Thursday, July 24, 2014 11:58 AM
To: De Lara Guarch, Pablo
Cc: dev@dpdk.org; Putteneers, SvenX
Subject: Re: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04

Hi Pablo,

On 24 July 2014 12:33, De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com<mailto:pablo.de.lara.guarch@intel.com>> wrote:
I think you are seeing the same error as other people are seeing for DPDK-1.7 on Ubuntu 14.04.
Are you using kernel 3.13.0-24 or 3.13.0-30/32?

Thanks for the quick response. I'm currently using kernel 3.13.0-24.

The patch I just sent should fix your issue.

Thanks,
Pablo

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

end of thread, other threads:[~2014-07-24 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-24  8:16 [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04 Luke Gorrie
2014-07-24 10:33 ` De Lara Guarch, Pablo
2014-07-24 10:58   ` Luke Gorrie
2014-07-24 14:38     ` De Lara Guarch, Pablo

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