linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq'
@ 2002-04-23  2:43 Miles Lane
  2002-04-23 21:26 ` Stephen Lord
  2002-04-23 23:07 ` Kai Germaschewski
  0 siblings, 2 replies; 4+ messages in thread
From: Miles Lane @ 2002-04-23  2:43 UTC (permalink / raw)
  To: LKML

I searched on http://marc.theaimsgroup.com/?l=linux-kernel
and didn't find this mentioned.

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.

Excerpts from my .config file info:

CONFIG_X86=y
CONFIG_ISA=y
CONFIG_UID16=y

CONFIG_MODULES=y
CONFIG_KMOD=y

CONFIG_MK7=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_HAVE_DEC_LOCK=y

CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_DEBUG=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y

CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y

CONFIG_IDE=y

#
# ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m

CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_AMD74XX=y
CONFIG_IDEDMA_AUTO=y

CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_BLK_DEV_SR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y

CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y

#
# SCSI low-level drivers
#
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
CONFIG_AIC7XXX_RESET_DELAY_MS=15000

Gnu C                  3.0.4
Gnu make               3.79.1
binutils               2.11.90.0.8
util-linux             2.11f
mount                  2.11g
modutils               2.4.14
e2fsprogs              1.26
reiserfsprogs          3.x.0j
pcmcia-cs              3.1.22
PPP                    2.4.1
isdn4k-utils           3.1pre1
Linux C Library        2.2.4
Dynamic linker (ldd)   2.2.4
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.3.3
Sh-utils               2.0.11



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

* Re: 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq'
  2002-04-23  2:43 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq' Miles Lane
@ 2002-04-23 21:26 ` Stephen Lord
  2002-04-24 11:30   ` Bob_Tracy
  2002-04-23 23:07 ` Kai Germaschewski
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Lord @ 2002-04-23 21:26 UTC (permalink / raw)
  To: Miles Lane; +Cc: LKML

Miles Lane wrote:

>I searched on http://marc.theaimsgroup.com/?l=linux-kernel
>and didn't find this mentioned.
>
>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.
>
>Excerpts from my .config file info:
>

I reverted the makefile in the aic directory to the 2.5.8 version and it 
builds.

Steve



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

* Re: 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq'
  2002-04-23  2:43 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq' Miles Lane
  2002-04-23 21:26 ` Stephen Lord
@ 2002-04-23 23:07 ` Kai Germaschewski
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Germaschewski @ 2002-04-23 23:07 UTC (permalink / raw)
  To: Miles Lane; +Cc: LKML

On 22 Apr 2002, 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'

My bad, sorry.

--Kai

===== Makefile 1.6 vs edited =====
--- 1.6/drivers/scsi/aic7xxx/Makefile	Fri Apr 19 10:00:59 2002
+++ edited/Makefile	Tue Apr 23 18:05:48 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



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

* Re: 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq'
  2002-04-23 21:26 ` Stephen Lord
@ 2002-04-24 11:30   ` Bob_Tracy
  0 siblings, 0 replies; 4+ messages in thread
From: Bob_Tracy @ 2002-04-24 11:30 UTC (permalink / raw)
  To: Stephen Lord; +Cc: Miles Lane, LKML, torvalds

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

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

end of thread, other threads:[~2002-04-24 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23  2:43 2.5.9 -- Build error -- scsidrv.o: In function `ahc_linux_halt': undefined reference to `ahc_tailq' Miles Lane
2002-04-23 21:26 ` Stephen Lord
2002-04-24 11:30   ` Bob_Tracy
2002-04-23 23:07 ` Kai Germaschewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).