免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 900 | 回复: 0
打印 上一主题 下一主题

安装modutils-2.4.21-23.src.rpm 出错,请指点下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-22 16:49 |只看该作者 |倒序浏览
我在AS4上安装modutils-2.4.21-23.src.rpm,进行到下面的步骤时出错:
#rpmbuild --bb modutils.spec (生成二进制的RPM包)
当安装进行下面的阶段时开始出错并退出安装
make[1]: Entering directory `/usr/src/redhat/BUILD/modutils-2.4.21/util'
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xmalloc.o xmalloc.c
In file included from xmalloc.c:22:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xrealloc.o xrealloc.c
In file included from xrealloc.c:22:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xstrcat.o xstrcat.c
In file included from xstrcat.c:22:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xstrdup.o xstrdup.c
In file included from xstrdup.c:24:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o xsystem.o xsystem.c
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o logger.o logger.c
In file included from logger.c:30:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I./../include -D_GNU_SOURCE  -DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386  -c -o modstat.o modstat.c
In file included from modstat.c:33:
./../include/util.h:42: warning: built-in function 'log' declared as non-function
modstat.c: In function `new_get_kernel_info':
modstat.c:203: error: label at end of compound statement
make[1]: *** [modstat.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/modutils-2.4.21/util'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.27974 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.27974 (%build)
请教一下是什么原因导致这样的错误:先多谢了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP