[PARPORT] Redhat 7.1 & HP 5300C scanner

From: Fernando Pando (fpando@nyc.rr.com)
Date: Fri Jun 29 2001 - 10:03:19 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] Redhat 7.1 & HP 5300C scanner"

    hi,
      im trying to connect my HP 5300C scanner to the 2.4.2-2 linux kernel via
    parallel port. I applied the patch (attached) linux-ppscsi.patch to the
    kernel using "patch p0 < linux-ppscsi.patch" and then "make menuconfig"
    "make dep" "make modules" .... this is where it breaks:

    ----------------------------------------------------------------------------
    ----------------
    make[2]: Entering directory `/usr/src/linux-2.4.2/drivers/char'
    gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fom
    it-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mprefer
    red-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
    /usr/src/linux/include/linux/modversions.h -c -o ppdev.o ppdev.c
    In file included from ppdev.c:51:
    /usr/src/linux/include/linux/module.h:173: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:173: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:173: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:173: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:173: parse error before `62dada05'
    /usr/src/linux/include/linux/module.h:173: `inter_module_register_R_ver_str'
    declared as function returning a function
    /usr/src/linux/include/linux/module.h:173: warning: function declaration
    isn't a prototype
    /usr/src/linux/include/linux/module.h:174: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:174: missing white space after number
    `7a9e845'
    /usr/src/linux/include/linux/module.h:174: parse error before `7a9e845'
    /usr/src/linux/include/linux/module.h:174:
    `inter_module_unregister_R_ver_str' declared as function returning a
    function
    /usr/src/linux/include/linux/module.h:174: warning: function declaration
    isn't a prototype
    /usr/src/linux/include/linux/module.h:175: `inter_module_get_R_ver_str'
    declared as function returning a function
    /usr/src/linux/include/linux/module.h:175: warning: parameter names (without
    types) in function declaration
    /usr/src/linux/include/linux/module.h:176:
    `inter_module_get_request_R_ver_str' declared as function returning a
    function
    /usr/src/linux/include/linux/module.h:176: warning: parameter names (without
    types) in function declaration
    /usr/src/linux/include/linux/module.h:177: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:177: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:177: nondigits in number and not
    hexadecimal
    /usr/src/linux/include/linux/module.h:177: parse error before `6b99f7d8'
    /usr/src/linux/include/linux/module.h:177: `inter_module_put_R_ver_str'
    declared as function returning a function
    /usr/src/linux/include/linux/module.h:177: warning: function declaration
    isn't a prototype
    /usr/src/linux/include/linux/module.h:186: `try_inc_mod_count_R_ver_str'
    declared as function returning a function
    /usr/src/linux/include/linux/module.h:186: warning: parameter names (without
    types) in function declaration
    make[2]: *** [ppdev.o] Error 1
    make[2]: Leaving directory `/usr/src/linux-2.4.2/drivers/char'
    make[1]: *** [_modsubdir_char] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.2/drivers'
    make: *** [_mod_drivers] Error 2
    --------------------------------------------------------------------------

    my questions are:
    1) why is "make modules" breaking? any clues?
    2) am I on the right path? do i need to recompile the kernel?
    3) the HP5300C is connected to the parallel port. am on on the right track
    with the ppscsi patch?
    4) any advice or hints or success stories using the HP 5300C? (the HP5100C &
    HP5200C are reported to work well)

    im not sure what additional debugging info would be useful to supply. let me
    know what would help and ill be happy to provide it.

    thanks in advance,
    fernando pando

    -- 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 : Fri Jun 29 2001 - 14:50:08 EDT