View Single Post
Old 10-17-10, 03:35 PM   #1
phil@elrepo
Registered User
 
Join Date: Mar 2010
Location: UK
Posts: 16
Default Version 260.19.12: Error compiling kernel module on RHEL5

Hi,

I'm seeing a couple small errors when compiling the latest official release (version 260.19.12) on the latest RHEL 5.5 kernel-2.6.18-194.17.1.el5 (and earlier kernels for that matter)

On x86-64 platform:

Code:
In file included from /usr/src/kernels/2.6.18-164.el5-x86_64/include/linux/scatterlist.h:4,
                 from conftest19923.c:4:
/usr/src/kernels/2.6.18-164.el5-x86_64/include/asm/scatterlist.h:8: error: expected specifier-qualifier-list before 'dma_addr_t'
and on x86 platform:

Code:
In file included from /usr/src/kernels/2.6.18-194.17.1.el5-i686/include/linux/scatterlist.h:4,
                 from conftest9233.c:4:
/usr/src/kernels/2.6.18-194.17.1.el5-i686/include/asm/scatterlist.h:7: error: expected specifier-qualifier-list before 'dma_addr_t'
In file included from conftest9233.c:4:
/usr/src/kernels/2.6.18-194.17.1.el5-i686/include/linux/scatterlist.h: In function 'sg_set_buf':
/usr/src/kernels/2.6.18-194.17.1.el5-i686/include/linux/scatterlist.h:13: error: 'struct scatterlist' has no member named 'length'
The errors don't prevent the compilation from completing.
__________________
http://elrepo.org The Community Enterprise Linux Repository
phil@elrepo is offline   Reply With Quote