2001-10-12 19:41:33

by Fabio

[permalink] [raw]
Subject: BUG - Kernel 2.4.12 doesn't compile

I use a RH 7.1 ad trying to compile the kernel v. 2.4.12 i get the error you
can see here:

-----------------------------------------------------
fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -c -o
share.o share.c
gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.12/include -Wall -Wstrict-protot
ypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -c -o
ieee1284.o ieee1284.c
gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.12/include -Wall -Wstrict-protot
ypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -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 `/usr/local/src/linux-2.4.12/drivers/parport'
make[1]: *** [_modsubdir_parport] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.4.12/drivers'
make: *** [_mod_drivers] Error 2
----------------------------------------------------

Thank you & goodbye.

Fabio Adamo



2001-10-12 21:28:14

by Lukasz Trabinski

[permalink] [raw]
Subject: Re: BUG - Kernel 2.4.12 doesn't compile

In article <000d01c15356$6c2bfec0$0100a8c0@leopoldo> you wrote:
> I use a RH 7.1 ad trying to compile the kernel v. 2.4.12 i get the error you
> can see here:
> 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

Wrong define. Try 2.4.13-pre1

--
*[ ?ukasz Tr?bi?ski ]*
SysAdmin @wsisiz.edu.pl