Re: 2.2.10 compilation problem

Rafal Wierzbicki (rafal@mcss.cas.mcmaster.ca)
Fri, 25 Jun 1999 09:58:36 -0400 (EDT)


I get that same compilation error... Could it be that there is something
wrong with the configuration script?

On Fri, 25 Jun 1999, Jakub Jelinek wrote:

> > Hi there !
> >
> > I've got a problem compiling scsi.c in kernel 2.2.10. Here is the output:
> >
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> > -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS
> > -include /usr/src/linux/include/linux/modversions.h -c -o scsi.o scsi.c
> > scsi.c: In function `scan_scsis_single':
> > scsi.c:769: `TYPE_ENCLOSURE' undeclared (first use this function)
> > scsi.c:769: (Each undeclared identifier is reported only once
> > scsi.c:769: for each function it appears in.)
> > scsi.c: In function `resize_dma_pool':
> > scsi.c:2500: `TYPE_ENCLOSURE' undeclared (first use this function)
> > make[2]: *** [scsi.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
> > make[1]: *** [_modsubdir_scsi] Error 2
> > make[1]: Leaving directory `/usr/src/linux/drivers'
> > make: *** [_mod_drivers] Error 2
> >
> > and indeed:
> >
> > grep TYPE_ENCLOSURE /usr/src/linux/include/scsi/*
> > [nothing]
>
> You must have hosed your source tree. include/scsi/scsi.h contains
> #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
> since 2.2.4.
>
> Cheers,
> Jakub
> ___________________________________________________________________
> Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
> Administrator of SunSITE Czech Republic, MFF, Charles University
> ___________________________________________________________________
> UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
> Linux version 2.3.6 on a sparc64 machine (1343.49 BogoMips)
> ___________________________________________________________________
>
> -
> 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/
>

-
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/