Hi Altug, This issue might be related cmake version. Which version of cmake you are using?
>From the uhd/host/cmake/Modules/FindDPDK.cmake file, set(DPDK_VERSION "${DPDK_VERSION_MAJOR}.${DPDK_VERSION_MINOR}" PARENT_SCOPE) Somehow, your _MAJOR and _MINOR variables are not set. You should check whether the rte_version.h file is reachable by printing DPDK_VERSION_STR variable located at uhd/host/cmake/Modules/FindDPDK.cmake:24 . If it's reachable, please check the REGEX can parse the expression set in lines 26 and 29. Please let me know if you have any questions. PS. Your email was flagged as spam, that's probably why nobody has seen it until now. Fyi A. On Fri, May 17, 2024 at 2:13 PM Kaya, Altug <altug.k...@hhi.fraunhofer.de> wrote: > Dear USRP Users Mailing List Members, > > > > I am following the guide called “Getting Started with DPDK and UHD - > Ettus Knowledge Base > <https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD#Enable_hugepages>” > in order to run applications on USRP X440 with DPDK. As it is recommended, > I installed DPDK via the system-provided installer: sudo apt install dpdk > dpdk-dev . After the verification with dpdk-proc-info -v, the RTE Version > is shown as ‘DPDK 21.11.6’ > > > > Then, I cloned the UHD v4.6.0.0 to my home directory in order to build UHD > from source. However, when I run the cmake ../ command the DPDK was > listed under the “UHD disabled components” and there were no errors. > Nevertheless, there were some messages related with DPDK: > > > > CMake Warning (dev) at > /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:477 > (message): > > ‘find_package()’ specify a version range but the module DPDK does not > > support this capability. Only the lower endpoint of the range will be > > used. > > Call Stack (most recent call first): > > cmake/Modules/FindDPDK.cmake:86 > (find_package_hangle_standard_args) > > lib/CMakeLists.txt:63 (find_package) > > This warning is for project developers. Use -Wno-dev to suppress it. > > > > -- Could NOT find DPDK: Found unsuitable version “.”, but required is at > least “18.11” (found /usr/include/dpdk;/usr/include/x86_64-linux-gnu/dpdk) > > > > I checked uhd/host/lib/FindDPDK.cmake and edited the line 63 from > find_package(DPDK > 18.11…21.11) to find_package(DPDK 21.11.6). Then the warning messages > disappeared in the output of cmake ../ and only the message below remains: > > > > -- Could NOT find DPDK: Found unsuitable version “.”, but required is at > least “21.11.6” (found /usr/include/dpdk;/usr/include/x86_64-linux-gnu/dpdk) > > > > I also tried to edit usr/include/dpdk/rte_version.h and > /usr/include/x86_64-linux-gnu/dpdk/rte_config.h in order to get around of > the version “.” message. However, I failed. > > > > What should I do to see the DPDK under “UHD enabled components” after > writing the build files with cmake ../ ? > > > > Best Regards, > > Altug KAYA > > > > P.S. Please find the specifications of my workstation down below: > > - OS: Ubuntu 22.04.4 LTS (with Linux 5.15.0-107 kernel) > - MBO: ASUS Pro WS WRX90E-SAGE SE > - CPU: AMD Ryzen Threadripper PRO 7975WX > - RAM: 8x32GB RDIMM Samsung DDR5-4800 > - SSD:2TB Samsung 990 Pro PCIe Gen4 > - Network Card: Mellanox MCX516A-CDAT ConnectX-5 Ex (PCIe 4.0 x16) > > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com