I'm trying to compile version 2.0.7 of vsftpd. I downloaded the tarball and extracted it. I went into the directory and read the INSTALL file, which said to just run a make. So I did but got the following error: gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc sysdeputil.c:162: error: expected declaration specifiers or â...â before âcapsetâ sysdeputil.c:162: error: expected declaration specifiers or â...â before âheaderâ sysdeputil.c:162: error: expected declaration specifiers or â...â before âdataâ In file included from sysdeputil.c:170: /usr/include/sys/sendfile.h: In function â_syscall2â: /usr/include/sys/sendfile.h:35: error: storage class specified for parameter âsendfileâ sysdeputil.c:186: error: storage class specified for parameter âenvironâ sysdeputil.c:187: error: storage class specified for parameter âs_proctitle_spaceâ sysdeputil.c:187: error: parameter âs_proctitle_spaceâ is initialized sysdeputil.c:188: error: storage class specified for parameter âs_proctitle_initedâ sysdeputil.c:188: error: parameter âs_proctitle_initedâ is initialized sysdeputil.c:189: error: storage class specified for parameter âs_p_proctitleâ sysdeputil.c:189: error: parameter âs_p_proctitleâ is initialized sysdeputil.c:201: error: storage class specified for parameter âdo_sendfileâ sysdeputil.c:202: error: storage class specified for parameter âvsf_sysutil_setproctitle_intern alâ sysdeputil.c:203: error: storage class specified for parameter âs_proctitle_prefix_strâ sysdeputil.c:215: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:436: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:474: error: storage class specified for parameter âdo_checkcapâ sysdeputil.c:478: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:497: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:514: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:527: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:604: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:641: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:796: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:803: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:809: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:856: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:889: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:930: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:935: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:976: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:1012: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:1128: error: storage class specified for parameter âs_uwtmp_insertedâ sysdeputil.c:1129: error: storage class specified for parameter âs_utentâ sysdeputil.c:1134: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:1173: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token sysdeputil.c:1189: error: old-style parameter declarations in prototyped function definition sysdeputil.c:162: error: parameter name omitted sysdeputil.c:162: error: parameter name omitted sysdeputil.c:162: error: parameter name omitted sysdeputil.c:1189: error: expected â{â at end of input make: *** [sysdeputil.o] Error 1 Code (markup): What does this all mean and is there a way to fix it? We're running RHEL 5, but our RHN subscription ran out for this server, so yum repositories are not the simplest solution. I've briefly looked into using CentOS repos, but can't seem to find the core one (I can find all the extras), and I don't want to mess with all the extra stuff unless I know for sure that it's simpler than fixing this. Can someone let me know what's going on here? Thanks.
Try ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.1.0.tar.gz Then make sure to edit builddefs.h before you make [install]