Skip to contentSkip to conversation

gnuradio: depends on shared libs

PATCH Superseded Gwenhael Goavec-Merou 2 participants 2 messages Mar 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnuradio: depends on shared libs

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

volk must be compiled with toolchain built with shared lib to avoid :
attempted static link of dynamic object `../lib/libvolk.so.0.0.0'

---
 package/gnuradio/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/gnuradio/Config.in +3 -1
index 274afaa..bdf701c 100644
@@ -1,5 +1,6 @@
-comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, largefile, wchar"
+comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, largefile, wchar and shared libs"
 	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_LARGEFILE || \
 		!BR2_INET_IPV6
@@ -9,6 +10,7 @@ config BR2_PACKAGE_GNURADIO
 	depends on BR2_INET_IPV6 # boost
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_LARGEFILE # boost
+	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_USE_MMU # use fork()
 	depends on BR2_USE_WCHAR # boost
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/1 gnuradio: depends on shared libs

Hi Gwenhael Goavec-Merou,

Quoted 15 lines · Gwenhael Goavec-Merou

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

volk must be compiled with toolchain built with shared lib to avoid :
attempted static link of dynamic object `../lib/libvolk.so.0.0.0'

---
 package/gnuradio/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/gnuradio/Config.in +0 -0
index 274afaa..bdf701c 100644

package/gnuradio/Config.in line 6

Quoted 7 lines
package/gnuradio/Config.in +2 -1
@@ -1,5 +1,6 @@
-comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, largefile, wchar"
+comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, largefile, wchar and shared libs"
 	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_LARGEFILE || \
 		!BR2_INET_IPV6

Should add '|| BR2_STATIC_LIBS' to this list of ORed dependencies to get the intended behaviour. Otherwise the comment will not be shown when !BR2_STATIC_LIBS.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -