原文链接:http://linux.chinaunix.net/techdoc/net/2008/09/19/1033290.shtml


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


这几个包可能不是REDHAT的,这个问题的原因是sysdeputil.c 文件出错,真正解决方法是给其打补丁:
# patch sysdeputil.c attachment.bin
  # make
attachment.bin 的位置在:
http://linuxfromscratch.org/pipe ... 9f56/attachment.bin
注明: 当前目录为vsftp**/


Logo

更多推荐