[Buildroot] [git commit] xapp_xinit: depends on MMU

Peter Korsgaard peter at korsgaard.com
Fri Sep 12 21:18:08 UTC 2014

commit: http://git.buildroot.net/buildroot/commit/?id=d1ac782486a83b893c3091e378deed126e03124a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes http://sysmic.org/~jezz/results/8b5af679:

xinit.o: In function `_main':
xinit.c:(.text+0x65e): undefined reference to `_fork'
xinit.c:(.text+0x7d4): undefined reference to `_fork'
collect2: ld returned 1 exit status

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
 package/x11r7/xapp_xinit/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in
index aede5d9..d9fb1c5 100644
--- a/package/x11r7/xapp_xinit/Config.in
+++ b/package/x11r7/xapp_xinit/Config.in
@@ -1,5 +1,6 @@
 	bool "xinit"
+	depends on BR2_USE_MMU # fork()
 	# Runtime dependency: can't start an X server unless there is one
 	# Runtime dependency; mcookie is also in util-linux

More information about the buildroot mailing list