2.5 ide/hd.c compile error: `i' undeclared (first use in this function)

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sun Aug 04 2002 - 09:19:07 EST


When trying to compile 2.5.30-dj1 with using the 2.5 IDE code compilation
fails as follows (it seems the problem is also present in plain 2.5.30):

<-- snip -->

...
  gcc -Wp,-MD,./.hd.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.30-full/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=hd -c -o hd.o hd.c
hd.c: In function `hd_geninit':
hd.c:859: `i' undeclared (first use in this function)
hd.c:859: (Each undeclared identifier is reported only once
hd.c:859: for each function it appears in.)
make[2]: *** [hd.o] Error 1
make[2]: Leaving directory `/home/bunk/linux/kernel-2.5/linux-2.5.30-full/drivers/ide'

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:24 EST