今天升级内核 结果在make地时候出现了如下提示
/usr/include/bits/socket.h:272: 错误:expected ‘)’ before ‘__cmsg’
/usr/include/bits/socket.h:277: 错误:‘struct cmsghdr’ 没有名为 ‘cmsg_len’
的成员
/usr/include/bits/socket.h:277: 错误:expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:278: 错误:‘struct msghdr’ 没有名为 ‘msg_control’
的成员
/usr/include/bits/socket.h:279: 错误:‘struct msghdr’ 没有名为 ‘msg_controlle
n’ 的成员
/usr/include/bits/socket.h:280: 错误:‘struct cmsghdr’ 没有名为 ‘cmsg_len’
的成员
/usr/include/bits/socket.h:280: 错误:expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:281: 错误:‘struct msghdr’ 没有名为 ‘msg_control’
的成员
/usr/include/bits/socket.h:281: 错误:‘struct msghdr’ 没有名为 ‘msg_controlle
n’ 的成员
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/sys/socket.h: 在顶层:
/usr/include/sys/socket.h:136: 错误:expected declaration specifiers or ‘...’
before ‘size_t’
/usr/include/sys/socket.h:143: 错误:expected declaration specifiers or ‘...’
before ‘size_t’
/usr/include/sys/socket.h:150: 错误:expected declaration specifiers or ‘...’
before ‘size_t’
/usr/include/sys/socket.h:161: 错误:expected declaration specifiers or ‘...’
before ‘size_t’
In file included from scripts/basic/fixdep.c:117:
/usr/include/arpa/inet.h:78: 错误:expected declaration specifiers or ‘...’ be
fore ‘size_t’
/usr/include/arpa/inet.h:84: 错误:expected declaration specifiers or ‘...’ be
fore ‘size_t’
/usr/include/arpa/inet.h:90: 错误:expected declaration specifiers or ‘...’ be
fore ‘size_t’
scripts/basic/fixdep.c: In function ‘grow_config’:
scripts/basic/fixdep.c:156: 错误:提供给函数 ‘realloc’ 的实参太多
scripts/basic/fixdep.c: In function ‘is_defined_config’:
scripts/basic/fixdep.c:174: 错误:提供给函数 ‘memcmp’ 的实参太多
scripts/basic/fixdep.c: In function ‘define_config’:
scripts/basic/fixdep.c:187: 错误:提供给函数 ‘memcpy’ 的实参太多
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:214: 错误:提供给函数 ‘memcpy’ 的实参太多
scripts/basic/fixdep.c: 在顶层:
scripts/basic/fixdep.c:225: 错误:expected declaration specifiers or ‘...’ bef
ore ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:227: 错误:‘len’ 未声明 (在此函数内第一次使用)
scripts/basic/fixdep.c:241: 错误:提供给函数 ‘memcmp’ 的实参太多
scripts/basic/fixdep.c:250: 错误:提供给函数 ‘memcmp’ 的实参太多
scripts/basic/fixdep.c: In function ‘strrcmp’:
scripts/basic/fixdep.c:261: 警告:隐式声明函数 ‘strlen’
scripts/basic/fixdep.c:261: 警告:隐式声明与内建函数 ‘strlen’ 不兼容
scripts/basic/fixdep.c:267: 错误:提供给函数 ‘memcmp’ 的实参太多
scripts/basic/fixdep.c: In function ‘do_config_file’:
scripts/basic/fixdep.c:287: 错误:提供给函数 ‘mmap’ 的实参太多
scripts/basic/fixdep.c:294: 错误:提供给函数 ‘parse_config_file’ 的实参太多
scripts/basic/fixdep.c:296: 错误:提供给函数 ‘munmap’ 的实参太多
scripts/basic/fixdep.c: 在顶层:
scripts/basic/fixdep.c:301: 错误:expected declaration specifiers or ‘...’ bef
ore ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:304: 错误:‘len’ 未声明 (在此函数内第一次使用)
scripts/basic/fixdep.c:313: 错误:提供给函数 ‘memcpy’ 的实参太多
scripts/basic/fixdep.c:328: 错误:提供给函数 ‘memcpy’ 的实参太多
scripts/basic/fixdep.c: In function ‘print_deps’:
scripts/basic/fixdep.c:359: 错误:提供给函数 ‘mmap’ 的实参太多
scripts/basic/fixdep.c:366: 错误:提供给函数 ‘parse_dep_file’ 的实参太多
scripts/basic/fixdep.c:368: 错误:提供给函数 ‘munmap’ 的实参太多
make[2]: *** [scripts/basic/fixdep] 错误 1
make[1]: *** [scripts_basic] 错误 2
make: *** 没有规则可以创建“include/config/kernel.release”需要的目标“include/c
onfig/auto.conf”。 停止。
麻烦帮看一下 具体问题出在那里呢? 我应该怎么解决 谢谢大家了
maliang620 于 2009-10-01 09:40:39发表:
{:3_129:}这里果然没有人知道怎么解决 太失望了
maliang620 于 2009-09-28 15:14:01发表:
{:3_126:}各位大哥大姐们 就没有一个知道地这小问题怎么解决地吗?