2001-10-13 20:25:02

by John Gluck

[permalink] [raw]
Subject: Kernel 2.4.12 parport module compile error in ieee1284_ops.c

Hi

Compiling IEEE1284 in the parport module produces the following errors:

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

I search for IEEE1284_PH_DIR_UNKNOWN in all headers. It doesn't exist.
In linux/parport.h i can find IEEE1284_PH_ECP_DIR_UNKNOWN which is what
I think it should be.

Can someone confirm this??

TIA

John


2001-10-13 20:36:43

by Thomas Hood

[permalink] [raw]
Subject: Re: Kernel 2.4.12 parport module compile error in ieee1284_ops.c

This is a known issue. Look in the mailing list
archives for more information. E.g.,

http://marc.theaimsgroup.com/?l=linux-kernel&m=100289285615710&w=2

--
Thomas Hood

--- original message ---
Hi

Compiling IEEE1284 in the parport module produces the following errors:

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

I search for IEEE1284_PH_DIR_UNKNOWN in all headers. It doesn't exist.
In linux/parport.h i can find IEEE1284_PH_ECP_DIR_UNKNOWN which is what
I think it should be.

Can someone confirm this??

TIA

John