From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 516C62BAE for ; Tue, 11 Apr 2017 14:34:53 +0200 (CEST) Received: from cpe-2606-a000-111b-40ed-109f-ff09-a08-b1fa.dyn6.twc.com ([2606:a000:111b:40ed:109f:ff09:a08:b1fa] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1cxv0T-00057Q-Al; Tue, 11 Apr 2017 08:34:51 -0400 Date: Tue, 11 Apr 2017 08:34:40 -0400 From: Neil Horman To: reshma sarat Cc: dev@dpdk.org Message-ID: <20170411123439.GA20485@hmswarspite.think-freely.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -2.9 (--) X-Spam-Status: No Subject: Re: [dpdk-dev] Integration of DPDK with a seperate application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2017 12:34:54 -0000 On Tue, Apr 11, 2017 at 05:44:50PM +0530, reshma sarat wrote: > Hi, > In my application, I am making use of DPDK APIs for sending and receiving > packets. I have now imported some of its header files of DPDK to my > application. But on executing make command, an error such as > :/rte_memory.h:83:2: error: #error "Unsupported cache line size" > is what I am getting. How to overcome this error? > Regards, > Reshma > I assume by exporting, you mean moving the header files to a location that is in some way packagable with your application? Don't do that. the DPDK header files rely on their heirarchy to work properly. You could move the rte_config.h file, which is what you are missing in this case, to define the proper cache line size for the system on which you are building, but the correct solution is to independently install the DPDK on your devel system, and include those dpdk header files with -I directives Neil