DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luke Gorrie <luke@snabb.co>
To: dev@dpdk.org
Cc: "Putteneers, SvenX" <svenx.putteneers@intel.com>
Subject: [dpdk-dev] Pktgen-DPDK compile error on Ubuntu 14.04
Date: Thu, 24 Jul 2014 10:16:10 +0200	[thread overview]
Message-ID: <CAA2XHbdeBKdOcuj0urtcedsQZhfnQTwrkHRbsrNXX-2n53NW=Q@mail.gmail.com> (raw)

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

             reply	other threads:[~2014-07-24  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  8:16 Luke Gorrie [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA2XHbdeBKdOcuj0urtcedsQZhfnQTwrkHRbsrNXX-2n53NW=Q@mail.gmail.com' \
    --to=luke@snabb.co \
    --cc=dev@dpdk.org \
    --cc=svenx.putteneers@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).