Re: Kernel 2.6.9 SCSI driver compile error w/gcc-3.4.2.

From: Justin Piszcz
Date: Wed Nov 24 2004 - 12:19:41 EST


Ahh, ok thanks!

On Wed, 24 Nov 2004, Adrian Bunk wrote:

On Wed, Nov 24, 2004 at 08:13:06AM -0500, Justin Piszcz wrote:
Under slackware-current, gcc-3.4.2.

root@p500b:/usr/src/linux# make modules
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] drivers/scsi/cpqfcTScontrol.o
drivers/scsi/cpqfcTScontrol.c:609:2: #error This is too much stack
drivers/scsi/cpqfcTScontrol.c:721:2: #error This is too much stack
make[2]: *** [drivers/scsi/cpqfcTScontrol.o] Error 1
...

This compile error (as well as the other two compile errors you
reported) comes from the fact, that you disabled the option

Code maturity level options
Prompt for development and/or incomplete code/drivers
Select only drivers expected to compile cleanly


It's known that some drivers do not compile and marked in the Kconfig
files. But if you choose to try to compile them anyway, they don't
compile.


cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/