I’m trying to create a yocto recipe to add osmosdr on my raspberrypi 4 but I get the following error when I generate my image:
/home/norian/Yocto/build-rpi/tmp/work/cortexa72-poky-linux/uhd/3.15.LTS-r0/git/host/lib/rfnoc/dma_fifo_block_ctrl_impl.cpp:61:21: error: '_1' was not declared in this scope
Here is my recipe:
SUMMARY = "A small image just capable of allowing a device to boot."
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
CORE_IMAGE_EXTRA_INSTALL = "\
packagegroup-sdr-base-extended \
packagegroup-sdr-base-debug \
packagegroup-sdr-base-devel \
packagegroup-sdr-base-python \
packagegroup-sdr-python-extended \
packagegroup-sdr-gnuradio-base \
packagegroup-core-eclipse-debug \
"
RPI_EXTRA_CONFIG = "\
force_turbo=0 \n \
arm_freq=700 \n \
arm_freq_min=100 \
"
IMAGE_INSTALL += "nano"
IMAGE_INSTALL += "gr-osmosdr"
CONF_VERSION = "1"
ENABLE_UART="1"
DISABLE_SPLASH = "1"
DISABLE_RPI_BOOT_LOGO = "1"
I am using Ubuntu 20.04.
My version of poky is :
DISTRO_VERSION = "3.3.4"
DISTRO_CODENAME = "hardknott"
Do you know how to resolve this?