Skip to contentSkip to conversation

vsftpd: Fix dependency for needs mmu

PATCH New Axel Lin 2 participants 2 messages Sep 7, 2013 – Sep 11, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 vsftpd: Fix dependency for needs mmu

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 <[email protected]>
---
 package/vsftpd/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/vsftpd/Config.in +1 -1
index 3d4cff1..54ef7bd 100644
@@ -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/
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 vsftpd: Fix dependency for needs mmu

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Axel" == Axel Lin <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard