[LEDE-DEV] Cannot compile latest code.

Dirk Neukirchen dirkneukirchen at web.de
Wed May 11 07:34:25 PDT 2016


Package dmesg is missing dependencies for the following libraries:
libtinfow.so.5

This happens with several other packages now with:
staging_dir/target-../usr/lib/libtinfow.so.5: error adding symbols: DSO missing from command line
- fixing can involve adding LIBS="-ltinfo" to CONFIGURE_VARS (seems to compile) or more 
elaborate manipulation and patching of package build systems (to use ncurses-config)

diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index c128b48..8ee7c35 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -202,7 +202,7 @@ endef
 define Package/dmesg
 $(call Package/util-linux/Default)
   TITLE:=print or control the kernel ring buffer
-  DEPENDS:= +librt
+  DEPENDS:= +librt +libncursesw
 endef
 
 define Package/dmesg/description
@@ -212,7 +212,7 @@ endef
 define Package/fdisk
 $(call Package/util-linux/Default)
   TITLE:=manipulate disk partition table
-  DEPENDS:= +libblkid +libsmartcols +libfdisk
+  DEPENDS:= +libblkid +libsmartcols +libfdisk +libncursesw
   SUBMENU=disc
 endef
 



More information about the Lede-dev mailing list