From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from inblrg02.tcs.com (inblrg02.tcs.com [121.242.48.116]) by dpdk.org (Postfix) with ESMTP id D5D85CE7 for ; Tue, 12 Jan 2016 11:50:50 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CoBABi15RW/6fBE6xehHmIWbM9gWaGDwKBXRIBAQEBAQEBgQqENAEBAQR5EAsNBAMBAi9PCAYLCBu2XQEBAZEZAQEBAQEBAQEBAQEBAQEBAQEBARqGVoR/hHcMgx+BGwWONYheZoo5hBgWhC2IW4pgg3MoAYMFgUhqhjEBAQE X-IPAS-Result: A2CoBABi15RW/6fBE6xehHmIWbM9gWaGDwKBXRIBAQEBAQEBgQqENAEBAQR5EAsNBAMBAi9PCAYLCBu2XQEBAZEZAQEBAQEBAQEBAQEBAQEBAQEBARqGVoR/hHcMgx+BGwWONYheZoo5hBgWhC2IW4pgg3MoAYMFgUhqhjEBAQE X-IronPort-AV: E=Sophos;i="5.20,557,1444674600"; d="scan'208";a="9641507" X-DISCLAIMER: FALSE In-Reply-To: <7EEAFB67-2E10-452A-B209-3A8DCCBA3FB0@intel.com> References: <7EEAFB67-2E10-452A-B209-3A8DCCBA3FB0@intel.com> To: "Wiles, Keith" MIME-Version: 1.0 X-KeepSent: 365E26F4:43B1F42C-65257F38:0038AB5F; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0 March 08, 2013 From: Nagaraj Trivedi Message-ID: Date: Tue, 12 Jan 2016 16:20:46 +0530 X-MIMETrack: Serialize by Router on InBlrM08/TCS(Release 9.0.1FP4|June 07, 2015) at 01/12/2016 16:20:48, Serialize complete at 01/12/2016 16:20:48 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "users@dpdk.org" Subject: Re: [dpdk-users] Compilation errors with msg sys/cdef.h: No such file or directory X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 10:50:51 -0000 Hi Keith, cdefs.h is located under the directory /usr/include/x86-64-linux-gnu/sys/cdefs.h I have fixed this by modifying Makefile /dpdk/lib/librte_eal/linuxapp/eal/Makefile as CFLAGS += -I/usr/include/x86-64-linux-gnu/ But it is throwing error other files not found fatal error: gnu/stubs-32.h: No such file or directory Is there a way that by modifying in only one place will fix these type of issues Thanks & Regards Nagaraj Trivedi ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ From: "Wiles, Keith" To: Nagaraj Trivedi , "users@dpdk.org" Date: 01/11/2016 08:27 PM Subject: Re: [dpdk-users] Compilation errors with msg sys/cdef.h: No such file or directory On 1/10/16, 11:52 PM, "users on behalf of Nagaraj Trivedi" wrote: >Hi All, as part of DPDK compilation I have executed the following command > >make install T=i686-native-linuxapp-gcc > >It is throwing error message saying > >In file included from /usr/include/stdio.h:27:0, > from >//dpdk/lib/librte_eal/linuxapp/eal/eal.c:35: >/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or >directory > ># include > >Compilation terminated > >Please let me know what could be the reasons Hi Niagara, Please give us a bit more information like the Linux version and distro. Eg. rkwiles@rkwiles-supermicro:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily I am going to assume your Linux distribution does not have sys/cdefs.h in the same location as other distros. Please run a find on your system and see if cdefs.h is located some place else in the system then /usr/include/sys/cdefs.h Thanks ++Keith > >Thanks & Regards >Nagaraj Trivedi > >____________________________________________ >Experience certainty. IT Services > Business Solutions > Consulting >____________________________________________ >=====-----=====-----===== >Notice: The information contained in this e-mail >message and/or attachments to it may contain >confidential or privileged information. If you are >not the intended recipient, any dissemination, use, >review, distribution, printing or copying of the >information contained in this e-mail message >and/or attachments to it are strictly prohibited. If >you have received this communication in error, >please notify us by reply e-mail or telephone and >immediately and permanently delete the message >and any attachments. Thank you > > > Regards, Keith