[Buildroot] [PATCH] proftpd: needs mmu

Axel Lin axel.lin at ingics.com
Wed Sep 25 01:55:16 UTC 2013


Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
Fix below build error:

src/main.o: In function `fork_server':
main.c:(.text+0x26fc): undefined reference to `fork'
src/main.o: In function `main':
main.c:(.text+0x39bc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[1]: *** [proftpd] Error 1

 package/proftpd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in
index 7793713..18407d1 100644
--- a/package/proftpd/Config.in
+++ b/package/proftpd/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PROFTPD
 	bool "proftpd"
+	depends on BR2_USE_MMU # fork()
 	help
 	  ProFTPD, a highly configurable FTP server.
 
-- 
1.8.1.2





More information about the buildroot mailing list