参考luci-app-samba4: compilation error #4810
- 删除
./tmp
目录
rm -rf tmp
- 更新
feeds
至最新版
./scripts/feeds update -a
./scripts/feeds install -a
- 修改
ncueses
的Makefile
如下
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index cc1e960a0c..bc5ddead4b 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -38,7 +38,7 @@ define Package/libncurses
CATEGORY:=Libraries
TITLE:=Terminal handling library (Unicode)
URL:=http://www.gnu.org/software/ncurses/
- PROVIDES:=libncursesw
+ PROVIDES:=libncursesw libncursesw6
DEPENDS:= +terminfo
ABI_VERSION:=6
endef
- 重新
menuconfig
,保存退出
make menuconfig
- 无需
clean
,直接编译(加快速度)
make -j8