Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 14:36:48 +0200
From:      janas <janas@cetatestsysteme.de>
To:        AIC7xxx@FreeBSD.ORG
Subject:   AIC7890 - compilation error in AIC7xxx.c
Message-ID:  <3700C560.EC1B4003@cetatestsysteme.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3700C560.EC1B4003>