- 論壇徽章:
- 0
|
我在AS4上安裝modutils-2.4.21-23.src.rpm,進(jìn)行到下面的步驟時出錯:
#rpmbuild --bb modutils.spec (生成二進(jìn)制的RPM包)
當(dāng)安裝進(jìn)行下面的階段時開始出錯并退出安裝
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)
請教一下是什么原因?qū)е逻@樣的錯誤:先多謝了. |
|