DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here
@ 2014-01-16 17:16 TSADOK, Shlomi (Shlomi)
  2014-01-16 17:31 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: TSADOK, Shlomi (Shlomi) @ 2014-01-16 17:16 UTC (permalink / raw)
  To: dev

When compiling DPDK-1.5.2-2 I'm getting the below error
OS is CentOS 6.5, kernel is 2.6.32-431.3.1.el6.x86_64

Any idea what the issue is?

Thanks
Shlomi


== Build lib/librte_eal/linuxapp/kni
  LD      /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/built-in.o
  CC [M]  /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o
In file included from /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h:41,
                 from /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31,
                 from /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h:32,
                 from /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h:52,
                 from /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:56:
/root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:3084: error: conflicting types for ânetdev_features_tâ
include/linux/netdevice.h:854: note: previous declaration of ânetdev_features_tâ was here
make[10]: *** [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o] Error 1
make[9]: *** [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni] Error 2
make[8]: *** [sub-make] Error 2
make[7]: *** [rte_kni.ko] Error 2
make[6]: *** [kni] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2

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

* Re: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here
  2014-01-16 17:16 [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here TSADOK, Shlomi (Shlomi)
@ 2014-01-16 17:31 ` Thomas Monjalon
  2014-01-16 17:53   ` TSADOK, Shlomi (Shlomi)
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2014-01-16 17:31 UTC (permalink / raw)
  To: TSADOK, Shlomi (Shlomi); +Cc: dev

16/01/2014 18:16, TSADOK, Shlomi (Shlomi):
> When compiling DPDK-1.5.2-2 I'm getting the below error
> OS is CentOS 6.5, kernel is 2.6.32-431.3.1.el6.x86_64
> 
> Any idea what the issue is?

I think you are not using the latest version.
This commit should be the needed in your case:
http://www.dpdk.org/browse/dpdk/commit/?id=caa3d413086205f3bff0fa4753edb7dfbfc1f633

-- 
Thomas

> == Build lib/librte_eal/linuxapp/kni
>   LD     
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/lin
> uxapp/kni/built-in.o CC [M] 
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/lin
> uxapp/kni/ixgbe_main.o In file included from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osde
> p.h:41, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type
> .h:31, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.
> h:32, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h:52
> , from
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/lin
> uxapp/kni/ixgbe_main.c:56:
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:
> 3084: error: conflicting types for ânetdev_features_tâ
> include/linux/netdevice.h:854: note: previous declaration of
> ânetdev_features_tâ was here make[10]: ***
> [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/li
> nuxapp/kni/ixgbe_main.o] Error 1 make[9]: ***
> [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librt
> e_eal/linuxapp/kni] Error 2 make[8]: *** [sub-make] Error 2
> make[7]: *** [rte_kni.ko] Error 2
> make[6]: *** [kni] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2

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

* Re: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here
  2014-01-16 17:31 ` Thomas Monjalon
@ 2014-01-16 17:53   ` TSADOK, Shlomi (Shlomi)
  0 siblings, 0 replies; 3+ messages in thread
From: TSADOK, Shlomi (Shlomi) @ 2014-01-16 17:53 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

That solved it indeed 

Thank you!
Shlomi


-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] 
Sent: Thursday, January 16, 2014 7:31 PM
To: TSADOK, Shlomi (Shlomi)
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here

16/01/2014 18:16, TSADOK, Shlomi (Shlomi):
> When compiling DPDK-1.5.2-2 I'm getting the below error OS is CentOS 
> 6.5, kernel is 2.6.32-431.3.1.el6.x86_64
> 
> Any idea what the issue is?

I think you are not using the latest version.
This commit should be the needed in your case:
http://www.dpdk.org/browse/dpdk/commit/?id=caa3d413086205f3bff0fa4753edb7dfbfc1f633

--
Thomas

> == Build lib/librte_eal/linuxapp/kni
>   LD     
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal
> /lin
> uxapp/kni/built-in.o CC [M]
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal
> /lin uxapp/kni/ixgbe_main.o In file included from 
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_
> osde
> p.h:41, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_
> type
> .h:31, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.
> h:32, from
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.
> h:52
> , from
> /root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_eal
> /lin
> uxapp/kni/ixgbe_main.c:56:
> /root/dpdk/DPDK-1.5.2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:
> 3084: error: conflicting types for ânetdev_features_tâ
> include/linux/netdevice.h:854: note: previous declaration of 
> ânetdev_features_tâ was here make[10]: *** 
> [/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/librte_ea
> l/li nuxapp/kni/ixgbe_main.o] Error 1 make[9]: *** 
> [_module_/root/dpdk/DPDK-1.5.2/x86_64-default-linuxapp-gcc/build/lib/l
> ibrt e_eal/linuxapp/kni] Error 2 make[8]: *** [sub-make] Error 2
> make[7]: *** [rte_kni.ko] Error 2
> make[6]: *** [kni] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2

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

end of thread, other threads:[~2014-01-16 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-16 17:16 [dpdk-dev] conflicting types for "netdev_features_t"; netdevice.h:854: note: previous declaration of "netdev_features_t" was here TSADOK, Shlomi (Shlomi)
2014-01-16 17:31 ` Thomas Monjalon
2014-01-16 17:53   ` TSADOK, Shlomi (Shlomi)

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