* 2.4.12 compilation fails ieee1284
@ 2001-10-16 0:55 Herbert Rosmanith
2001-10-16 21:47 ` Markus Brückner
0 siblings, 1 reply; 2+ messages in thread
From: Herbert Rosmanith @ 2001-10-16 0:55 UTC (permalink / raw)
To: linux-kernel
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
no idea how to fix it (too late/too tired too).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.12 compilation fails ieee1284
2001-10-16 0:55 2.4.12 compilation fails ieee1284 Herbert Rosmanith
@ 2001-10-16 21:47 ` Markus Brückner
0 siblings, 0 replies; 2+ messages in thread
From: Markus Brückner @ 2001-10-16 21:47 UTC (permalink / raw)
To: Herbert Rosmanith; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-16 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16 0:55 2.4.12 compilation fails ieee1284 Herbert Rosmanith
2001-10-16 21:47 ` Markus Brückner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox