From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Intel DPDK: exception_path:RTE_ARCH Date: Wed, 02 Jul 2014 12:00:13 +0200 Message-ID: <2442814.qzRPSFO8B2@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: sothy shan Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-07-02 12:56, Alex Markuze: > On Wed, Jul 2, 2014 at 12:48 PM, sothy shan wrote: > > I started playing Intel DPDK example. I used to compile exception_path > > code. > > When I do make command "make", I got an error, > > > > RTE_ARCH is not set. So I set the variable via terminal bash using > > > > export RTE_ARCH=x86_64 > > > > Stilll it is not working. Any wrong anywhere? > > You need, to define the following variables before compiling, please refer > to the DPDK documentation. > > export RTE_TARGET=x86_64-native-linuxapp-gcc > > export RTE_SDK=/home/user/dpdk You can also try to build all examples with these commands: RTE_TARGET=x86_64-native-linuxapp-gcc make T=$RTE_TARGET install make T=$RTE_TARGET examples O=$RTE_TARGET/examples (with DPDK >= 1.7) -- Thomas