Submitted by 546314269@qq.com on 周六, 2017-01-21 10:11
在centos6.5系统上安装好rpm -ivh /usr/local/src/lvs/kernel-2.6.32-431.56.1.el6.src.rpm
以后,执行 rpmbuild -bb --target=`uname -m` kernel.spec的时候告警和报错,报错如下:
WARNING: drivers/block/nvme.o(.text+0x3192): Section mismatch in reference from the function nvme_dev_start() to the function .devinit.text:nvme_create_queue()
The function nvme_dev_start() references
the function __devinit nvme_create_queue().
This is often because nvme_dev_start lacks a __devinit
annotation or the annotation of nvme_create_queue is wrong.
请问应该怎么解决?
Submitted by 546314269@qq.com on 周六, 2017-01-21 10:08
在CentOS6.5系统上编译安装lvs提供的内核kernel-2.6.32-431.56.1.el6.src.rpm时,执行 rpmbuild -bb --target=`uname -m` kernel.spec的时候告警和报错,报错如下:
WARNING: drivers/block/nvme.o(.text+0x3192): Section mismatch in reference from the function nvme_dev_start() to the function .devinit.text:nvme_create_queue()
The function nvme_dev_start() references
the function __devinit nvme_create_queue().
This is often because nvme_dev_start lacks a __devinit
annotation or the annotation of nvme_create_queue is wrong.
哪位大神帮忙给指点一下?