From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by dpdk.org (Postfix) with ESMTP id ABDF7F3E for ; Wed, 28 Feb 2018 08:01:05 +0100 (CET) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 59A88AC1D; Wed, 28 Feb 2018 07:01:05 +0000 (UTC) Message-ID: <1519801263.2779.1.camel@suse.de> From: Marco Varlese To: Ferruh Yigit , dev@dpdk.org Cc: Dave Hunt Date: Wed, 28 Feb 2018 08:01:03 +0100 In-Reply-To: <1519800421.2779.0.camel@suse.de> References: <1519747716.3553.15.camel@suse.de> <3ef96d63-3457-7e8d-1e9e-f0d1d3458558@intel.com> <1519800421.2779.0.camel@suse.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] Issue building for ppc64le 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: Wed, 28 Feb 2018 07:01:05 -0000 On Wed, 2018-02-28 at 07:47 +0100, Marco Varlese wrote: > On Tue, 2018-02-27 at 18:15 +0000, Ferruh Yigit wrote: > > On 2/27/2018 4:08 PM, Marco Varlese wrote: > > > Hi, > > > > > > Is anybody else experiencing issues with building DPDK 17.11 for ppc64le? > > > Any help would be very much appreciated. > > > > I have not tested but PPC config disables the ixgbe and this sample uses > > ixgbe so build error is expected. > > Ok; so can you provide how to disable IXGBE? Never mind, I found how to... > > > > This example is using PMD specific APIs and unfortunately it makes the > > sample application non portable for all architectures. > > Ok; how do I disable the building of this sample app? Never mind, I found how to... > > > > > > > > I get the below error: > > > > > > == START == > > > [ 326s] gcc -Wp,-MD,./.power_manager.o.d.tmp -m64 -pthread -fPIC - > > > DRTE_MACHINE_CPUFLAG_PPC64 -DRTE_MACHINE_CPUFLAG_ALTIVEC > > > -DRTE_MACHINE_CPUFLAG_VSX -I/home/abuild/rpmbuild/BUILD/dpdk- > > > 17.11/ppc_64- > > > power8-linuxapp-gcc/examples/vm_power_manager/ppc_64-power8-linuxapp- > > > gcc/include > > > -I/home/abuild/rpmbuild/BUILD/dpdk-17.11/ppc_64-power8-linuxapp- > > > gcc/include > > > -include /home/abuild/rpmbuild/BUILD/dpdk-17.11/ppc_64-power8-linuxapp- > > > gcc/include/rte_config.h -O3 -I/home/abuild/rpmbuild/BUILD/dpdk- > > > 17.11/lib/librte_power/ -W -Wall -Wstrict-prototypes -Wmissing-prototypes > > > -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align > > > -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef > > > -Wwrite-strings -Wimplicit-fallthrough=2 -Wno-format-truncation - > > > DVERSION="17.11" -o power_manager.o -c /home/abuild/rpmbuild/BUILD/dpdk- > > > 17.11/examples/vm_power_manager/power_manager.c > > > [ 327s] /home/abuild/rpmbuild/BUILD/dpdk- > > > 17.11/examples/vm_power_manager/main.c:61:10: fatal error: > > > rte_pmd_ixgbe.h: > > > No > > > such file or directory > > > [ 327s] #include > > > [ 327s] ^~~~~~~~~~~~~~~~~ > > > [ 327s] compilation terminated. > > > [ 327s] make[4]: *** [/home/abuild/rpmbuild/BUILD/dpdk- > > > 17.11/mk/internal/rte.compile-pre.mk:140: main.o] Error 1 > > > [ 327s] make[4]: *** Waiting for unfinished jobs.... > > > == END == > > > > > > Cheers, > > > > > > > -- Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg