Hi, dear,
After I done "make dep", ran "make zImage as README file included
"linux-2.3.12.tar.gz".
But, when I run "make zImage", got a message with "Error 1", "Error 2".
What's problem?
Who can answer me?
It's a error message followed.
-------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.3.12/include -Wall -Wstrict-prototypes -
O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -DCPU=486
-c -o hd.o hd.c
hd.c: In function `hd_ioctl':
hd.c:623: `BLKPG' undeclared (first use this function)
hd.c:623: (Each undeclared identifier is reported only once
hd.c:623: for each function it appears in.)
hd.c:624: warning: implicit declaration of function `blk_ioctl'
make[3]: *** [hd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.3.12/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.3.12/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.12/drivers'
make: *** [_dir_drivers] Error 2
----------------------------