Re: Linux 2.4.19-ac4

Adrian Bunk
2002-08-05T22:41:22Z

Hi Alan,

trying to compile a kernel with CONFIG_BLK_DEV_HD enabled fails with the
following error:

<-- snip -->

...
gcc -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.19-full-nohotplug/inclu
de -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common
-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 `dump_status':
hd.c:210: warning: implicit declaration of function `IN_BYTE'
...
--end-group \
-o vmlinux
drivers/ide/idedriver.o: In function `dump_status':
drivers/ide/idedriver.o(.text+0x68): undefined reference to `IN_BYTE'
drivers/ide/idedriver.o: In function `reset_controller':
drivers/ide/idedriver.o(.text+0x55e): undefined reference to `IN_BYTE'
make: *** [vmlinux] Error 1

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