From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 9A1385917 for ; Thu, 15 May 2014 16:43:52 +0200 (CEST) Received: by mail-wi0-f182.google.com with SMTP id r20so4312286wiv.15 for ; Thu, 15 May 2014 07:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=x8abCMaQ9a/vI6OUhe2Aw/LWVoZJgU7uPyRp1ocx01M=; b=lLLixvFz3h7/BJkrb2WAwRsFBaRrjEac4gPJL2xhdfR3gb8C6Opo0PK/H2PnD4wUFi 41UFfJv8jdxxvB3IbnYmQ6beo+yfqMM/ZagIn7KCF5r7sdX37j8FPMGjsF9fABBgI5bH PNXXpNnPn2jJ9xwmk4lFyu+TgVlHvScWy6W9kbXy/pVq+QGDKMvrIh4QN1xcuY+7ItEH LHCZuDqmN/Cc2RKSgW8RL3u5EQD7jzVwYjedCRfQQxJ0zOt8DO4XEMQ2P0uzH+B//Unh 0XC/twQHhmDsrJq69gSt9AAeJUCLAgdXS2+q+H0D08or/be+5Ze7aC0kFMiLYAYzJhnS 5Iiw== MIME-Version: 1.0 X-Received: by 10.194.84.208 with SMTP id b16mr2945104wjz.55.1400165040396; Thu, 15 May 2014 07:44:00 -0700 (PDT) Received: by 10.194.92.144 with HTTP; Thu, 15 May 2014 07:44:00 -0700 (PDT) Date: Thu, 15 May 2014 20:14:00 +0530 Message-ID: From: Prashant Upadhyaya To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] compilation error with 1.6.0r2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 14:43:53 -0000 [resending on the list] 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. Regards -Prashant [root@localhost ~]# cd dpdk-1.6.0r2/ [root@localhost dpdk-1.6.0r2]# make install T=x86_64-default-linuxapp-gcc ================== Installing x86_64-default-linuxapp-gcc == Build scripts == Build scripts/testhost == Build lib == Build lib/librte_eal == Build lib/librte_eal/common == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/igb_uio Building modules, stage 2. MODPOST 1 modules == Build lib/librte_eal/linuxapp/eal == Build lib/librte_eal/linuxapp/kni CC [M] /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.o /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/linuxapp/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/linuxapp/kni/igb_ethtool.c:2551:2: error: implicit declaration of function 'ethtool_adv_to_mmd_eee_adv_t' [-Werror=implicit-function-declaration]* cc1: all warnings being treated as errors make[10]: *** [/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_ethtool.o] Error 1 make[9]: *** [_module_/root/dpdk-1.6.0r2/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 [root@localhost dpdk-1.6.0r2]#