I'm trying to compile the 3dfx drm kernel module and get these type of
errors:

drmP.h:543: warning: declaration of `cmd' shadows global declaration
drmP.h:545: warning: declaration of `cmd' shadows global declaration
drmP.h:549: parse error before `*'
drmP.h:549: warning: function declaration isn't a prototype
drmP.h:550: parse error before `*'
drmP.h:550: warning: function declaration isn't a prototype
drmP.h:551: parse error before `*'
drmP.h:551: warning: function declaration isn't a prototype
drmP.h:552: parse error before `*'
drmP.h:552: parse error before `*'
drmP.h:552: warning: type defaults to `int' in declaration of
`drm_waitlist_get'
drmP.h:552: warning: function declaration isn't a prototype
drmP.h:552: warning: data definition has no type or storage class
drmP.h:554: parse error before `*'
drmP.h:554: warning: function declaration isn't a prototype
drmP.h:555: parse error before `*'
drmP.h:555: warning: function declaration isn't a prototype
drmP.h:556: parse error before `*'
drmP.h:557: warning: function declaration isn't a prototype
drmP.h:558: parse error before `*'
drmP.h:558: parse error before `*'
drmP.h:558: warning: type defaults to `int' in declaration of
`drm_freelist_get'
drmP.h:558: warning: function declaration isn't a prototype
drmP.h:558: warning: data definition has no type or storage class
drmP.h:561: parse error before `*'
drmP.h:561: warning: function declaration isn't a prototype
drmP.h:562: parse error before `*'
drmP.h:562: warning: function declaration isn't a prototype
drmP.h:563: parse error before `*'
drmP.h:563: warning: function declaration isn't a prototype
drmP.h:564: parse error before `*'
drmP.h:564: warning: function declaration isn't a prototype
drmP.h:565: parse error before `*'
drmP.h:565: warning: function declaration isn't a prototype
drmP.h:566: parse error before `*'
drmP.h:566: warning: function declaration isn't a prototype
drmP.h:567: parse error before `*'
drmP.h:567: warning: function declaration isn't a prototype
drmP.h:568: parse error before `*'
drmP.h:568: warning: function declaration isn't a prototype
drmP.h:569: parse error before `*'
drmP.h:570: parse error before `)'
drmP.h:571: parse error before `*'
drmP.h:571: warning: function declaration isn't a prototype
drmP.h:572: parse error before `*'
drmP.h:572: warning: function declaration isn't a prototype
drmP.h:574: warning: declaration of `count' shadows global declaration
drmP.h:575: parse error before `*'
drmP.h:575: warning: function declaration isn't a prototype
drmP.h:581: warning: declaration of `cmd' shadows global declaration
drmP.h:583: warning: declaration of `cmd' shadows global declaration
drmP.h:585: warning: declaration of `cmd' shadows global declaration
drmP.h:590: warning: declaration of `cmd' shadows global declaration
drmP.h:592: warning: declaration of `cmd' shadows global declaration
drmP.h:594: warning: declaration of `cmd' shadows global declaration
drmP.h:596: warning: declaration of `cmd' shadows global declaration
drmP.h:598: warning: declaration of `cmd' shadows global declaration
drmP.h:600: warning: declaration of `cmd' shadows global declaration
drmP.h:602: warning: declaration of `cmd' shadows global declaration
drmP.h:607: warning: declaration of `cmd' shadows global declaration
drmP.h:609: warning: declaration of `cmd' shadows global declaration
drmP.h:613: parse error before `*'
drmP.h:614: warning: function declaration isn't a prototype
drmP.h:615: parse error before `*'
drmP.h:615: warning: function declaration isn't a prototype
drmP.h:617: warning: declaration of `cmd' shadows global declaration
drmP.h:619: warning: declaration of `cmd' shadows global declaration
drmP.h:624: warning: declaration of `cmd' shadows global declaration
drmP.h:626: warning: declaration of `cmd' shadows global declaration
drmP.h:627: warning: declaration of `lock' shadows global declaration
drmP.h:628: warning: declaration of `context' shadows global declaration

drmP.h:629: parse error before `*'
drmP.h:631: warning: function declaration isn't a prototype
drmP.h:632: parse error before `*'
drmP.h:634: warning: function declaration isn't a prototype
drmP.h:636: warning: declaration of `cmd' shadows global declaration
drmP.h:637: parse error before `*'
drmP.h:638: warning: function declaration isn't a prototype
drmP.h:639: parse error before `*'
drmP.h:640: warning: function declaration isn't a prototype
/usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
/usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
/usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
/usr/include/linux/coda.h:563: storage size of `attr' isn't known
/usr/include/linux/fs.h:433: storage size of `f_owner' isn't known
/usr/include/linux/sched.h:288: storage size of `times' isn't known
make: *** [init.o] Error 1
[Acid@gate kernel]$

Any ideas would be great. I think the problem might be the addition of
supermount?

Thanks
Keith Conger

Reply via email to