当前位置: 技术问答>linux和unix
安装modutils-2.4.21.23.src.rpm出现的问题,请指教~~多谢!
来源: 互联网 发布时间:2016-07-29
本文导语: 安装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 a...
安装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)
请问是什么原因造成的?多谢
#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)
请问是什么原因造成的?多谢
|
lz用的是redhat系列的吧
yum install modutils*
yum自动为你选择合适你当前版本的modutils
yum install modutils*
yum自动为你选择合适你当前版本的modutils