From owner-freebsd-scsi Fri Jan 24 6:12:55 2003 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC4EA37B401 for ; Fri, 24 Jan 2003 06:12:53 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5325743EB2 for ; Fri, 24 Jan 2003 06:12:53 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id h0OECli20584; Fri, 24 Jan 2003 06:12:47 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id GAA08865; Fri, 24 Jan 2003 06:12:35 -0800 (PST) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA22943; Fri, 24 Jan 2003 07:12:32 -0700 (MST) Message-ID: <3E3149CA.4060604@btc.adaptec.com> Date: Fri, 24 Jan 2003 07:12:26 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Brooks Cc: freebsd-scsi@freebsd.org Subject: Re: compiling afacli use into kernel for PERC References: <20030124041021.O64423-100000@mail.econolodgetulsa.com> In-Reply-To: <20030124041021.O64423-100000@mail.econolodgetulsa.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Josh Brooks wrote: > Hello, > > I am running 4.6-RELEASE, and I have been successfully using my PERC 3/si > for many months. > > I just decided that I want to use afacli to check the status of the > server. So, I added this to my kernel config: > > options AAC_COMPAT_LINUX > > make depend worked fine, but then I did the make and got: > > linking kernel > aac.o(.data+0x39c): undefined reference to `linux_ioctl_register_handler' > aac.o(.data+0x3ac): undefined reference to > `linux_ioctl_unregister_handler' > *** Error code 1 > > What am I doing wrong ? > > thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message You also need to add the line options LINUX_COMPAT to your kernel config. Alternatively, you can use the FreeBSD-native version that is available from Adaptec. It's designed to work on Dell, HP, and Adaptec flavors of cards, and can be found by searching for software downloads that are available from the '5400S' card. It'll be under the name 'aaccli' Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message