public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Vanilla 2.4.27 fails to compile on amd64
@ 2004-09-12 17:11 C. Linus Hicks
  2004-09-12 18:23 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: C. Linus Hicks @ 2004-09-12 17:11 UTC (permalink / raw)
  To: linux-scsi

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?

-- 
C. Linus Hicks <lhicks@nc.rr.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Vanilla 2.4.27 fails to compile on amd64
  2004-09-12 17:11 Vanilla 2.4.27 fails to compile on amd64 C. Linus Hicks
@ 2004-09-12 18:23 ` James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2004-09-12 18:23 UTC (permalink / raw)
  To: C. Linus Hicks; +Cc: SCSI Mailing List

On Sun, 2004-09-12 at 13:11, C. Linus Hicks wrote:
> 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 =====
--- 1.16/drivers/scsi/aic7xxx/Makefile	2003-05-30 16:56:17 -04:00
+++ edited/drivers/scsi/aic7xxx/Makefile	2004-09-12 14:21:38 -04:00
@@ -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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-12 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-12 17:11 Vanilla 2.4.27 fails to compile on amd64 C. Linus Hicks
2004-09-12 18:23 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox