All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sundar Ramakrishnan <sundar_ramki@yahoo.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: DPDK 2.1 on CentOS 7
Date: Fri, 8 Jan 2016 21:17:07 +0000 (UTC)	[thread overview]
Message-ID: <558678812.2152576.1452287827683.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: 558678812.2152576.1452287827683.JavaMail.yahoo.ref@mail.yahoo.com

Hi All,
I am facing an issue while compiling DPDK 2.1 on CentOS 7. Following is a snapshot -
CC [M]  /home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_hwmon.o  CC [M]  /home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_ndo_bridge_getlink’:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2284:2: error: too few arguments to function ‘ndo_dflt_bridge_getlink’  return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode);  ^In file included from /usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/net/dst.h:13:0,                 from /usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/net/sock.h:68,                 from /usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/linux/tcp.h:23,                 from /home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:34:/usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/linux/rtnetlink.h:87:12: note: declared here extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,            ^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_xmit_frame_ring’:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:5498:2: error: implicit declaration of function ‘vlan_tx_tag_present’ [-Werror=implicit-function-declaration]  if (vlan_tx_tag_present(skb)) {  ^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:5500:3: error: implicit declaration of function ‘vlan_tx_tag_ge ’ [-Werror=implicit-function-declaration]   tx_flags |= (vlan_tx_tag_get(skb) << IGB_TX_FLAGS_VLAN_SHIFT);   ^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_ndo_get_vf_config’:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:9467:5: error: ‘struct ifla_vf_info’ has no member named ‘tx_rate’  ivi->tx_rate = adapter->vf_data[vf].tx_rate;     ^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_ndo_bridge_getlink’:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2286:1: error: control reaches end of non-void function [-Werror=return-type] } ^cc1: all warnings being treated as errorsmake[10]: *** [/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o] Error 1make[9]: *** [_module_/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni] Error 2make[8]: *** [sub-make] Error 2make[7]: *** [rte_kni.ko] Error 2make[6]: *** [kni] Error 2make[5]: *** [linuxapp] Error 2make[4]: *** [librte_eal] Error 2make[3]: *** [lib] Error 2make[2]: *** [all] Error 2make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2make: *** [install] Error 2

Can you please help me resolve this issue?
Thanks-sundar

       reply	other threads:[~2016-01-08 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <558678812.2152576.1452287827683.JavaMail.yahoo.ref@mail.yahoo.com>
2016-01-08 21:17 ` Sundar Ramakrishnan [this message]
2016-01-08 21:22   ` DPDK 2.1 on CentOS 7 Roberts, Lee A.

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=558678812.2152576.1452287827683.JavaMail.yahoo@mail.yahoo.com \
    --to=sundar_ramki@yahoo.com \
    --cc=dev@dpdk.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.