Thanks for the reply Can you let me know which OS type and version is recommended for VPP v23.02?
Thanks & Regards, Sandeep Kumar On Fri, Mar 10, 2023 at 12:49 AM Dave Wallace <dwallac...@gmail.com> wrote: > Hi Sandeep, > > The VPP community no longer supports building on CentOS-7. The build > infrastructure for centos/redhat/rocky OS distros was left in place after > support ended, but there are no active maintainers for this build infra nor > are there any CI jobs to ensure that it still works. > > You may get lucky and a community member may chime in, but for the most > part you are on your own wrt. getting currently supported VPP releases to > build on CentOS-7. > > Thanks, > -daw- > > On 3/9/2023 11:56 AM, SANDEEP KUMAR wrote: > > Hi All, > > I am trying to build VPP v23.02 but getting an issue while performing the > *make > install-ext-deps* step in centos 7 VM, so please look at the following > issue and help me to resolve it. > > *Prerequisites:* > sudo yum groupinstall "Development Tools" > sudo yum install -y numactl-devel libarchive-devel bzip2-devel > libpcap-devel libhugetlbfs-utils pciutils pkgconfig libtool ethtool > sudo yum -y install libibverbs > sudo yum -y groupinstall "Infiniband Support" > sudo yum install -y numactl-devel librdmacm-devel libmnl-devel libatomic > > #Download and install nasm > wget https://www.nasm.us/pub/nasm/releasebuilds/2.15/nasm-2.15.tar.gz > tar -xzvf nasm-2.15.tar.gz > cd nasm-2.15/ > sh autogen.sh > sh configure --prefix=/usr/local/ > make > sudo make install > sudo ldconfig > > #Download and install the latest libpcap > git clone https://github.com/the-tcpdump-group/libpcap.git > cd libpcap > git checkout libpcap-1.10.0 > ./autogen.sh > ./configure > make > make install > sudo ldconfig > > #Download and build clang with 10.x version > git clone -b llvmorg-10.0.1 --depth 1 > https://github.com/llvm/llvm-project.git > cd llvm-project > mkdir build && cd build > cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" > -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release ../llvm > make -j 8 > sudo make install > sudo ldconfig > > To download the pre-compiled cmake v3.23 > wget > https://github.com/Kitware/CMake/releases/download/v3.23.0-rc4/cmake-3.23.0-rc4-linux-x86_64.tar.gz > tar -xzvf cmake-3.23.0-rc4-linux-x86_64.tar.gz > cd cmake-3.23.0-rc4-linux-x86_64 > cp -v ./bin/cmake /usr/local/bin > cp -r ./share/cmake-3.23 /usr/local/share > sudo ldconfig > > *Using gcc version 9.3.x while build VPP v23.02* > sudo yum install -y centos-release-scl > sudo yum install -y devtoolset-9 > scl enable devtoolset-9 bash > [root@localhost vpp]# gcc --version > gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) > Copyright (C) 2019 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > *Using centos 7 and kernel used* > [root@localhost vpp]#* cat /etc/os-release* > NAME="CentOS Linux" > VERSION="7 (Core)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (Core)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/" > BUG_REPORT_URL="https://bugs.centos.org/" > > CENTOS_MANTISBT_PROJECT="CentOS-7" > CENTOS_MANTISBT_PROJECT_VERSION="7" > REDHAT_SUPPORT_PRODUCT="centos" > REDHAT_SUPPORT_PRODUCT_VERSION="7" > > [root@localhost vpp]# *uname -r* > 3.10.0-1160.71.1.el7.x86_64 > > > *Git clone VPP and build VPP v23.02* > git clone https://gerrit.fd.io/r/vpp > cd vpp > git tag > git checkout v23.02 > make install-deps > > Following issue coming while performing make install-ext-deps step > *make install-ext-deps* > *...........* > *...........* > *..........* > Installing > /home/centos/download_vpp/vpp/build/external/rpm/tmp/build-dpdk/meson-private/libdpdk.pc > to > /home/centos/download_vpp/vpp/build/external/rpm/BUILDROOT/vpp-ext-deps-23.02-8. > x86_64/opt/vpp/external/x86_64/lib/pkgconfig > Running custom install script '/bin/sh > /home/centos/download_vpp/vpp/build/external/rpm/tmp/src-dpdk/config/../buildtools/symlink-drivers-solibs.sh > lib dpdk/pmds-22.2' > --- installing quicly 0.1.4-vpp - log: > /home/centos/download_vpp/vpp/build/external/rpm/tmp/quicly.install.log > mkdir -p downloads > Downloading > https://github.com/xdp-project/xdp-tools/releases/download/v1.2.9/xdp-tools-1.2.9.tar.gz > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > 0 > 100 1177k 100 1177k 0 0 271k 0 0:00:04 0:00:04 --:--:-- > 468k > --- validating xdp-tools 1.2.9 checksum > --- extracting xdp-tools 1.2.9 > --- patching xdp-tools 1.2.9 > Applying patch: 0001-libxdp-add-fPIC-with-static-lib-build.patch > patching file lib/libxdp/Makefile > Applying patch: 0002-libxdp-fix-asm-types.h-file-not-found-issue.patch > patching file lib/defines.mk > Applying patch: 0003-libxdp-fix-maybe-uninitialized-compiler-warning.patch > patching file lib/common.mk > --- configuring xdp-tools 1.2.9 - log: > /home/centos/download_vpp/vpp/build/external/rpm/tmp/xdp-tools.config.log > --- building xdp-tools 1.2.9 - log: > /home/centos/download_vpp/vpp/build/external/rpm/tmp/xdp-tools.build.log > xdpdump.c: In function 'get_if_drv_info': > xdpdump.c:272:10: error: 'struct ethtool_drvinfo' has no member named > 'erom_version'; did you mean 'fw_version'? > 272 | info.erom_version, info.bus_info)) > | ^~~~~~~~~~~~ > | fw_version > make[5]: *** [../lib/common.mk:104: xdpdump] Error 1 > make[4]: *** [Makefile:34: xdp-dump] Error 2 > make[3]: *** [packages/xdp-tools.mk:39: > /home/centos/download_vpp/vpp/build/external/rpm/tmp/.xdp-tools.build.ok] > Error 2 > make[3]: Leaving directory '/home/centos/download_vpp/vpp/build/external' > error: Bad exit status from /var/tmp/rpm-tmp.ZPdldt (%install) > > Thanks & Regards, > Sandeep Kumar > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22685): https://lists.fd.io/g/vpp-dev/message/22685 Mute This Topic: https://lists.fd.io/mt/97500372/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-