Hi list,
I've been trying to compile kernel 2.2.17 for the past 6 days and I'm
having very little success at doing so. So, I have a few questions.
1) has anyone else been experiencing a lot of trouble
getting this kernel to compile cleanly and run?
2) I'm getting errors that suggest bad code such as parsing
errors and the like, but when I check the code I don't find
these errors to exist. Could someone interpret the error
messages that I've attached to this posting?
Thank tons,
--
Mark
/* I never worry about the to-jams.
* Once I've stuck my foot in my mouth
* it's already too late...just make sure
* you chew them thoroughly before swallowing!
*/
Registered Linux user #182496
* Pine 4.21 *
make[3]: Entering directory `/usr/src/linux-2.2.17/drivers/block'
cc -D__KERNEL__ -I/usr/src/linux-2.2.17/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c
ide.c
ide.c:1344: macro `ide_ack_intr' used with too many (2) args
ide.c:1448: macro `ide_ack_intr' used with too many (2) args
ide.c:1487: macro `ide_ack_intr' used with too many (2) args
In file included from ide.h:15,
from ide.c:128:
/usr/src/linux-2.2.17/include/asm/ide.h:56: parse error before `*'
/usr/src/linux-2.2.17/include/asm/ide.h:57: warning: function declaration isn't a
prototype
/usr/src/linux-2.2.17/include/asm/ide.h: In function `ide_init_hwif_ports':
/usr/src/linux-2.2.17/include/asm/ide.h:58: `data_port' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:58: (Each undeclared identifier is reported
only once
/usr/src/linux-2.2.17/include/asm/ide.h:58: for each function it appears in.)
/usr/src/linux-2.2.17/include/asm/ide.h:61: `IDE_DATA_OFFSET' undeclared (first use in
this function)
/usr/src/linux-2.2.17/include/asm/ide.h:61: `IDE_STATUS_OFFSET' undeclared (first use
in this function)
/usr/src/linux-2.2.17/include/asm/ide.h:62: `hw' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:65: `ctrl_port' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:66: `IDE_CONTROL_OFFSET' undeclared (first use
in this function)
/usr/src/linux-2.2.17/include/asm/ide.h:70: `irq' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:72: `IDE_IRQ_OFFSET' undeclared (first use in
this function)
/usr/src/linux-2.2.17/include/asm/ide.h: In function `ide_init_default_hwifs':
/usr/src/linux-2.2.17/include/asm/ide.h:78: `hw_regs_t' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:78: parse error before `hw'
/usr/src/linux-2.2.17/include/asm/ide.h:82: `hw' undeclared (first use in this
function)
/usr/src/linux-2.2.17/include/asm/ide.h:84: warning: implicit declaration of function
`ide_register_hw'
ide.c: At top level:
ide.c:145: warning: `ide_lock' defined but not used
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.17/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers'
make: *** [_dir_drivers] Error 2
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.