[Buildroot] [git commit] package/tar: Depends on MMU

Peter Korsgaard peter at korsgaard.com
Fri Aug 15 17:16:11 UTC 2014


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

Fixes
misc.o: In function `_xfork':
misc.c:(.text+0x614): undefined reference to `_fork'
../lib/libtar.a(rtapelib.o): In function `_rmt_open__':
rtapelib.c:(.text+0x6d2): undefined reference to `_fork'

To reproduce use this defconfig
http://autobuild.buildroot.net/results/8d5/8d5ad404fab7ec2a501972ba9c08b0109e420b80/defconfig

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/tar/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/tar/Config.in b/package/tar/Config.in
index 06a5825..74b0219 100644
--- a/package/tar/Config.in
+++ b/package/tar/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_TAR
 	bool "tar"
 	depends on BR2_USE_WCHAR
+	depends on BR2_USE_MMU # fork()
 	help
 	  A program that saves many files together into a single tape or disk
 	  archive, and can restore individual files from the archive.


More information about the buildroot mailing list