lkml.org 
[lkml]   [2001]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.12 compilation fails ieee1284
Herbert Rosmanith wrote:

>gcc -D__KERNEL__ -I/data/root/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /data/root/linux/include/linux/modversions.h -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 `/data/root/linux/drivers/parport'
>make[1]: *** [_modsubdir_parport] Error 2
>make[1]: Leaving directory `/data/root/linux/drivers'
>make: *** [_mod_drivers] Error 2
>
I simply changed this to IEE1284_PH_ECP_DIR_UNKNOWN. It compiles right
and doesn't seem to screw up the operation of the module.

HTH
Markus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.054 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site