AIC7XXX_OLD compile error.

war (war@starband.net)
Tue, 09 Oct 2001 22:47:04 -0400


By just commenting it out, SCSI has about 40 nice errors upon startup.

The error is again posted below the differences of 2.4.7 and 2.4.11

In 2.4.7:

11964
11965 /* Eventually this will go into an include file, but this will
be later
*/
11966 static Scsi_Host_Template driver_template = AIC7XXX;
11967
11968 #include "scsi_module.c"
11969
11970 /*

In 2.4.11:

11964 #include "aic7xxx_old/aic7xxx_proc.c"
11965
11966 MODULE_LICENSE("Dual BSD/GPL");
11967
11968
11969 /* Eventually this will go into an include file, but this will
be later
*/
11970 static Scsi_Host_Template driver_template = AIC7XXX;
11971
11972 #include "scsi_module.c"
11973

make[3]: Entering directory `/usr/src/linux-2.4.11/drivers/scsi'
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o
scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o
scsi_lib.o scsi_merge.o scsi_dma.o scsi_scan.o scsi_syms.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.11/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o aic7xxx_old.o aic7xxx_old.c
aic7xxx_old.c:11966: parse error before string constant
aic7xxx_old.c:11966: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
aic7xxx_old.c:11966: warning: function declaration isn't a prototype
aic7xxx_old.c:11966: warning: data definition has no type or storage
class
make[3]: *** [aic7xxx_old.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.11/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.11/drivers'
make: *** [_dir_drivers] Error 2
[root@war linux]#

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/