* Kernel 2.4.12 Compiling error.
@ 2001-10-11 17:20 Malcolm Mallardi
2001-10-11 17:35 ` Chris Wright
2001-10-11 17:44 ` Robert Love
0 siblings, 2 replies; 3+ messages in thread
From: Malcolm Mallardi @ 2001-10-11 17:20 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]
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: Nuark@jabber.com
http://ranka.2y.net/~magamo/index.htm
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel 2.4.12 Compiling error.
2001-10-11 17:20 Kernel 2.4.12 Compiling error Malcolm Mallardi
@ 2001-10-11 17:35 ` Chris Wright
2001-10-11 17:44 ` Robert Love
1 sibling, 0 replies; 3+ messages in thread
From: Chris Wright @ 2001-10-11 17:35 UTC (permalink / raw)
To: Malcolm Mallardi; +Cc: linux-kernel
* Malcolm Mallardi (magamo@mirkwood.net) 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel 2.4.12 Compiling error.
2001-10-11 17:20 Kernel 2.4.12 Compiling error Malcolm Mallardi
2001-10-11 17:35 ` Chris Wright
@ 2001-10-11 17:44 ` Robert Love
1 sibling, 0 replies; 3+ messages in thread
From: Robert Love @ 2001-10-11 17:44 UTC (permalink / raw)
To: Malcolm Mallardi; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-11 17:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11 17:20 Kernel 2.4.12 Compiling error Malcolm Mallardi
2001-10-11 17:35 ` Chris Wright
2001-10-11 17:44 ` Robert Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox