Vanilla 2.4.27 fails to compile on amd64
Subsystems (2)
I couldn't figure out who supports drivers/scsi/aic7xxx from the MAINTAINERS document, so here's to the list.
I'm trying to compile a vanilla 2.4.27 kernel on an AMD Opteron system running Tao Linux x86_64 arch. I get this error:
cc1: warnings being treated as errors aic79xx_osm_pci.c:278: warning: `ahd_linux_pci_reserve_mem_region' defined but not used
make[3]: *** [aic79xx_osm_pci.o] Error 1
I have seen references to what seems to be the same problem mentioned on this list June 2003 on 2.4.21 but it would seem either it wasn't fixed, or the fix got lost.
Is there a patch for this problem, and can the fix be included permanently in 2.4?
Signature · 1 line
C. Linus Hicks <[email protected]>
Quoted 2 lines · C. Linus Hicks
Is there a patch for this problem, and can the fix be included permanently in 2.4?
That's a known annoyance of the aic7xxx driver on non-x86 platforms. The attached patch should make it at least compile.
James
===== drivers/scsi/aic7xxx/Makefile 1.16 vs edited =====
drivers/scsi/aic7xxx/Makefile +1 -1
@@ -13,7 +13,7 @@ obj-$(CONFIG_SCSI_AIC79XX) += aic79xx.o endif -EXTRA_CFLAGS += -I$(TOPDIR)/drivers/scsi -Werror +EXTRA_CFLAGS += -I$(TOPDIR)/drivers/scsi #EXTRA_CFLAGS += -g # Platform Specific Files