Re: 2.4.23-pre7 Megaraid2 compile fails

From: Samuel Flory
Date: Mon Oct 20 2003 - 12:13:49 EST


Samuel Flory wrote:
I'm not sure if anyone has reported this.

gcc -D__KERNEL__ -I/stuff/src/linux-2.4.23-pre7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=megaraid2 -c -o megaraid2.o megaraid2.c
megaraid2.c: In function `mega_find_card':
megaraid2.c:403: structure has no member named `lock'
make[3]: *** [megaraid2.o] Error 1
make[3]: Leaving directory `/stuff/src/linux-2.4.23-pre7/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/stuff/src/linux-2.4.23-pre7/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/stuff/src/linux-2.4.23-pre7/drivers'
make: *** [_dir_drivers] Error 2


The driver does compile as a module, but not built into the kernel.



Actually it fails as module as well;-( Sorry I could swear I saw it get past megaraid2.


--
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory <sflory@xxxxxxxxxxxx>

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