lkml.org 
[lkml]   [2002]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq'
Date
Stephen Lord wrote:
> Miles Lane wrote:
>
> >drivers/scsi/scsidrv.o: In function `ahc_linux_halt':
> >drivers/scsi/scsidrv.o(.text+0x78cd): undefined reference to `ahc_tailq'
> >drivers/scsi/scsidrv.o(.text+0x78e2): undefined reference to
> >`ahc_shutdown'
> >drivers/scsi/scsidrv.o: In function `ahc_linux_detect':
> >drivers/scsi/scsidrv.o(.text+0x7fb7): undefined reference to `ahc_tailq'
> >drivers/scsi/scsidrv.o: In function `ahc_linux_register_host':
> >drivers/scsi/scsidrv.o(.text+0x80c6): undefined reference to
> >`ahc_set_unit'
> >drivers/scsi/scsidrv.o(.text+0x8109): undefined reference to
> >`ahc_set_name'
> >
> >and so on.

The problem appears to be a couple of simple typos made by whoever
submitted the patch for linux/scsi/aic7xxx/Makefile. Here's a quick
"counter"patch that fixed things for me...

--- linux/drivers/scsi/aic7xxx/Makefile.orig Tue Apr 23 08:43:08 2002
+++ linux/drivers/scsi/aic7xxx/Makefile Tue Apr 23 12:31:06 2002
@@ -8,7 +8,7 @@
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx_mod.o

# Core files
-aix7xxx_mod-objs += aic7xxx.o aic7xxx_93cx6.o aic7770.o
+aic7xxx_mod-objs += aic7xxx.o aic7xxx_93cx6.o aic7770.o

# Platform Specific Files
aic7xxx_mod-objs += aic7xxx_linux.o aic7xxx_proc.o aic7770_linux.o
@@ -33,4 +33,4 @@
aicasm/aicasm: aicasm/*.[chyl]
$(MAKE) -C aicasm

-aix7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h
+aic7xxx_mod.o: aic7xxx_seq.h aic7xxx_reg.h
--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.066 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site