[Buildroot] [PATCH 07/12] xterm: depends on MMU

Jérôme Pouiller jezz at sysmic.org
Fri Sep 12 15:50:06 UTC 2014


Fixes http://sysmic.org/~jezz/results/53a729c3:

button.o: In function `_executeCommand':
./button.c:(.text+0x21be): undefined reference to `_fork'
main.o: In function `_get_pty':
./main.c:(.text+0xab0): undefined reference to `_getpt'
main.o: In function `_spawnXTerm':
./main.c:(.text+0x1030): undefined reference to `_fork'
misc.o: In function `_creat_as':
./misc.c:(.text+0x3a56): undefined reference to `_fork'
print.o: In function `_charToPrinter':
./print.c:(.text+0x1ee): undefined reference to `_fork'

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/xterm/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/xterm/Config.in b/package/xterm/Config.in
index 33adf25..e17d2c6 100644
--- a/package/xterm/Config.in
+++ b/package/xterm/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_XTERM
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_XLIB_LIBXAW
 	depends on BR2_PACKAGE_XORG7
+	depends on BR2_USE_MMU # fork()
 	help
 	  xterm terminal emulator
 
-- 
2.1.0



More information about the buildroot mailing list