Chinaunix
标题:
安装modutils-2.4.21-23.src.rpm 出错,请指点下
[打印本页]
作者:
jsb2841
时间:
2005-12-22 16:49
标题:
安装modutils-2.4.21-23.src.rpm 出错,请指点下
我在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)
请教一下是什么原因导致这样的错误:先多谢了.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2