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?
[RESOLVED] kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches
Re: kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches
Problem solved.
It needed another patch (iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch)
that didn't came on the stable package (iscsi-scst-2.0.0.tar.gz), i had to download it from SVN.
It needed another patch (iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch)
that didn't came on the stable package (iscsi-scst-2.0.0.tar.gz), i had to download it from SVN.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
[RESOLVED] kernel 2.6.32-71.29.1.el6.x86_64 + SCST patches
Thank you for reporting back with your self-found solution.
For posterity, and on your behalf, this thread is marked [RESOLVED].
For posterity, and on your behalf, this thread is marked [RESOLVED].