[dpdk-dev] compilation error with 1.6.0r2

Thomas Monjalon thomas.monjalon at 6wind.com
Thu May 22 16:31:35 CEST 2014


Hi Prashant,

2014-05-15 20:14, Prashant Upadhyaya:
> Hi,
> 
> I recently picked the 1.6.0r2 from dpdk.org and tried to compile it the
> usual way and ran into the following compilation error.
> 
> I am aware I can sidestep these by getting the compiler to treat them as
> warnings, but these did not use to come with 1.6.0r1 so wanted to report it
> here.
> 
> I am using Fedora 18 to compile this version of DPDK.
[...]
> /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp
> /kni/igb_ethtool.c: In function 'igb_get_eee':
> 
> */root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxap
> p/kni/igb_ethtool.c:2441:4: error: implicit declaration of function
> 'mmd_eee_adv_to_ethtool_adv_t' [-Werror=implicit-function-declaration]*
> 
> /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp
> /kni/igb_ethtool.c: In function 'igb_set_eee':
> 
> */root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxap
> p/kni/igb_ethtool.c:2551:2: error: implicit declaration of function
> 'ethtool_adv_to_mmd_eee_adv_t' [-Werror=implicit-function-declaration]*

It should be fixed in 1.7.0 in this commit:
	http://dpdk.org/browse/dpdk/commit/?id=d719bc02aa4acdc

Thanks for reporting
-- 
Thomas


More information about the dev mailing list