AnsweredAssumed Answered

gr-iio in buildroot

Question asked by vshn on Nov 16, 2016
Latest reply on Nov 28, 2016 by vshn

I'm attempting to add gr-iio support to my file system in buildroot (zedboard with fmcomms2). I built the base image with GNU Radio and all available add-ons (buildroot v2016.08.1). I added support for libiio and create and installed a recipe for libad9361-iio.

 

When compiling gr-iio (on buildroot) I receive the following error:

 

Checking for GNU Radio Module: ANALOG
-- Checking for module 'gnuradio-analog'
-- Package gnuradio-analog was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnuradio-analog.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gnuradio-analog', required by 'world', not found
* INCLUDES=GNURADIO_ANALOG_INCLUDE_DIRS-NOTFOUND
* LIBS=GNURADIO_ANALOG_LIBRARIES_gnuradio-analog-NOTFOUND
-- Could NOT find GNURADIO_ANALOG (missing: GNURADIO_ANALOG_LIBRARIES GNURADIO_ANALOG_INCLUDE_DIRS)
GNURADIO_ANALOG_FOUND = FALSE
CMake Error at /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:110 (message):
Required GNU Radio Component: ANALOG missing!

 

GR_ANALOG was installed per buildroot however I cannot find the gnuradio-analog.pc file in the target system. I was wondering if anyone else has had this issue trying to build gr-iio (or other OOT modules in general) with buildroot. I saw a closed issue on OOT general about this that was resolved by updating the GNURadio version. 

 

Or if anyone can share their gr-iio Config and mk files that would be outstanding. Thanks.

Outcomes