nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Version 260.19.12: Error compiling kernel module on RHEL5 (http://www.nvnews.net/vbulletin/showthread.php?t=156178)

phil@elrepo 10-17-10 02:35 PM

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.


All times are GMT -5. The time now is 05:16 AM.

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