[RESOLVED] kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches
Posted: 2011/08/03 15:29:27
Hi,
I'm trying to apply SCST patches for kernel 2.6.32 and rebuild the RPM, with only scst_exec_req_fifo-2.6.32.patch it rebuilds ok, but if i apply both patches
scst_exec_req_fifo-2.6.32.patch and put_page_callback-2.6.32.patch
i get this compile error:
/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/net.h:23: included file 'linux/mm.h' is not exported
make[3]: *** [/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/.check] Error 123
make[2]: *** [linux] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GR3tgG (%build)
Anyone experienced this problem?
I'm trying to apply SCST patches for kernel 2.6.32 and rebuild the RPM, with only scst_exec_req_fifo-2.6.32.patch it rebuilds ok, but if i apply both patches
scst_exec_req_fifo-2.6.32.patch and put_page_callback-2.6.32.patch
i get this compile error:
/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/net.h:23: included file 'linux/mm.h' is not exported
make[3]: *** [/root/rpmbuild/BUILD/kernel-2.6.32-71.29.1.el6/linux-2.6.32-71.29.1.el6.x86_64/usr/include/linux/.check] Error 123
make[2]: *** [linux] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GR3tgG (%build)
Anyone experienced this problem?