Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 10-17-10, 02:35 PM   #1
Registered User
Join Date: Mar 2010
Location: UK
Posts: 16
Default Version 260.19.12: Error compiling kernel module on RHEL5


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:

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:

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 01:55 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.