From owner-aic7xxx Wed May 30 1:37:39 2001 Delivered-To: aic7xxx@freebsd.org Received: from dpfinance.nl (mail.roccadefinance.nl [193.78.32.2]) by hub.freebsd.org (Postfix) with ESMTP id 6777E37B422 for ; Wed, 30 May 2001 01:37:22 -0700 (PDT) (envelope-from T.Wirschell@fin.pinkroccade.nl) Received: from fin.PinkRoccade.nl ([150.150.20.180]) by gateway.dpfinance.nl with ESMTP id <118086>; Wed, 30 May 2001 08:31:37 +0200 Message-ID: <3B14CABD.D4C6935E@fin.PinkRoccade.nl> Date: Wed, 30 May 2001 10:26:05 +0000 From: Tom Wirschell X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18pre21 i686) X-Accept-Language: en MIME-Version: 1.0 To: AIC7xxx Subject: 6.1.13 driver doesn't compile with Linux 2.2.19 Content-Type: multipart/mixed; boundary="------------502FDA9FFA00FEDB0B911ECE" Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------502FDA9FFA00FEDB0B911ECE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------502FDA9FFA00FEDB0B911ECE Content-Type: application/x-gzip; name="config.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="config.gz" H4sICHfFFDsAA2NvbmZpZwCNWltz4rgSfp9f4dp5OLtVu3XCNeRUzYMsC9AgW4plA9kXFxOc DBUGZwnMTv79adkx2LjlJJWqBPUnqdXqu/j86bNDjofsx+qwuV9tt6/OY7pL96tDuna+vTo/ Vk+p8yPdHe+z3cPm8X/OOtv95+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3EyidHXfrykOdjIPa9yPygYT61tK9oOt+d2Qpp3PAONbWUJEDmB93rmZt SzDd6V2jj0xncqfJuk+YeYFtWfgNgat2ubgGoco29ji1vGXkVC0DTufcZZaudg6KzJctAku/ uWBVBx4Vttb4CaJsTagcAZUGFGlL2ztAjpG6mVnMTNds63xf3T9dvC/7xLTaIW8Lb6uz/g8M pqNJyCkAAA== --------------502FDA9FFA00FEDB0B911ECE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message