6.1.13 driver doesn't compile with Linux 2.2.19

Tom Wirschell T.Wirschell at fin.pinkroccade.nl
Wed May 30 01:37:39 PDT 2001


I picked up linux-2.2.19.tar.bz2 from my local kernel.org, and
linux-aic7xxx-6.1.13-2.2.19.patch.gz from Justin's Linux page.
Unpacked the linux kernel and applied the patch as described on his page
(no problems were reported during the patching).

Using 'make menuconfig' I constructed the attached .config file, then
ran 'make dep clean bzImage'. Everything seemed to go fine until the
latter stages of compilation provided the following:

ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.o drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a \
        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
init/main.o(.data.init+0x10c): undefined reference to `aic7xxx_setup'
drivers/scsi/scsi.a(hosts.o)(.data+0x2c): undefined reference to
`ahc_linux_proc_info'
drivers/scsi/scsi.a(hosts.o)(.data+0x34): undefined reference to
`ahc_linux_detect'
drivers/scsi/scsi.a(hosts.o)(.data+0x3c): undefined reference to
`ahc_linux_release'
drivers/scsi/scsi.a(hosts.o)(.data+0x40): undefined reference to
`ahc_linux_info'
drivers/scsi/scsi.a(hosts.o)(.data+0x4c): undefined reference to
`ahc_linux_queue'
drivers/scsi/scsi.a(hosts.o)(.data+0x54): undefined reference to
`ahc_linux_abort'
drivers/scsi/scsi.a(hosts.o)(.data+0x58): undefined reference to
`ahc_linux_dev_reset'
drivers/scsi/scsi.a(hosts.o)(.data+0x5c): undefined reference to
`ahc_linux_bus_reset'
drivers/scsi/scsi.a(hosts.o)(.data+0x70): undefined reference to
`ahc_linux_biosparam'
make: *** [vmlinux] Error 1


Trying 'make zImage' resulted in the same error.

Without the patch applied and the .config file adjusted to the old SCSI
driver everything worked fine.

Any idea as to what's going wrong here?

I'm compiling this on a pretty much standard Slackware 7.0 machine:

LEV8:~$ gcc --version
egcs-2.91.66
LEV8:~$ ld --version
GNU ld 2.9.1
LEV8:~$ ar --version
GNU ar 2.9.1

Tom Wirschell
-- 
The thing I love most about deadlines is the wonderful WHOOSHing sound
they make as they go past.
	Douglas Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.gz
Type: application/x-gzip
Size: 2707 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/aic7xxx/attachments/20010530/e95d73f8/config.bin


More information about the aic7xxx mailing list