因在ubuntu下上网的方式为代理,所以无法在终端中执行sudo apt-get install vsftpd 安装 ,我下载了这个vsftpd-2.0.6.tar.gz。 解压后 请帮忙解决
cobi@cobi-ubuntu:/tmp/vsftpd-2.0.6/vsftpd-2.0.6$ ls
access.c defs.h ftpdataio.h netstr.c prelogin.c REWARD str.c tunables.c
access.h dummyinc hash.c netstr.h prelogin.h secbuf.c str.h tunables.h
ascii.c EXAMPLE hash.h oneprocess.c privops.c secbuf.h strlist.c TUNING
ascii.h FAQ INSTALL oneprocess.h privops.h SECURITY strlist.h twoprocess.c
AUDIT features.c ipaddrparse.c opts.c privsock.c secutil.c sysdeputil.c twoprocess.h
banner.c features.h ipaddrparse.h opts.h privsock.h secutil.h sysdeputil.h utility.c
banner.h filesize.h LICENSE parseconf.c README session.h sysstr.c utility.h
BENCHMARKS filestr.c logging.c parseconf.h README.security SIZE sysstr.h vsf_findlibs.sh
BUGS filestr.h logging.h port README.ssl SPEED sysutil.c vsftpd.8
builddefs.h ftpcmdio.c ls.c postlogin.c readwrite.c ssl.c sysutil.h vsftpd.conf
Changelog ftpcmdio.h ls.h postlogin.h readwrite.h ssl.h tcpwrap.c vsftpd.conf.5
COPYING ftpcodes.h main.c postprivparent.c RedHat standalone.c tcpwrap.h vsftpver.h
COPYRIGHT ftpdataio.c Makefile postprivparent.h REFS standalone.h TODO xinetd.d
cobi@cobi-ubuntu:/tmp/vsftpd-2.0.6/vsftpd-2.0.6$ sudo make
gcc -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c utility.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c prelogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postlogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privsock.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tunables.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpdataio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secbuf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ls.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postprivparent.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c logging.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c str.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c netstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c strlist.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c banner.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c filestr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c parseconf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ascii.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c oneprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c twoprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privops.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c standalone.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c hash.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c access.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c features.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c readwrite.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c opts.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ssl.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘capset’
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘header’
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘data’
In file included from sysdeputil.c:170:
/usr/include/sys/sendfile.h: 在函数‘_syscall2’中:
/usr/include/sys/sendfile.h:35: 错误: 为形参‘sendfile’指定了存储类
sysdeputil.c:186: 错误: 为形参‘environ’指定了存储类
sysdeputil.c:187: 错误: 为形参‘s_proctitle_space’指定了存储类
sysdeputil.c:187: 错误: 形参‘s_proctitle_space’已初始化
sysdeputil.c:188: 错误: 为形参‘s_proctitle_inited’指定了存储类
sysdeputil.c:188: 错误: 形参‘s_proctitle_inited’已初始化
sysdeputil.c:189: 错误: 为形参‘s_p_proctitle’指定了存储类
sysdeputil.c:189: 错误: 形参‘s_p_proctitle’已初始化
sysdeputil.c:201: 错误: 为形参‘do_sendfile’指定了存储类
sysdeputil.c:202: 错误: 为形参‘vsf_sysutil_setproctitle_internal’指定了存储类
sysdeputil.c:203: 错误: 为形参‘s_proctitle_prefix_str’指定了存储类
sysdeputil.c:215: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:436: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:474: 错误: 为形参‘do_checkcap’指定了存储类
sysdeputil.c:478: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:497: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:514: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:527: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:604: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:641: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:796: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:803: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:809: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:856: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:889: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:930: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:935: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:976: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1012: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1128: 错误: 为形参‘s_uwtmp_inserted’指定了存储类
sysdeputil.c:1129: 错误: 为形参‘s_utent’指定了存储类
sysdeputil.c:1134: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1173: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1189: 错误: 原型函数定义中使用了旧式参数声明
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:1189: 错误: expected ‘{’ at end of input
make: *** [sysdeputil.o] 错误 1
[问题]ubuntu8.04下安装vsftpd2.0.6出错
-
- 帖子: 54
- 注册时间: 2007-03-14 8:08
- newnew8850
- 帖子: 47
- 注册时间: 2007-05-22 13:32
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系:
-
- 帖子: 3182
- 注册时间: 2006-03-10 15:10
- 来自: xi'an China
- 联系: