Re: Compilation problem (bug?)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 26 Mar 1999 18:04:54 +0000 (GMT)


> This symbol doesn't seem to exist anywhere else in the sources, except the
> two offending places according to the compiler. At
> linux/include/scsi/scsi.h, there is a list of device types:
>
> #define TYPE_DISK 0x00
> #define TYPE_TAPE 0x01
> #define TYPE_PROCESSOR 0x03 /* HP scanners use this */
> #define TYPE_WORM 0x04 /* Treated as ROM by our system */
> #define TYPE_ROM 0x05
> #define TYPE_SCANNER 0x06
> #define TYPE_MOD 0x07 /* Magneto-optical disk -
> * - treated as TYPE_DISK */
> #define TYPE_MEDIUM_CHANGER 0x08
> #define TYPE_NO_LUN 0x7f
>
> but this list does not include TYPE_ENCLOSURE, I guess that's where it
> should be defined.

It does on the correct copy of the kernel. Make sure your kernel tree is
not corrupt

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