[Discuss-gnuradio] buildroot installation not generating/placing .pc fil
From:
gutelfuldead
Subject:
[Discuss-gnuradio] buildroot installation not generating/placing .pc files
Date:
Thu, 17 Nov 2016 14:44:35 +0000
User-agent:
NylasMailer/0.4
Hey,
I am working on an embedded system build (zedboard) using buildroot that is installing GNURadio and a handful of OOT Modules.
The entire system builds without errors with options:
* gnuradio
* blocks support
* ctrlport support
* gr-fec support
* python support
* gr-utils support
* gr-analog support
* gr-channels support
* gr-digital support
* gr-fft support
* gr-filter support
* gr-flex support
* gr-trellis support
I then created the config and mk files to install gr-iio. However as buildroot attempts to make and install it to the target system I receive the following error:
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
-- Found gnuradio-runtime, version 3.7.9.1
* INCLUDES=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include
* LIBS=/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-runtime.so;/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
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!
Call Stack (most recent call first):
/home/afx/zedboard/buildroot-2016.08.1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:118 (GR_MODULE)
CMakeLists.txt:120 (find_package)
The closest solution I can find to this problem is in ( https://github.com/gnuradio/gr-tutorial/issues/8 ) which was resolved by updating GNU Radio to a version that is downstream of my current version (3.7.9.1). Has anyone experienced similar issues or know how to force GNU Radio to generate and place the appropriate .so files?
Thanks.