From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7267D902 for ; Wed, 13 Jan 2016 09:53:47 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 13 Jan 2016 00:53:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,288,1449561600"; d="scan'208";a="28495808" Received: from jshanly-mobl.ger.corp.intel.com (HELO [10.252.11.4]) ([10.252.11.4]) by fmsmga004.fm.intel.com with ESMTP; 13 Jan 2016 00:53:44 -0800 To: Nagaraj Trivedi , "Wiles, Keith" References: <7EEAFB67-2E10-452A-B209-3A8DCCBA3FB0@intel.com> From: Sergio Gonzalez Monroy Message-ID: <56961098.3050505@intel.com> Date: Wed, 13 Jan 2016 08:53:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 13 Jan 2016 08:53:48 -0000 Hi Nagaraj, It looks like you are running on a 64 bit Linux distro but you are building 32 bits DPDK app. You are probably missing 32-bit glibc library/headers. Thanks, Sergio On 12/01/2016 10:50, Nagaraj Trivedi wrote: > 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 > > > > >