In the new Kernel 2.4.12, when attempting to compile modules, the parport
module dies, I'm attempting to compile it with IEEE1284 readback support
(HP OJ T45 printer)
make -C parport modules
make[2]: Entering directory `/usr/src/linux-2.4.12/drivers/parport'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c -o
ieee1284_ops.o ieee1284_ops.c
ieee1284_ops.c: In function `ecp_forward_to_reverse':
ieee1284_ops.c:365: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in
this function)
ieee1284_ops.c:365: (Each undeclared identifier is reported only once
ieee1284_ops.c:365: for each function it appears in.)
ieee1284_ops.c: In function `ecp_reverse_to_forward':
ieee1284_ops.c:397: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in
this function)
make[2]: *** [ieee1284_ops.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.12/drivers/parport'
make[1]: *** [_modsubdir_parport] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.12/drivers'
make: *** [_mod_drivers] Error 2
Is the error I get.
--
Malcolm D. Mallardi - Dark Freak At Large
"Captain, we are receiving two-hundred eighty-five THOUSAND hails."
AOL: Nuark UIN: 11084092 Y!: Magamo Jabber: [email protected]
http://ranka.2y.net/~magamo/index.htm
* Malcolm Mallardi ([email protected]) wrote:
> In the new Kernel 2.4.12, when attempting to compile modules, the parport
> module dies, I'm attempting to compile it with IEEE1284 readback support
this is known. check archives. patch is here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=100278983703821&w=2
-chris
On Thu, 2001-10-11 at 13:20, Malcolm Mallardi wrote:
> In the new Kernel 2.4.12, when attempting to compile modules, the parport
> module dies, I'm attempting to compile it with IEEE1284 readback support
> (HP OJ T45 printer)
This patch fixes:
--- ieee1284_ops.c~ Thu Oct 11 11:10:37 2001
+++ ieee1284_ops.c Thu Oct 11 11:22:31 2001
@@ -362,7 +362,7 @@
} else {
DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
port->name);
- port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
}
return retval;
@@ -394,7 +394,7 @@
DPRINTK (KERN_DEBUG
"%s: ECP direction: failed to switch forward\n",
port->name);
- port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+ port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
}
Robert Love