From owner-aic7xxx Tue Mar 30 5:43:18 1999 Delivered-To: aic7xxx@freebsd.org Received: from cetatestsysteme.de (as12-pri18.rp-plus.de [149.221.242.18]) by hub.freebsd.org (Postfix) with SMTP id 2AB6E14F8C for ; Tue, 30 Mar 1999 05:43:14 -0800 (PST) (envelope-from janas@cetatestsysteme.de) Received: (qmail 219 invoked by uid 500); 30 Mar 1999 13:36:11 -0000 Received: from UNKNOWN(), claiming to be "cetatestsysteme.de" via SMTP by server.server, id smtpda00216; Tue Mar 30 13:36:08 1999 Message-ID: <3700C560.EC1B4003@cetatestsysteme.de> Date: Tue, 30 Mar 1999 14:36:48 +0200 From: janas X-Mailer: Mozilla 4.05 [de]C-NECCK (Win95; I) MIME-Version: 1.0 To: AIC7xxx@FreeBSD.ORG Subject: AIC7890 - compilation error in AIC7xxx.c Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried to compile a new kernel that supports the SCSI controller AIC 7890 ( the controller is part of my new ASUS P2B motherboard ) My kernel version is 2.0.35 and came with a SuSE 5.3 distribution. As this kernel does not support the AIC7890 I got a boot disk from ftp://ftp.dialnet.net/pub/linux/aic7xxx. This boot disk works very good so far. My next task was to compile a kernel with internal support for the 7890. I got the file 'aic7xxx-5.1.0-2.0.35.patch' and patched my clean source with it. During compilation i got the following error messages : make[3]: Entering directory `/usr/src/linux-2.0.35.SuSE/drivers/scsi' gcc -D__KERNEL__ -I/usr/src/linux-2.0.35.SuSE/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o aic7xxx.o aic7xxx.c aic7xxx.c: In function `aic7xxx_loadseq': aic7xxx.c:1963: structure has no member named `type' aic7xxx.c:1965: `ULTRA' undeclared (first use this function) aic7xxx.c:1965: (Each undeclared identifier is reported only once aic7xxx.c:1965: for each function it appears in.) aic7xxx.c:1970: structure has no member named `type' aic7xxx.c:1972: `TWIN_CHANNEL' undeclared (first use this function) aic7xxx.c:1977: structure has no member named `type' aic7xxx.c:1979: `WIDE' undeclared (first use this function) aic7xxx.c:1988: `SCB_PAGING' undeclared (first use this function) aic7xxx.c:2012: warning: implicit declaration of function `aic7xxx_next_patch' aic7xxx.c:2012: warning: assignment makes pointer from integer without a cast aic7xxx.c:2013: structure has no member named `end' aic7xxx.c:2018: warning: passing arg 3 of `aic7xxx_download_instr' makes pointer from integer without a cast make[3]: *** [aic7xxx.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.0.35.SuSE/drivers/scsi' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.0.35.SuSE/drivers/scsi' make[1]: *** [sub_dirs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.0.35.SuSE/drivers' make: *** [linuxsubdirs] Error 2 Does anyone know how to solve this problem ? My system : -ASUS P2B S witch onboard U2W- SCSI controller AIC 7890 -Pentium II 350 MHZ / 128 MB RAM -ATI 3D AGP 4MB -2 IBM 9 GB U2-SCSI disks -Pionier 36x SCSI CD Rom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message