Re: Linux 2.5.10-dj1

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sat Apr 27 2002 - 13:34:47 EST


Hi Dave,

there are changes in the 2.5.10-dj1 patch that aren't in the 2.5.9-dj1
patch that include removals of defines for TIMEOUT_VALUE and
DEVICE_REQUEST that seem to cause the following compile error:

<-- snip -->

...
gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.10/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=hd -c -o hd.o hd.c
hd.c: In function `hd_out':
hd.c:284: `TIMEOUT_VALUE' undeclared (first use in this function)
hd.c:284: (Each undeclared identifier is reported only once
hd.c:284: for each function it appears in.)
hd.c: In function `unexpected_hd_interrupt':
hd.c:365: `TIMEOUT_VALUE' undeclared (first use in this function)
hd.c: In function `read_intr':
hd.c:434: `TIMEOUT_VALUE' undeclared (first use in this function)
hd.c: In function `write_intr':
hd.c:472: `TIMEOUT_VALUE' undeclared (first use in this function)
hd.c: In function `hd_request':
hd.c:555: `TIMEOUT_VALUE' undeclared (first use in this function)
hd.c: In function `hd_init':
hd.c:836: `DEVICE_REQUEST' undeclared (first use in this function)
hd.c: At top level:
hd.c:617: warning: `do_hd_request' defined but not used
make[3]: *** [hd.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.10/drivers/ide'

<-- snip -->

The .config I used when observing this problem is attached.

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox


- 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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:14 EST