[PARPORT] module.h

From: Luis LLN (letona79@yahoo.es)
Date: Mon Nov 03 2003 - 05:07:05 EST

  • Next message: marcelo.c.pinto: "[PARPORT] pcd not being mounted when cupsd is running"

    I have to program a device driver under linux.
    I've started to write the code and when I try to
    compile it some errors are reported:

    /usr/include/linux/module.h:299: parse error before
    "UTS_RELEASE"

    /usr/include/linux/module.h: in function
    "print_symbol":
    /usr/include/linux/module.h:433: 'ESRCH' undeclared

    I don't know what I must do now. Could you help me?

    Thank your very much.

                                         Luis

    PD: I use Mandrake Linux 9.1 (kernel 2.4.21) and I've
    tried to compile using "gcc -D__KERNEL__ -DMODULE -O -Wall"

    ___________________________________________________
    Yahoo! Messenger - Nueva versión GRATIS
    Super Webcam, voz, caritas animadas, y más...
    http://messenger.yahoo.es

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon Nov 03 2003 - 05:15:40 EST