Menu

#157 tdfx drvier not installing

closed-works-for-me
5
2000-08-12
2000-07-14
Anonymous
No

I'm getting an error when I install the driver: End of message :

./usr/src/linux/include/linux/sched.h: In function `mmdrop':
/usr/src/linux/include/linux/sched.h:661: warning: can't inline call to `__mmdrop'
/usr/src/linux/include/linux/sched.h:665: warning: called from here
tdfx_drv.c: In function `tdfx_lock':
tdfx_drv.c:634: structure has no member named `priority'
tdfx_drv.c:634: `DEF_PRIORITY' undeclared (first use in this function)
tdfx_drv.c:634: (Each undeclared identifier is reported only once
tdfx_drv.c:634: for each function it appears in.)
tdfx_drv.c: In function `tdfx_unlock':
tdfx_drv.c:690: structure has no member named `priority'
tdfx_drv.c:690: `DEF_PRIORITY' undeclared (first use in this function)
make: *** [tdfx_drv.o] Error 1
Bad exit status from /var/tmp/rpm-tmp.65193 (%build)

I'm on debian system and I've tried both rpm and deb neither works.

Discussion

  • Rik Faith

    Rik Faith - 2000-08-12
    • assigned_to: nobody --> faith
    • status: open --> closed-works-for-me
     
  • Rik Faith

    Rik Faith - 2000-08-12

    DEF_PRIORITY was deprecated in the 2.4.0-test series.
    If you are using a 2.4.0-test kernel, please use the version
    of the drive in the SourceForge repository or in the latest Linux kernel tree. This version will use a test on LINUX_VERSION_CODE to avoid the use of LINUX_VERSION_CODE.
    Alternatively, delete the if statement in tdfx_drv.c that uses DEF_PRIORITY.

     

Log in to post a comment.