From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: compilation error with 1.6.0r2 Date: Thu, 22 May 2014 16:31:35 +0200 Message-ID: <1603617.4BLVj11sf6@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Prashant Upadhyaya Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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