Issue building for ppc64le
Hi,
Is anybody else experiencing issues with building DPDK 17.11 for ppc64le? Any help would be very much appreciated.
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 <rte_pmd_ixgbe.h> [ 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,
Signature · 4 lines
Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
Quoted 4 lines · Marco Varlese
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.
This example is using PMD specific APIs and unfortunately it makes the sample application non portable for all architectures.
Quoted 30 lines
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(quoted diff) +0
-2-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(quoted diff) +0
-3-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 <rte_pmd_ixgbe.h> [ 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,
Quoted 8 lines · Ferruh Yigit
Quoted 4 lines · Marco Varlese
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?
Quoted 3 lines
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?
Quoted 35 lines
Quoted 33 lines
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(quoted diff) +0
-2-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(quoted diff) +0
-3-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 <rte_pmd_ixgbe.h> [ 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,
Signature · 4 lines
Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
Quoted 11 lines · Marco Varlese
Quoted 8 lines · Ferruh Yigit
Quoted 4 lines · Marco Varlese
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...
Quoted 5 lines
Quoted 3 lines
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...
Quoted 38 lines
Quoted 38 lines
Quoted 36 lines
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(quoted diff) +0
-3-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 <rte_pmd_ixgbe.h> [ 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,
Signature · 4 lines
Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg