vsftpd: Fix dependency for needs mmu
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.
--- package/vsftpd/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/vsftpd/Config.in +1 -1
@@ -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
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/SPEEDoutput/build/vsftpd-3.0.2/sysdeputil.houtput/build/vsftpd-3.0.2/ssl.coutput/build/vsftpd-3.0.2/ptracesandbox.coutput/build/vsftpd-3.0.2/twoprocess.coutput/build/vsftpd-3.0.2/postprivparent.coutput/build/vsftpd-3.0.2/sysutil.h
output/build/vsftpd-3.0.2/SECURITY/TRUSToutput/build/vsftpd-3.0.2/standalone.coutput/build/vsftpd-3.0.2/sysdeputil.coutput/build/vsftpd-3.0.2/sysutil.c
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard