[root@localhost vsftpd-2.0.5]# make
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_internal’
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
:
有高手帮忙看一下,非常非常感谢!!!
6 个解决方案
#1
yum -y install vsftpd
#2
还是不可以!
[root@localhost vsftpd-2.0.5]# yum -y install vsftpd
Loading "security" plugin
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: vsftpd
Nothing to do
[root@localhost vsftpd-2.0.5]# yum -y install vsftpd
Loading "security" plugin
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: vsftpd
Nothing to do
#3
拜托 不可以你也看看错误是什么吧
This system is not registered with RHN.
RHN support will be disabled.
你没有注册当然不能使用yum了 去官方注册一下 申请个使用30天的账号 我昨晚刚申请过
This system is not registered with RHN.
RHN support will be disabled.
你没有注册当然不能使用yum了 去官方注册一下 申请个使用30天的账号 我昨晚刚申请过
#4
哦 thanks 刚学不是很了解
#5
还有vsftpd不是系统一般都是默认安装了的吗?
如果没有你把安装盘挂载一下用rpm一装不就ok了,省的麻烦!
如果没有你把安装盘挂载一下用rpm一装不就ok了,省的麻烦!
#6
嗯 刚参考了一篇文章,解决了
http://apps.hi.baidu.com/share/detail/16674500
http://apps.hi.baidu.com/share/detail/16674500
#1
yum -y install vsftpd
#2
还是不可以!
[root@localhost vsftpd-2.0.5]# yum -y install vsftpd
Loading "security" plugin
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: vsftpd
Nothing to do
[root@localhost vsftpd-2.0.5]# yum -y install vsftpd
Loading "security" plugin
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: vsftpd
Nothing to do
#3
拜托 不可以你也看看错误是什么吧
This system is not registered with RHN.
RHN support will be disabled.
你没有注册当然不能使用yum了 去官方注册一下 申请个使用30天的账号 我昨晚刚申请过
This system is not registered with RHN.
RHN support will be disabled.
你没有注册当然不能使用yum了 去官方注册一下 申请个使用30天的账号 我昨晚刚申请过
#4
哦 thanks 刚学不是很了解
#5
还有vsftpd不是系统一般都是默认安装了的吗?
如果没有你把安装盘挂载一下用rpm一装不就ok了,省的麻烦!
如果没有你把安装盘挂载一下用rpm一装不就ok了,省的麻烦!
#6
嗯 刚参考了一篇文章,解决了
http://apps.hi.baidu.com/share/detail/16674500
http://apps.hi.baidu.com/share/detail/16674500