From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jaguar.aricent.com (jaguar.aricent.com [180.151.2.24]) by dpdk.org (Postfix) with ESMTP id 9983C58C4 for ; Mon, 12 May 2014 10:46:12 +0200 (CEST) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id B844F36B61 for ; Mon, 12 May 2014 14:15:54 +0530 (IST) Received: from GUREXHT02.ASIAN.AD.ARICENT.COM (gurexht02.asian.ad.aricent.com [10.203.171.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by jaguar.aricent.com (Postfix) with ESMTP id A156B36B50 for ; Mon, 12 May 2014 14:15:54 +0530 (IST) Received: from GUREXMB01.asian.ad.aricent.com ([10.203.171.132]) by GUREXHT02.ASIAN.AD.ARICENT.COM ([10.203.171.138]) with mapi; Mon, 12 May 2014 14:15:54 +0530 From: Prashant Upadhyaya To: "dev@dpdk.org" Date: Mon, 12 May 2014 14:15:53 +0530 Thread-Topic: compilation error with 1.6.0r2 Thread-Index: Ac9tvhqnKEhhPTgiSBSUIr+fAf+xQg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-TM-AS-MML: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: Mon, 12 May 2014 08:46:13 -0000 Hi, I recently picked the 1.6.0r2 from dpdk.org and tried to compile it the usu= al way and ran into the following compilation error. I am aware I can sidestep these by getting the compiler to treat them as wa= rnings, but these did not use to come with 1.6.0r1 so wanted to report it h= ere. 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=3Dx86_64-default-linuxapp-gcc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing x86_64-de= fault-linuxapp-gcc =3D=3D Build scripts =3D=3D Build scripts/testhost =3D=3D Build lib =3D=3D Build lib/librte_eal =3D=3D Build lib/librte_eal/common =3D=3D Build lib/librte_eal/linuxapp =3D=3D Build lib/librte_eal/linuxapp/igb_uio Building modules, stage 2. MODPOST 1 modules =3D=3D Build lib/librte_eal/linuxapp/eal =3D=3D Build lib/librte_eal/linuxapp/kni CC [M] /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_e= al/linuxapp/kni/igb_ethtool.o /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxap= p/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_ee= e_adv_to_ethtool_adv_t' [-Werror=3Dimplicit-function-declaration] /root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxap= p/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 'ethtoo= l_adv_to_mmd_eee_adv_t' [-Werror=3Dimplicit-function-declaration] cc1: all warnings being treated as errors make[10]: *** [/root/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/lib= rte_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]# "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."