The following error is reported when you use the source code to install vsFTP.

Source: Internet
Author: User
When you use the source code to install vsFTP, the following error is reported: Linux Enterprise Application-Linux server application information. For details, refer to the following section. Download the latest version of the 2.0.7 source code package and INSTALL it according to the INSTALL installation instructions. After the builddefs. h file is changed, make is used. The following error is reported during the make process:
Gcc-c tcpwrap. c-O2-Wall-W-Wshadow-idirafter dummyinc
In file encoded ded from tcpwrap. c: 11:
Builddefs. h: 4: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before' VSF _ BUILD_TCPWRAPPERS'
Make: *** [tcpwrap. o] Error 1


The contents of the edited builddefs. h file are as follows:

[Root @ localhost vsftpd-2.0.7] # vi builddefs. h

# Ifndef VSF_BUILDDEFS_H
# Define VSF_BUILDDEFS_H

Define VSF_BUILD_TCPWRAPPERS
Define VSF_BUILD_PAM
# Undef VSF_BUILD_SSL

# Endif/* VSF_BUILDDEFS_H */



Please help me to answer the question.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.