Skip to contentSkip to conversation

gnuradio: gr-fec: add missing dependency to gsl

PATCH New Gwenhael Goavec-Merou 2 participants 2 messages Nov 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnuradio: gr-fec: add missing dependency to gsl

From: Gwenhael Goavec-Merou <[email protected]>

gr-fec needs gsl. Without this dependency cmake search gsl in the host system. This issue produce errors like :

arm-buildroot-linux-uclibcgnueabihf-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
make[3]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/reed-solomon/encode_rs.c.o] Error 1

---
 package/gnuradio/Config.in   | 1 +
 package/gnuradio/gnuradio.mk | 1 +
 2 files changed, 2 insertions(+)
package/gnuradio/Config.in +1 -0
index 50f5e7f..8301afe 100644
@@ -49,6 +49,7 @@ config BR2_PACKAGE_GNURADIO_CTRLPORT
 config BR2_PACKAGE_GNURADIO_FEC
 	bool "gr-fec support"
 	select BR2_PACKAGE_GNURADIO_BLOCKS
+	select BR2_PACKAGE_GSL
 	help
 	  FEC signal processing blocks
 
package/gnuradio/gnuradio.mk +1 -0
index 5cb00d2..f1817f6 100644
@@ -89,6 +89,7 @@ GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y)
+GNURADIO_DEPENDENCIES += gsl
 GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON
 else
 GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 gnuradio: gr-fec: add missing dependency to gsl

Hello,

Quoted 10 lines · Gwenhael Goavec-Merou

From: Gwenhael Goavec-Merou <[email protected]>

gr-fec needs gsl. Without this dependency cmake search gsl in the host system. This issue produce errors like :

arm-buildroot-linux-uclibcgnueabihf-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include'
make[3]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/reed-solomon/encode_rs.c.o] Error 1

Quoted 5 lines
---
 package/gnuradio/Config.in   | 1 +
 package/gnuradio/gnuradio.mk | 1 +
 2 files changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com