[dpdk-dev] Intel DPDK: exception_path:RTE_ARCH

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 2 12:00:13 CEST 2014


2014-07-02 12:56, Alex Markuze:
> On Wed, Jul 2, 2014 at 12:48 PM, sothy shan <sothy.e98 at gmail.com> 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


More information about the dev mailing list