2.1.106 aic7xxx compilation error

Eva R Hocks (hocks@rzri6h.gsi.de)
Sun, 14 Jun 1998 15:08:50 -0500 (PDT)


trying to compile kernel 2.1.106 with the aic7xxx SCSI driver but got
the following (long list) of errors. Any hints how to compile the driver
correctly ? I upgraded from 103 via patch 104-105-106.

Thanks in advance,
Eva.

gcc -D__KERNEL__ -I/usr/src/linux-2.1.106/include -Wall
-Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -c -o aic7xxx.o
aic7xxx.c
aic7xxx.c: In function `aic7xxx_setup':
aic7xxx.c:1224: `aic7xxx_no_reset' undeclared (first use this function)
aic7xxx.c:1224: (Each undeclared identifier is reported only once
aic7xxx.c:1224: for each function it appears in.)
aic7xxx.c:1224: initializer element for `options[1].flag' is not constant
aic7xxx.c: In function `aic7xxx_next_patch':
aic7xxx.c:1415: dereferencing pointer to incomplete type
aic7xxx.c:1415: dereferencing pointer to incomplete type
aic7xxx.c:1416: dereferencing pointer to incomplete type
aic7xxx.c:1416: dereferencing pointer to incomplete type
aic7xxx.c:1417: dereferencing pointer to incomplete type
aic7xxx.c:1423: increment of pointer to unknown structure
aic7xxx.c:1423: arithmetic on pointer to an incomplete type
aic7xxx.c:1424: dereferencing pointer to incomplete type
aic7xxx.c: In function `aic7xxx_download_instr':
aic7xxx.c:1476: `sequencer_patches' undeclared (first use this function)
aic7xxx.c:1479: dereferencing pointer to incomplete type
aic7xxx.c:1479: dereferencing pointer to incomplete type
aic7xxx.c:1480: dereferencing pointer to incomplete type
aic7xxx.c:1480: dereferencing pointer to incomplete type
aic7xxx.c:1482: dereferencing pointer to incomplete type
aic7xxx.c:1484: dereferencing pointer to incomplete type
aic7xxx.c:1484: dereferencing pointer to incomplete type
aic7xxx.c: In function `aic7xxx_loadseq':
aic7xxx.c:1580: `sequencer_patches' undeclared (first use this function)
aic7xxx.c:1588: dereferencing pointer to incomplete type
aic7xxx.c:1588: dereferencing pointer to incomplete type
aic7xxx.c:1526: warning: `cur_patch' might be used uninitialized in this
function
aic7xxx.c: In function `aic7xxx_delay':
aic7xxx.c:1622: warning: implicit declaration of function `mdelay'
aic7xxx.c: At top level:
aic7xxx.c:8270: redefinition of `aic7xxx_negotiation_complete'
aic7xxx.c:8216: `aic7xxx_negotiation_complete' previously defined here
aic7xxx.c:8285: redefinition of `aic7xxx_build_negotiation_cmnd'
aic7xxx.c:8231: `aic7xxx_build_negotiation_cmnd' previously defined here
aic7xxx.c: In function `aic7xxx_build_negotiation_cmnd':
aic7xxx.c:8289: structure has no member named `dev_wdtr_cmnd'
aic7xxx.c:8293: structure has no member named `dev_wdtr_cmnd'
aic7xxx.c:8297: structure has no member named `dev_wdtr_cmnd'
aic7xxx.c:8311: structure has no member named `dev_wdtr_cmnd'
aic7xxx.c:8316: structure has no member named `dev_sdtr_cmnd'
aic7xxx.c:8320: structure has no member named `dev_sdtr_cmnd'
aic7xxx.c:8324: structure has no member named `dev_sdtr_cmnd'
aic7xxx.c:8338: structure has no member named `dev_sdtr_cmnd'
{standard
input}: Assembler messages:
{standard input}:21941: Fatal error: Symbol aic7xxx_negotiation_complete
already
defined.
aic7xxx.c: In function `aic7xxx_reset':
aic7xxx.c:9404: output pipe has been closed
cpp: output pipe has been closed
gcc: Internal compiler error: program cc1 got fatal signal 13
make[3]: *** [aic7xxx.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.1.106/drivers/scsi'
make[2]: *** [first_rule] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu