public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] Linux-2.4.12 does not build.
@ 2001-10-11 21:58 Enver Haase
  2001-10-11 22:09 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Enver Haase @ 2001-10-11 21:58 UTC (permalink / raw)
  To: linux-kernel


make[3]: Wechsel in das Verzeichnis Verzeichnis
»/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=k6    -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[3]: *** [ieee1284_ops.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.12/drivers/parport«
make[2]: *** [first_rule] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.12/drivers/parport«
make[1]: *** [_subdir_parport] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.12/drivers«
make: *** [_dir_drivers] Fehler 2


Sorry for the localized error messages; but you do understand them.

Greetings,
Enver


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

* Re: [BUG] Linux-2.4.12 does not build.
  2001-10-11 21:58 [BUG] Linux-2.4.12 does not build Enver Haase
@ 2001-10-11 22:09 ` Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2001-10-11 22:09 UTC (permalink / raw)
  To: Enver Haase; +Cc: linux-kernel

On Thu, 2001-10-11 at 17:58, Enver Haase wrote:
> 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 is known.  Apply the attached patch.


--- 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 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11 21:58 [BUG] Linux-2.4.12 does not build Enver Haase
2001-10-11 22:09 ` Robert Love

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