Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] vsftpd: Fix dependency for needs mmu
@ 2013-09-07  6:07 Axel Lin
  2013-09-11 10:58 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-09-07  6:07 UTC (permalink / raw)
  To: buildroot

Commit 2eb995759 "vsftpd: needs mmu" adds "depends on BR2_TOOLCHAIN_HAS_THREADS".

The build error is:
sysutil.c:(.text+0x37ac): undefined reference to `fork'

Thus it should depend on BR2_USE_MMU rather than BR2_TOOLCHAIN_HAS_THREADS.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/vsftpd/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/vsftpd/Config.in b/package/vsftpd/Config.in
index 3d4cff1..54ef7bd 100644
--- a/package/vsftpd/Config.in
+++ b/package/vsftpd/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_VSFTPD
 	bool "vsftpd"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
+	depends on BR2_USE_MMU # fork()
 	help
 	  vsftpd is an ftp daemon written with security in mind.
 	  http://vsftpd.beasts.org/
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] vsftpd: Fix dependency for needs mmu
  2013-09-07  6:07 [Buildroot] [PATCH] vsftpd: Fix dependency for needs mmu Axel Lin
@ 2013-09-11 10:58 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-09-11 10:58 UTC (permalink / raw)
  To: buildroot

>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> Commit 2eb995759 "vsftpd: needs mmu" adds "depends on BR2_TOOLCHAIN_HAS_THREADS".
 Axel> The build error is:
 Axel> sysutil.c:(.text+0x37ac): undefined reference to `fork'

 Axel> Thus it should depend on BR2_USE_MMU rather than BR2_TOOLCHAIN_HAS_THREADS.

Indeed:

grep -rls pthread output/build/vsftpd-3.0.2/

grep -rls fork output/build/vsftpd-3.0.2/
output/build/vsftpd-3.0.2/Changelog
output/build/vsftpd-3.0.2/SPEED
output/build/vsftpd-3.0.2/sysdeputil.h
output/build/vsftpd-3.0.2/ssl.c
output/build/vsftpd-3.0.2/ptracesandbox.c
output/build/vsftpd-3.0.2/twoprocess.c
output/build/vsftpd-3.0.2/postprivparent.c
output/build/vsftpd-3.0.2/sysutil.h
output/build/vsftpd-3.0.2/SECURITY/TRUST
output/build/vsftpd-3.0.2/standalone.c
output/build/vsftpd-3.0.2/sysdeputil.c
output/build/vsftpd-3.0.2/sysutil.c

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-11 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-07  6:07 [Buildroot] [PATCH] vsftpd: Fix dependency for needs mmu Axel Lin
2013-09-11 10:58 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox