Fail To Compile Code For ALI M15x3 Chipset
Hi!
Kernel having problem when compiling: 2.4.17.
glibc 2.1.2
gcc 2.95.3
hardware=AMD K6 II 450 MHz.
When
CONFIG_BLK_DEV_ALIM15X3=y
then
"make bzImage"
aborts with the following message.
Regards,
CN
===========
make[3]: Entering directory `/usr/src/linux-2.4.17/drivers/ide'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -c -o
alim15x3.o alim15x3.calim15x3.c: In function `ali15x3_tune_drive':
alim15x3.c:246: structure has no member named `pci_dev'alim15x3.c: In function `ali15x3_tune_chipset':
alim15x3.c:315: structure has no member named `pci_dev'alim15x3.c: In function `ata66_ali15x3':
alim15x3.c:548: structure has no member named `pci_dev'alim15x3.c: In function `ide_dmacapable_ali15x3':
alim15x3.c:704: warning: implicit declaration of function `ide_setup_dma'alim15x3.c: At top level:
alim15x3.c:362: warning: `config_chipset_for_pio' defined but not used
make[3]: *** [alim15x3.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.17/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.17/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.17/drivers'
make: *** [_dir_drivers] Error 2
--------------------------------------------------------
You too can have your own email address from Eurosport.
http://www.eurosport.com