[1/3] nfs-utils: needs mmu
diff mbox

Message ID 1380692976.31880.0.camel@phoenix
State Accepted
Commit bacb55a5d65b8fc36612c8fd40f6366e3e0e80b4
Headers show

Commit Message

Axel Lin Oct. 2, 2013, 5:49 a.m. UTC
Fix below build error:

mountd-mountd.o: In function `main':
mountd.c:(.text+0x1264): undefined reference to `fork'
mountd.c:(.text+0x1320): undefined reference to `fork'
mountd-rmtab.o: In function `ha_callout':
rmtab.c:(.text+0xa8): undefined reference to `fork'
collect2: ld returned 1 exit status
make[3]: *** [mountd] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/nfs-utils/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard Oct. 2, 2013, 7:34 a.m. UTC | #1
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> Fix below build error:
 Axel> mountd-mountd.o: In function `main':
 Axel> mountd.c:(.text+0x1264): undefined reference to `fork'
 Axel> mountd.c:(.text+0x1320): undefined reference to `fork'
 Axel> mountd-rmtab.o: In function `ha_callout':
 Axel> rmtab.c:(.text+0xa8): undefined reference to `fork'
 Axel> collect2: ld returned 1 exit status
 Axel> make[3]: *** [mountd] Error 1

Committed, thanks.

Patch
diff mbox

diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index 8f61f2b..6ba2f70 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -3,6 +3,7 @@  config BR2_PACKAGE_NFS_UTILS
 	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	depends on BR2_LARGEFILE
+	depends on BR2_USE_MMU # fork()
 	help
 	  The NFS Linux kernel server.
 	  Warning: We do not force largefile support on here on purpose.