[Buildroot] [git commit] util-linux: disable more command for host build
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Sep 23 19:57:50 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes the following compile error (in case neither curses or ncurses
development files are installed on the build host):
text-utils/more.c: In function âscreenâ:
text-utils/more.c:692:4: warning: implicit declaration of function âmy_putstringâ [-Wimplicit-function-declaration]
text-utils/more.c:692:4: warning: nested extern declaration of âmy_putstringâ [-Wnested-externs]
text-utils/more.c: In function âinittermâ:
text-utils/more.c:1798:3: warning: implicit declaration of function âmy_setuptermâ [-Wimplicit-function-declaration]
text-utils/more.c:1798:3: warning: nested extern declaration of âmy_setuptermâ [-Wnested-externs]
text-utils/more.c:1806:5: warning: implicit declaration of function âmy_tgetnumâ [-Wimplicit-function-declaration]
text-utils/more.c:1806:5: warning: nested extern declaration of âmy_tgetnumâ [-Wnested-externs]
text-utils/more.c:1806:22: error: âTERM_LINESâ undeclared (first use in this function)
text-utils/more.c:1806:22: note: each undeclared identifier is reported only once for each function it appears in
text-utils/more.c:1807:23: error: âTERM_COLSâ undeclared (first use in this function)
text-utils/more.c:1816:4: warning: implicit declaration of function âmy_tgetflagâ [-Wimplicit-function-declaration]
text-utils/more.c:1816:4: warning: nested extern declaration of âmy_tgetflagâ [-Wnested-externs]
text-utils/more.c:1816:34: error: âTERM_HARD_COPYâ undeclared (first use in this function)
text-utils/more.c:1821:20: error: âTERM_EAT_NEW_LINEâ undeclared (first use in this function)
text-utils/more.c:1827:23: error: âTERM_AUTO_RIGHT_MARGINâ undeclared (first use in this function)
text-utils/more.c:1828:25: error: âTERM_CEOLâ undeclared (first use in this function)
text-utils/more.c:1829:4: warning: implicit declaration of function âmy_tgetstrâ [-Wimplicit-function-declaration]
text-utils/more.c:1829:4: warning: nested extern declaration of âmy_tgetstrâ [-Wnested-externs]
text-utils/more.c:1829:25: error: âTERM_CLEAR_TO_LINE_ENDâ undeclared (first use in this function)
text-utils/more.c:1830:23: error: âTERM_CLEARâ undeclared (first use in this function)
text-utils/more.c:1831:24: error: âTERM_STANDARD_MODEâ undeclared (first use in this function)
text-utils/more.c:1832:23: error: âTERM_EXIT_STANDARD_MODEâ undeclared (first use in this function)
text-utils/more.c:1833:31: error: âTERM_STD_MODE_GLITCHâ undeclared (first use in this function)
text-utils/more.c:1842:20: error: âTERM_UNDERLINEâ undeclared (first use in this function)
text-utils/more.c:1843:23: error: âTERM_OVER_STRIKEâ undeclared (first use in this function)
text-utils/more.c:1845:27: error: âTERM_UNDERLINE_CHARâ undeclared (first use in this function)
text-utils/more.c:1848:21: error: âTERM_ENTER_UNDERLINEâ undeclared (first use in this function)
text-utils/more.c:1850:17: error: âTERM_EXIT_UNDERLINEâ undeclared (first use in this function)
text-utils/more.c:1862:29: error: âTERM_PAD_CHARâ undeclared (first use in this function)
text-utils/more.c:1864:22: error: âTERM_HOMEâ undeclared (first use in this function)
text-utils/more.c:1867:21: error: âTERM_CURSOR_ADDRESSâ undeclared (first use in this function)
text-utils/more.c:1869:10: warning: implicit declaration of function âmy_tgotoâ [-Wimplicit-function-declaration]
text-utils/more.c:1869:10: warning: nested extern declaration of âmy_tgotoâ [-Wnested-externs]
text-utils/more.c:1869:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
text-utils/more.c:1876:24: error: âTERM_CLEAR_TO_SCREEN_ENDâ undeclared (first use in this function)
text-utils/more.c:1877:27: error: âTERM_LINE_DOWNâ undeclared (first use in this function)
text-utils/more.c: In function âreset_ttyâ:
text-utils/more.c:2142:3: warning: implicit declaration of function âtputsâ [-Wimplicit-function-declaration]
text-utils/more.c:2142:3: warning: nested extern declaration of âtputsâ [-Wnested-externs]
make[4]: *** [text-utils/more-more.o] Error 1
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/util-linux/util-linux.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 7376886..28c96a7 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -96,7 +96,7 @@ HOST_UTIL_LINUX_CONF_OPT += \
--enable-libuuid \
--disable-agetty --disable-cramfs --disable-fallocate \
--disable-fsck --disable-libblkid --disable-libmount \
- --disable-login --disable-mount --disable-partx \
+ --disable-login --disable-mount --disable-more --disable-partx \
--disable-pivot_root --disable-rename --disable-schedutils \
--disable-su --disable-switch_root --disable-unshare \
--disable-uuidd --disable-wall --without-ncurses
More information about the buildroot
mailing list