Linux-kernel mailing list archive 1999-25,: 2.2.10 compilation problem

# 2.2.10 compilation problem

Thomas Speck (Thomas.Speck@univ-rennes1.fr)
Fri, 25 Jun 1999 14:19:14 +0000 ( )

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Manfred H. Winter: "compile error with 2.2.10.2-int with crypto-modules"
- Previous message: Hans Reiser: "Re: albods are not a clean set of orthogonal primitives (was Re:"
- Next in thread: David Luyer: "Re: 2.2.10 compilation problem"
- Reply: David Luyer: "Re: 2.2.10 compilation problem"

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]

grep SCSI .config | grep -v "not set"
# SCSI support
CONFIG_SCSI=m
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# SCSI low-level drivers
CONFIG_SCSI_PPA=m

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=m

Is it me doing something wrong there ?

Thanks for your answers

    --
    Thomas

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

- Next message: Manfred H. Winter: "compile error with 2.2.10.2-int with crypto-modules"
- Previous message: Hans Reiser: "Re: albods are not a clean set of orthogonal primitives (was Re:"
- Next in thread: David Luyer: "Re: 2.2.10 compilation problem"
- Reply: David Luyer: "Re: 2.2.10 compilation problem"