diff mbox

[1/1] package/tar: Depends on MMU

Message ID 1407590919-23046-1-git-send-email-bernd.kuhls@t-online.de
State Accepted
Commit 916b21a7fbf266f452b8dc4116133cc57fdad269
Headers show

Commit Message

Bernd Kuhls Aug. 9, 2014, 1:28 p.m. UTC
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@t-online.de>
---
 package/tar/Config.in |    1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard Aug. 15, 2014, 5:16 p.m. UTC | #1
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > 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@t-online.de>

Committed, thanks.
diff mbox

Patch

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.