- 论坛徽章:
- 0
|
我看了<在VMware5.0环境下编译内核(kernel2.6.13)全过程 >这篇文章后按照文章内提示的步骤进行安装:安装modutils-2.4.21.23.src.rpm进行到#rpmbuild --bb modutils.spec (生成二进制的RPM包)时出错,提示以下错误信息:
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.58474 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.58474 (%build)
请问是什么原因造成的?多谢先. |
|