just doing the normal calls does not work:
make install-dep
make install-ext-deps
make build
make pkg-rpm
So to get it working I read the Makefile and errors and this is what I am
doing now:
dnf -y update
dnf -y groupinstall 'Development Tools'
dnf -y install gcc gcc-c++ make
dnf -y install redhat-lsb glibc-static
dnf -y install apr-devel
dnf -y install numactl-devel
dnf -y install check check-devel boost boost-devel
dnf -y install selinux-policy selinux-policy-devel
dnf -y install cmake ninja-build libuuid-devel mbedtls-devel
dnf -y install dnf-utils
dnf -y install subunit subunit-devel python3-devel python3-ply
python3-virtualenv
# dnf -y install compat-openssl10-devel --- I am getting conflict between
this lib and openssl-devel
dnf -y install ccache chrpath libffi-devel rpm-build
make install-dep
make install-ext-deps
make build
make pkg-rpm
The Errors I am seeing:
Error:
Problem: problem with installed package
openssl-devel-1:1.1.1g-1.fc32.x86_64
- package compat-openssl10-devel-1:1.0.2o-9.fc32.i686 conflicts with
openssl-devel provided by openssl-devel-1:1.1.1g-1.fc32.x86_64
- package compat-openssl10-devel-1:1.0.2o-9.fc32.i686 conflicts with
openssl-devel provided by openssl-devel-1:1.1.1d-7.fc32.x86_64
- conflicting requests
- package compat-openssl10-devel-1:1.0.2o-9.fc32.x86_64 conflicts with
openssl-devel provided by openssl-devel-1:1.1.1g-1.fc32.x86_64
- package compat-openssl10-devel-1:1.0.2o-9.fc32.x86_64 conflicts with
openssl-devel provided by openssl-devel-1:1.1.1d-7.fc32.x86_64
(try to add '--allowerasing' to command line to replace conflicting
packages or '--skip-broken' to skip uninstallable packages)
make: *** [Makefile:329: install-dep] Error 1
........
........
........
== Build app/test-cmdline
CC cmdline_test.o
CC main.o
CC main.o
CC commands.o
CC commands.o
LD cmdline_test
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
multiple definition of `aesni_mb_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
multiple definition of `aesni_gcm_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_mbox.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_caam_jr.a(caam_jr.o):(.bss+0x0):
multiple definition of `rta_sec_era';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_dpaa2_sec.a(dpaa2_sec_dpseci.o):(.data+0x0):
first defined here
LD dpdk-procinfo
CC test.o
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
multiple definition of `aesni_mb_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
multiple definition of `aesni_gcm_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
first defined here
CC resource.o
LD dpdk-pdump
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_mbox.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_caam_jr.a(caam_jr.o):(.bss+0x0):
multiple definition of `rta_sec_era';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_dpaa2_sec.a(dpaa2_sec_dpseci.o):(.data+0x0):
first defined here
CC test_resource.o
CC test_prefetch.o
CC test_byteorder.o
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
multiple definition of `aesni_mb_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
multiple definition of `aesni_gcm_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
first defined here
CC test_per_lcore.o
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_mbox.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_caam_jr.a(caam_jr.o):(.bss+0x0):
multiple definition of `rta_sec_era';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_dpaa2_sec.a(dpaa2_sec_dpseci.o):(.data+0x0):
first defined here
CC test_atomic.o
CC test_barrier.o
CC test_malloc.o
collect2: error: ld returned 1 exit status
make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/rte.app.mk:446:
cmdline_test] Error 1
make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.subdir.mk:37: test-cmdline] Error 2
make[8]: *** Waiting for unfinished jobs....
CC test_cycles.o
CC test_mcslock.o
CC test_spinlock.o
CC test_ticketlock.o
CC test_memory.o
collect2: error: ld returned 1 exit status
make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/rte.app.mk:446:
dpdk-procinfo] Error 1
make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.subdir.mk:37: proc-info] Error 2
CC test_memzone.o
CC test_bitmap.o
CC test_reciprocal_division.o
CC test_reciprocal_division_perf.o
collect2: error: ld returned 1 exit status
make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/rte.app.mk:446:
dpdk-pdump] Error 1
make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.subdir.mk:37: pdump] Error 2
CC test_fbarray.o
CC test_external_mem.o
CC test_rand_perf.o
CC test_ring.o
CC test_ring_perf.o
CC test_pmd_perf.o
CC test_rwlock.o
CC test_stack.o
CC test_stack_perf.o
CC test_timer.o
CC test_timer_perf.o
CC test_timer_racecond.o
CC test_timer_secondary.o
CC test_mempool.o
CC test_mempool_perf.o
CC test_mbuf.o
CC test_logs.o
CC test_memcpy.o
CC test_memcpy_perf.o
CC test_hash.o
CC test_thash.o
CC test_hash_perf.o
CC test_hash_functions.o
CC test_hash_multiwriter.o
CC test_hash_readwrite.o
CC test_hash_readwrite_lf_perf.o
CC test_rib.o
CC test_rib6.o
CC test_fib.o
CC test_fib6.o
CC test_fib_perf.o
CC test_fib6_perf.o
CC test_debug.o
CC test_errno.o
CC test_tailq.o
CC test_string_fns.o
CC test_cpuflags.o
CC test_mp_secondary.o
CC test_eal_flags.o
CC test_eal_fs.o
CC test_alarm.o
CC test_interrupts.o
CC test_version.o
CC test_func_reentrancy.o
CC test_service_cores.o
CC sample_packet_forward.o
CC test_pdump.o
CC test_cmdline.o
CC test_cmdline_num.o
CC test_cmdline_etheraddr.o
CC test_cmdline_portlist.o
CC test_cmdline_ipaddr.o
CC test_cmdline_cirbuf.o
CC test_cmdline_string.o
CC test_cmdline_lib.o
CC test_crc.o
CC test_red.o
CC test_sched.o
CC test_meter.o
CC test_common.o
CC test_reorder.o
CC virtual_pmd.o
CC packet_burst_generator.o
CC test_pmd_ring.o
CC test_pmd_ring_perf.o
CC test_cryptodev_blockcipher.o
CC test_cryptodev.o
CC test_cryptodev_asym.o
CC test_cryptodev_security_pdcp.o
CC test_metrics.o
CC test_eventdev.o
CC test_event_ring.o
CC test_event_eth_rx_adapter.o
CC test_event_eth_tx_adapter.o
CC test_event_timer_adapter.o
CC test_event_crypto_adapter.o
CC test_kvargs.o
CC test_rcu_qsbr.o
CC test_rcu_qsbr_perf.o
CC test_ipsec.o
CC test_ipsec_sad.o
MKRES test_resource_c.res.o
LD test
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
multiple definition of `aesni_mb_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
multiple definition of `aesni_gcm_logtype_driver';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_mbox.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
multiple definition of `otx2_cryptodev_driver_id';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
multiple definition of `otx2_cpt_ops';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
first defined here
/usr/bin/ld:
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_caam_jr.a(caam_jr.o):(.bss+0x0):
multiple definition of `rta_sec_era';
/root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_dpaa2_sec.a(dpaa2_sec_dpseci.o):(.data+0x0):
first defined here
collect2: error: ld returned 1 exit status
make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/rte.app.mk:446:
test] Error 1
make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.subdir.mk:37: test] Error 2
make[7]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.sdkbuild.mk:48: app] Error 2
make[6]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.sdkroot.mk:99: all] Error 2
make[5]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.sdkinstall.mk:61: pre_install] Error 2
make[4]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
rte.sdkroot.mk:77: install] Error 2
make[4]: Leaving directory '/root/vpp/build/external/rpm/tmp/dpdk-20.02'
make[3]: *** [packages/dpdk.mk:294:
/root/vpp/build/external/rpm/tmp/.dpdk-build.ok] Error 2
make[3]: Leaving directory '/root/vpp/build/external'
error: Bad exit status from /var/tmp/rpm-tmp.KUuhOZ (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.KUuhOZ (%install)
make[2]: *** [Makefile:111: vpp-ext-deps-20.05-0.x86_64.rpm] Error 1
make[2]: Leaving directory '/root/vpp/build/external'
make[1]: *** [Makefile:123: install-rpm] Error 2
make[1]: Leaving directory '/root/vpp/build/external'
make: *** [Makefile:633: install-ext-deps] Error 2
Please install missing RPMs: \npackage compat-openssl10-devel is not
installedpackage python3-jsonschema is not installed\n
by executing "make install-dep"\n
make: *** [Makefile:284: /root/vpp/build-root/.deps.ok] Error 1
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
/root/vpp/build-root/vpp-20.05.4-release.tar (1/1)
100 % 17.3 MiB / 48.3 MiB = 0.358 3.4 MiB/s 0:14
make -C extras/rpm
make[1]: Entering directory '/root/vpp/extras/rpm'
/root/vpp/build-root/vpp-20.05.4-release.tar.xz
mkdir -p /root/vpp/build-root/rpmbuild/{RPMS,SRPMS,BUILD,SOURCES,SPECS}
cp /root/vpp/build-root/vpp-20.05.4-release.tar.xz
/root/vpp/build-root/rpmbuild/SOURCES/vpp-20.05.4-release.tar.xz
cp 'vpp.spec' /root/vpp/build-root/rpmbuild/SPECS
rpmbuild -bb \
--define "_topdir /root/vpp/build-root/rpmbuild" \
--define "_version 20.05.4" \
--define "_release release" \
/root/vpp/build-root/rpmbuild/SPECS/'vpp.spec'
error: parse error in expression: 0%{rhel} < 8
error: ^
error: /root/vpp/build-root/rpmbuild/SPECS/vpp.spec:162: bad %if condition:
0%{rhel} < 8
make[1]: *** [Makefile:57: RPM] Error 1
make[1]: Leaving directory '/root/vpp/extras/rpm'
make: *** [Makefile:620: pkg-rpm] Error 2
On Tue, Jun 23, 2020 at 1:48 AM carlito nueno via lists.fd.io <carlitonueno=
[email protected]> wrote:
> Hi,
>
> I am receiving the following error when compiling on fedora 32:
>
> compiling using:
> make install-dep
> make install-ext-deps
> make build
> make pkg-rpm
>
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
> multiple definition of `aesni_mb_logtype_driver';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_mb.a(rte_aesni_mb_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_mb/aesni_mb_pmd_private.h:22:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
> multiple definition of `aesni_gcm_logtype_driver';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_aesni_gcm.a(aesni_gcm_pmd.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h:23:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
> multiple definition of `otx2_cpt_ops';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_hw_access.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> multiple definition of `otx2_cryptodev_driver_id';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_mbox.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> multiple definition of `otx2_cryptodev_driver_id';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> multiple definition of `otx2_cryptodev_driver_id';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev.h:41:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev_ops.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
> multiple definition of `otx2_cpt_ops';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_octeontx2_crypto.a(otx2_cryptodev.o):/root/vpp/build/external/rpm/tmp/dpdk-20.02/drivers/crypto/octeontx2/otx2_cryptodev_ops.h:19:
> first defined here
> /usr/bin/ld:
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_caam_jr.a(caam_jr.o):(.bss+0x0):
> multiple definition of `rta_sec_era';
> /root/vpp/build/external/rpm/tmp/dpdk-20.02/x86_64-native-linuxapp-gcc/lib/librte_pmd_dpaa2_sec.a(dpaa2_sec_dpseci.o):(.data+0x0):
> first defined here
> collect2: error: ld returned 1 exit status
> make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.app.mk:446: dpdk-pdump] Error 1
> make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.subdir.mk:37: pdump] Error 2
> make[8]: *** Waiting for unfinished jobs....
> collect2: error: ld returned 1 exit status
> make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.app.mk:446: dpdk-procinfo] Error 1
> make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.subdir.mk:37: proc-info] Error 2
> collect2: error: ld returned 1 exit status
> make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.app.mk:446: cmdline_test] Error 1
> make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.subdir.mk:37: test-cmdline] Error 2
> collect2: error: ld returned 1 exit status
> make[9]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.app.mk:446: test] Error 1
> make[8]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.subdir.mk:37: test] Error 2
> make[7]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.sdkbuild.mk:48: app] Error 2
> make[6]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.sdkroot.mk:99: all] Error 2
> make[5]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.sdkinstall.mk:61: pre_install] Error 2
> make[4]: *** [/root/vpp/build/external/rpm/tmp/dpdk-20.02/mk/
> rte.sdkroot.mk:77: install] Error 2
> make[4]: Leaving directory '/root/vpp/build/external/rpm/tmp/dpdk-20.02'
> make[3]: *** [packages/dpdk.mk:294:
> /root/vpp/build/external/rpm/tmp/.dpdk-build.ok] Error 2
> make[3]: Leaving directory '/root/vpp/build/external'
> error: Bad exit status from /var/tmp/rpm-tmp.sQxWFQ (%install)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.sQxWFQ (%install)
> make[2]: *** [Makefile:111: vpp-ext-deps-20.05-0.x86_64.rpm] Error 1
> make[2]: Leaving directory '/root/vpp/build/external'
> make[1]: *** [Makefile:123: install-rpm] Error 2
> make[1]: Leaving directory '/root/vpp/build/external'
> make: *** [Makefile:633: install-ext-deps] Error 2
> Please install missing RPMs: \npackage redhat-lsb is not installedpackage
> apr-devel is not installedpackage boost is not installedpackage boost-devel
> is not installedpackage selinux-policy-devel is not installedpackage
> libuuid-devel is not installedpackage dnf-utils is not installedpackage
> compat-openssl10-devel is not installedpackage python3-ply is not
> installedpackage python3-virtualenv is not installedpackage
> python3-jsonschema is not installedpackage libffi-devel is not installed\n
> by executing "make install-dep"\n
> make: *** [Makefile:284: /root/vpp/build-root/.deps.ok] Error 1
> tar: Removing leading `/' from member names
> tar: Removing leading `/' from hard link targets
> /root/vpp/build-root/vpp-20.05.1-release.tar (1/1)
> 100 % 17.3 MiB / 48.3 MiB = 0.358 3.7 MiB/s 0:12
> make -C extras/rpm
> make[1]: Entering directory '/root/vpp/extras/rpm'
> /root/vpp/build-root/vpp-20.05.1-release.tar.xz
> mkdir -p /root/vpp/build-root/rpmbuild/{RPMS,SRPMS,BUILD,SOURCES,SPECS}
> cp /root/vpp/build-root/vpp-20.05.1-release.tar.xz
> /root/vpp/build-root/rpmbuild/SOURCES/vpp-20.05.1-release.tar.xz
> cp 'vpp.spec' /root/vpp/build-root/rpmbuild/SPECS
> rpmbuild -bb \
> --define "_topdir /root/vpp/build-root/rpmbuild" \
> --define "_version 20.05.1" \
> --define "_release release" \
> /root/vpp/build-root/rpmbuild/SPECS/'vpp.spec'
> error: parse error in expression: 0%{rhel} < 8
> error: ^
> error: /root/vpp/build-root/rpmbuild/SPECS/vpp.spec:162: bad %if
> condition: 0%{rhel} < 8
> make[1]: *** [Makefile:57: RPM] Error 1
> make[1]: Leaving directory '/root/vpp/extras/rpm'
> make: *** [Makefile:620: pkg-rpm] Error 2
>
> any advice?
>
> Thanks!
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16795): https://lists.fd.io/g/vpp-dev/message/16795
Mute This Topic: https://lists.fd.io/mt/75056324/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-