public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.12: IEEE-1284 won't compile
@ 2001-10-11 13:28 Steve Snyder
  2001-10-11 17:45 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Snyder @ 2001-10-11 13:28 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Patched from 2.4.11 on a RedHat v7.1 system, no errors seen in patching:
 
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 procfs.o 
procfs.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)
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 usb-uhci.o 
usb-uhci.c
make[2]: *** [ieee1284_ops.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ld -m elf_i386 -r -o usbcore.o usb.o usb-debug.o hub.o
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/linux-2.4.12/drivers/parport'
make[1]: *** [_modsubdir_parport] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/linux-2.4.12/drivers/usb'
make[1]: Leaving directory `/usr/src/linux-2.4.12/drivers'
make: *** [_mod_drivers] Error 2m

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.12: IEEE-1284 won't compile
  2001-10-11 13:28 2.4.12: IEEE-1284 won't compile Steve Snyder
@ 2001-10-11 17:45 ` Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2001-10-11 17:45 UTC (permalink / raw)
  To: swsnyder; +Cc: Linux Kernel Mailing List

On Thu, 2001-10-11 at 09:28, Steve Snyder wrote:
> Patched from 2.4.11 on a RedHat v7.1 system, no errors seen in patching:

--- 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] 2+ messages in thread

end of thread, other threads:[~2001-10-11 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11 13:28 2.4.12: IEEE-1284 won't compile Steve Snyder
2001-10-11 17:45 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox