Re: [vpp-dev] Having issues compiling 20.05.1 on Fedora 32
make build works for me on Fedora 32 and VPP master. I did some cleanup first, not elegant but it works for me: rm -rf build-root/* git checkout . make build I think I saw the issue about openssl-devel and compat-openssl10-devel, but somehow I did something that made the compat versions disappear. Probably something with dnf, but I'm not sure. I don't go beyond make build. Burt -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16797): https://lists.fd.io/g/vpp-dev/message/16797 Mute This Topic: https://lists.fd.io/mt/75056324/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Having issues compiling 20.05.1 on Fedora 32
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:
[vpp-dev] Having issues compiling 20.05.1 on Fedora 32
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]: ***