红联Linux门户
Linux帮助

REDHAT enterprise 5编译安装make的时候vsftp报错,来帮我看看怎么回事

发布时间:2009-01-02 20:45:04来源:红联作者:123498296
(5ty( (5ty( (5ty(
[root@redhat vsftpd-2.0.0]# 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
str.c: 在函数 ‘str_locate_chars’ 中:
str.c:452: 警告:此函数中的 ‘retval.char_found’ 在使用前未初始化
str.c:452: 警告:此函数中的 ‘retval.index’ 在使用前未初始化
str.c: 在函数 ‘str_locate_text_reverse’ 中:
str.c:491: 警告:此函数中的 ‘retval.char_found’ 在使用前未初始化
str.c: 在函数 ‘str_locate_text’ 中:
str.c:466: 警告:此函数中的 ‘retval.char_found’ 在使用前未初始化
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 ipv6parse.c -O2 -Wall -W -Wshadow -idirafter dummyinc
ipv6parse.c: 在函数 ‘vsf_sysutil_parse_ipv6’ 中:
ipv6parse.c:58: 警告:返回指针时目标与指针有/无符号不一致
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 ssl.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysutil.c: 在函数 ‘vsf_sysutil_connect_timeout’ 中:
sysutil.c:1707: 警告:传递参数 5 (属于 ‘getsockopt’) 给指针时目标与指针有/无符号 不一致
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘capset’
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘header’
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘data’
In file included from sysdeputil.c:169:
/usr/include/sys/sendfile.h: 在函数 ‘_syscall2’ 中:
/usr/include/sys/sendfile.h:35: 错误:为形参 ‘sendfile’ 指定了存储类
sysdeputil.c:185: 错误:为形参 ‘environ’ 指定了存储类
sysdeputil.c:186: 错误:为形参 ‘s_proctitle_space’ 指定了存储类
sysdeputil.c:186: 错误:形参 ‘s_proctitle_space’ 已初始化
sysdeputil.c:187: 错误:为形参 ‘s_proctitle_inited’ 指定了存储类
sysdeputil.c:187: 错误:形参 ‘s_proctitle_inited’ 已初始化
sysdeputil.c:188: 错误:为形参 ‘s_p_proctitle’ 指定了存储类
sysdeputil.c:188: 错误:形参 ‘s_p_proctitle’ 已初始化
sysdeputil.c:200: 错误:为形参 ‘do_sendfile’ 指定了存储类
sysdeputil.c:201: 错误:为形参 ‘vsf_sysutil_setproctitle_internal’ 指定了存储类
sysdeputil.c:202: 错误:为形参 ‘s_proctitle_prefix_str’ 指定了存储类
sysdeputil.c:204: 错误:为形参 ‘vsf_insert_uwtmp’ 指定了存储类
sysdeputil.c:205: 错误:为形参 ‘vsf_remove_uwtmp’ 指定了存储类
sysdeputil.c:212: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:415: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:453: 错误:为形参 ‘do_checkcap’ 指定了存储类
sysdeputil.c:457: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:476: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:493: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:506: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:583: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:620: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:773: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:780: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:786: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:833: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:866: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:907: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:912: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:953: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:989: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1105: 错误:为形参 ‘s_uwtmp_inserted’ 指定了存储类
sysdeputil.c:1106: 错误:为形参 ‘s_utent’ 指定了存储类
sysdeputil.c:1111: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1150: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1166: 错误:原型函数定义中使用了旧式参数声明
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:1166: 错误:expected ‘{’ at end of input
make: *** [sysdeputil.o] 错误 1
[root@redhat vsftpd-2.0.0]# setup
[root@redhat vsftpd-2.0.0]# make
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘capset’
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘header’
sysdeputil.c:161: 错误:expected declaration specifiers or ‘...’ before ‘data’
In file included from sysdeputil.c:169:
/usr/include/sys/sendfile.h: 在函数 ‘_syscall2’ 中:
/usr/include/sys/sendfile.h:35: 错误:为形参 ‘sendfile’ 指定了存储类
sysdeputil.c:185: 错误:为形参 ‘environ’ 指定了存储类
sysdeputil.c:186: 错误:为形参 ‘s_proctitle_space’ 指定了存储类
sysdeputil.c:186: 错误:形参 ‘s_proctitle_space’ 已初始化
sysdeputil.c:187: 错误:为形参 ‘s_proctitle_inited’ 指定了存储类
sysdeputil.c:187: 错误:形参 ‘s_proctitle_inited’ 已初始化
sysdeputil.c:188: 错误:为形参 ‘s_p_proctitle’ 指定了存储类
sysdeputil.c:188: 错误:形参 ‘s_p_proctitle’ 已初始化
sysdeputil.c:200: 错误:为形参 ‘do_sendfile’ 指定了存储类
sysdeputil.c:201: 错误:为形参 ‘vsf_sysutil_setproctitle_internal’ 指定了存储类
sysdeputil.c:202: 错误:为形参 ‘s_proctitle_prefix_str’ 指定了存储类
sysdeputil.c:204: 错误:为形参 ‘vsf_insert_uwtmp’ 指定了存储类
sysdeputil.c:205: 错误:为形参 ‘vsf_remove_uwtmp’ 指定了存储类
sysdeputil.c:212: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:415: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:453: 错误:为形参 ‘do_checkcap’ 指定了存储类
sysdeputil.c:457: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:476: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:493: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:506: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:583: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:620: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:773: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:780: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:786: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:833: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:866: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:907: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:912: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:953: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:989: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1105: 错误:为形参 ‘s_uwtmp_inserted’ 指定了存储类
sysdeputil.c:1106: 错误:为形参 ‘s_utent’ 指定了存储类
sysdeputil.c:1111: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1150: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1166: 错误:原型函数定义中使用了旧式参数声明
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:161: 错误:省略了形参的名字
sysdeputil.c:1166: 错误:expected ‘{’ at end of input
make: *** [sysdeputil.o] 错误 1
[root@redhat vsftpd-2.0.0]#
文章评论

共有 0 条评论