Here I go down a road I did not want to travel. I installed Ubuntu 23.04
onto a Pi 4B. I see the UHD install instructions only talk about Ubuntu
20.04 in regards to required dependencies. I used that set. Cmake fails.
Suggestions are welcomed. If you suggest trying an earlier version,
please let me know how to back up once cmake has run. I don't know how
to restart the process. Thanks. -p
$ git checkout v4.4.0.0-rc1
0:~/workarea/uhd/host/build1$ cmake ..
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
--
-- Configuring the Python interpreter...
-- Python interpreter: /usr/bin/python3 Version: 3.11.2
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Python runtime interpreter: /usr/bin/python3 Version: 3.11.2
-- Override with: -DRUNTIME_PYTHON_EXECUTABLE=<path-to-python>
-- Finding Python Libraries...
-- Python Libraries: /usr/lib/aarch64-linux-gnu/libpython3.11.so
-- Python include directories: /usr/include/python3.11
-- Working off of feature or development branch. Updating version number.
-- Using UHD Images Directory: /usr/local/share/uhd/images
-- Build type not specified: defaulting to release.
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
--
-- Configuring Boost C++ Libraries...
--
-- Checking for Boost version 1.65 or greater
-- Looking for required Boost components...
-- Enabling Boost Error Code Header Only
-- Disabling boost::asio use of std::string_view
-- Boost version: 1.74.0
-- Boost include directories: /usr/include
-- Boost library directories: /usr/lib/aarch64-linux-gnu
-- Boost libraries:
Boost::chrono;Boost::date_time;Boost::filesystem;Boost::program_options;Boost::serialization;Boost::thread;Boost::unit_test_framework;Boost::system
-- Looking for Boost version 1.65 or greater - found
--
-- Python checking for compatible Python version
-- Python checking for compatible Python version - 3.11.2 satisifes
minimum required version 3.6
--
-- Python checking for Mako templates module
-- Python checking for Mako templates module - 1.2.4 satisifes minimum
required version 0.4.2
--
-- Python checking for requests module
-- Python checking for requests module - 2.28.1 satisifes minimum
required version 2.0
--
-- Python checking for numpy module
-- Python checking for numpy module - 1.24.2 satisifes minimum required
version 1.11
--
-- Python checking for ruamel.yaml module
-- Python checking for ruamel.yaml module - 0.17.21 satisifes minimum
required version 0.15
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = TRUE
-- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
-- Enabling LibUHD support.
-- Override with -DENABLE_LIBUHD=ON/OFF
--
-- Configuring LibUHD - C API support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling LibUHD - C API support.
-- Override with -DENABLE_C_API=ON/OFF
--
-- Configuring LibUHD - Python API support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
-- Dependency HAVE_PYTHON_LIBS = TRUE
-- Enabling LibUHD - Python API support.
-- Override with -DENABLE_PYTHON_API=ON/OFF
--
-- Configuring Examples support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Examples support.
-- Override with -DENABLE_EXAMPLES=ON/OFF
--
-- Configuring Utils support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Utils support.
-- Override with -DENABLE_UTILS=ON/OFF
--
-- Configuring Tests support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Tests support.
-- Override with -DENABLE_TESTS=ON/OFF
--
-- Looking for libusb_handle_events_timeout_completed
-- Looking for libusb_handle_events_timeout_completed - found
-- Looking for libusb_error_name
-- Looking for libusb_error_name - found
-- Looking for libusb_strerror
-- Looking for libusb_strerror - found
-- Found LIBUSB: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
CMake Warning (dev) at
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:447
(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_handle_standard_args)
lib/CMakeLists.txt:63 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find DPDK (missing: DPDK_INCLUDE_DIRS DPDK_LIBRARIES)
(Required is at least version "18.11")
--
-- Configuring USB support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LIBUSB_FOUND = TRUE
-- Enabling USB support.
-- Override with -DENABLE_USB=ON/OFF
--
-- Configuring B100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling B100 support.
-- Override with -DENABLE_B100=ON/OFF
--
-- Configuring B200 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling B200 support.
-- Override with -DENABLE_B200=ON/OFF
--
-- Configuring USRP1 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling USRP1 support.
-- Override with -DENABLE_USRP1=ON/OFF
--
-- Configuring USRP2 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling USRP2 support.
-- Override with -DENABLE_USRP2=ON/OFF
--
-- Configuring X300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling X300 support.
-- Override with -DENABLE_X300=ON/OFF
--
-- Configuring MPMD support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling MPMD support.
-- Override with -DENABLE_MPMD=ON/OFF
--
-- Configuring SIM support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Dependency ENABLE_PYTHON_API = ON
-- Enabling SIM support.
-- Override with -DENABLE_SIM=ON/OFF
--
-- Configuring N300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Enabling N300 support.
-- Override with -DENABLE_N300=ON/OFF
--
-- Configuring N320 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Enabling N320 support.
-- Override with -DENABLE_N320=ON/OFF
--
-- Configuring E320 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Enabling E320 support.
-- Override with -DENABLE_E320=ON/OFF
--
-- Configuring E300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Enabling E300 support.
-- Override with -DENABLE_E300=ON/OFF
--
-- Configuring X400 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = ON
-- Enabling X400 support.
-- Override with -DENABLE_X400=ON/OFF
--
-- Configuring OctoClock support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling OctoClock support.
-- Override with -DENABLE_OCTOCLOCK=ON/OFF
--
-- Configuring DPDK support...
-- Dependency ENABLE_MPMD = ON
-- Dependency DPDK_FOUND = FALSE
-- Disabling DPDK support.
-- Override with -DENABLE_DPDK=ON/OFF
--
-- Looking for C++ include emmintrin.h
-- Looking for C++ include emmintrin.h - not found
-- Looking for C++ include arm_neon.h
-- Looking for C++ include arm_neon.h - found
--
-- Configuring priority scheduling...
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Success
-- Performing Test HAVE_WIN_SETTHREADPRIORITY
-- Performing Test HAVE_WIN_SETTHREADPRIORITY - Failed
-- Priority scheduling supported through pthread_setschedparam.
-- Performing Test HAVE_PTHREAD_SETNAME
-- Performing Test HAVE_PTHREAD_SETNAME - Success
-- Setting thread names is supported through pthread_setname_np.
-- Performing Test HAVE_PTHREAD_SETAFFINITY_NP
-- Performing Test HAVE_PTHREAD_SETAFFINITY_NP - Success
-- Performing Test HAVE_WIN_SETTHREADAFFINITYMASK
-- Performing Test HAVE_WIN_SETTHREADAFFINITYMASK - Failed
-- Setting thread affinity is supported through pthread_setaffinity_np.
--
-- Configuring module loading...
-- Performing Test HAVE_DLOPEN
-- Performing Test HAVE_DLOPEN - Success
-- Performing Test HAVE_LOAD_LIBRARY
-- Performing Test HAVE_LOAD_LIBRARY - Failed
-- Module loading supported through dlopen.
--
-- Configuring atomics support...
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_BOOST_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_BOOST_ATOMICS_WITHOUT_LIB - Success
-- Atomics support is built-in, no linking required.
--
-- Processing NI-RIO FPGA LVBITX Bitstreams...
-- Using x300.lvbitx_base for codegen
-- Using x310.lvbitx_base for codegen
--
-- USB support enabled via libusb.
--
-- Configuring interface address discovery...
-- Performing Test HAVE_GETIFADDRS
-- Performing Test HAVE_GETIFADDRS - Success
-- Looking for C++ include winsock2.h
-- Looking for C++ include winsock2.h - not found
-- Interface address discovery supported through getifaddrs.
-- Looking for C++ include atlbase.h
-- Looking for C++ include atlbase.h - not found
--
-- Loading build info.
-- Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so
-- Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so - found
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncurses.so
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncurses.so - found
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncurses.so
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncurses.so - found
-- Found Curses: /usr/lib/aarch64-linux-gnu/libncurses.so
-- Performing Test HAVE_C99_STRUCTDECL
-- Performing Test HAVE_C99_STRUCTDECL - Success
--
-- Adding B2XX device test target
-- Adding X3x0 device test target
-- Adding E3XX device test target
-- Adding N3XX device test target
-- Adding E32x device test target
-- Adding X4x0 device test target
--
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.4") found
components: doxygen missing components: dot
--
-- Configuring Manual support...
-- Dependency DOXYGEN_FOUND = YES
-- Enabling Manual support.
-- Override with -DENABLE_MANUAL=ON/OFF
--
-- Configuring API/Doxygen support...
-- Dependency DOXYGEN_FOUND = YES
-- Enabling API/Doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
--
-- Found GZip: /usr/bin/gzip
--
-- Compressed Man Pages enabled
-- Override with -DENABLE_MAN_PAGE_COMPRESSION=ON/OFF
--
-- Configuring Man Pages support...
-- Dependency NOT_WIN32 = TRUE
-- Dependency GZIP_FOUND = TRUE
-- Enabling Man Pages support.
-- Override with -DENABLE_MAN_PAGES=ON/OFF
--
-- Python checking for virtual environment
-- Python checking for virtual environment - "assert sys.prefix !=
sys.base_prefix" failed
--
-- Python checking for gevent module
-- Python checking for gevent module - "import gevent" failed (is it
installed?)
--
-- Python checking for mprpc module
-- Python checking for mprpc module - "import mprpc" failed (is it
installed?)
--
-- Python checking for pyudev module
-- Python checking for pyudev module - "import pyudev" failed (is it
installed?)
--
-- Python checking for pyroute2 module
-- Python checking for pyroute2 module - "import pyroute2" failed (is it
installed?)
-- MPM unit test Python package prerequisites not met; skipping
--
-- Utilizing the python install directory:
/usr/local/local/lib/python3.11/dist-packages
--
-- ######################################################
-- # UHD enabled components
-- ######################################################
-- * LibUHD
-- * LibUHD - C API
-- * LibUHD - Python API
-- * Examples
-- * Utils
-- * Tests
-- * USB
-- * B100
-- * B200
-- * USRP1
-- * USRP2
-- * X300
-- * MPMD
-- * SIM
-- * N300
-- * N320
-- * E320
-- * E300
-- * X400
-- * OctoClock
-- * Manual
-- * API/Doxygen
-- * Man Pages
--
-- ######################################################
-- # UHD disabled components
-- ######################################################
-- * DPDK
--
-- ******************************************************
-- * You are building a development branch of UHD.
-- * These branches are designed to provide early access
-- * to UHD and USRP features, but should be considered
-- * unstable and/or experimental!
-- ******************************************************
-- Building version: 4.4.0.HEAD-0-g3cf9529f
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/adi/workarea/uhd/host/build1
adi@pi10:~/workarea/uhd/host/build1$ sudo make test
[sudo] password for adi:
Running tests...
Test project /home/adi/workarea/uhd/host/build1
Start 1: addr_test
1/91 Test #1: addr_test ........................***Failed 0.01 sec
Start 2: buffer_test
2/91 Test #2: buffer_test ......................***Failed 0.01 sec
Start 3: byteswap_test
3/91 Test #3: byteswap_test ....................***Failed 0.01 sec
Start 4: cast_test
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com