Messages in this thread |  | | Date | Sun, 25 Aug 2002 22:15:57 +0200 (CEST) | From | Adrian Bunk <> | Subject | Re: Linux 2.4.20-pre4-ac1 |
| |
Hi Alan,
the inclusion of linux/ide.h in hd.c causes the following compile error:
<-- snip -->
... gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.19-full-nohotplug/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=hd -c -o hd.o hd.c hd.c:88: conflicting types for `recal_intr' /home/bunk/linux/kernel-2.4/linux-2.4.19-full-nohotplug/include/linux/ide.h:1496: previous declaration of `recal_intr' hd.c: In function `dump_status': hd.c:181: `QUEUE_EMPTY' undeclared (first use in this function) hd.c:181: (Each undeclared identifier is reported only once hd.c:181: for each function it appears in.) hd.c:181: `CURRENT' undeclared (first use in this function) hd.c:179: warning: `devc' might be used uninitialized in this function hd.c: In function `hd_out': hd.c:294: `DEVICE_INTR' undeclared (first use in this function) hd.c:294: `TIMEOUT_VALUE' undeclared (first use in this function) ... make[4]: *** [hd.o] Error 1 make[4]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.19-full-nohotplug/drivers/ide/legacy'
<-- snip -->
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/
|  |