Skip to contentSkip to conversation

aic7xxx in 2.4.20 won't compile

DISCUSSION chris horn. 2 participants 2 messages Jun 3, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

KEYWORDS: aic7xxx scsi driver

/proc/version:
Linux version 2.4.20 (root@snozberry) (gcc version 3.2.2 20030124 (Debian prerelease)) #1 SMP Thu Feb 6 19:01:57 EST 2003

# cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DNES-309170W     Rev: SA30
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-R820T  Rev: 1.03
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-40TS   Rev: 1.13
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 10 Lun: 00
  Vendor: QUANTUM  Model: ATLAS10K3_18_WLS Rev: 020W
  Type:   Direct-Access                    ANSI SCSI revision: 03

Here is the interesting looking output of the compile error. It is strange that I am now receiving this error, as I did not receive it before attempting to add the USB serial converter module.

make[3]: Entering directory `/usr/src/linux-2.4.20/drivers/scsi' /usr/bin/make -C aic7xxx

make[4]: Entering directory `/usr/src/linux-2.4.20/drivers/scsi/aic7xxx' /usr/bin/make all_targets

make[5]: Entering directory `/usr/src/linux-2.4.20/drivers/scsi/aic7xxx'

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=aic7xxx_osm -c -o aic7xxx_osm.o aic7xxx_osm.c

gcc -D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=tcp_minisocks -c -o tcp_minisocks.o tcp_minisocks.c

aic7xxx_osm.c:420:27: missing terminating " character aic7xxx_osm.c:439:1: missing terminating " character aic7xxx_osm.c: In function `ahc_linux_map_seg':
aic7xxx_osm.c:683: warning: integer constant is too large for "long" type

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=array -c
-o array.o array.c

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=kmsg -c
-o kmsg.o kmsg.c

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=tcp_diag -c -o tcp_diag.o tcp_diag.c

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=proc_tty
-c -o proc_tty.o proc_tty.c

gcc -D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=proc_misc -c -o proc_misc.o proc_misc.c

make[5]: *** [aic7xxx_osm.o] Error 1 make[5]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi/aic7xxx'

#1 lore raw
Quoted 5 lines

KEYWORDS: aic7xxx scsi driver

/proc/version:
Linux version 2.4.20 (root@snozberry) (gcc version 3.2.2 20030124 (Debian prerelease)) #1 SMP Thu Feb 6 19:01:57 EST 2003

These have been fixed in more recent versions of the driver.

http://people.FreeBSD.org/~gibbs/linux/SRC/

--
Justin