[ewg] Re: cannot install SCST with SRP support

Erez Zilber erezz at Voltaire.COM
Sun Mar 9 08:18:46 PDT 2008


Vu,

We were able to build and run SCST on SLES 10. Now, when I try to build
it for 2.6.24, I get errors:

onion:/home/erezz/work/tmp/scst-srpt/scst # patch -p0 <
../srpt_inc/scst_r245.patch
patching file include/scsi_tgt.h
patching file src/scst_targ.c
onion:/home/erezz/work/tmp/scst-srpt/scst # make
cd src && make all
make[1]: Entering directory `/home/erezz/work/tmp/scst-srpt/scst/src'
make -C /lib/modules/2.6.24-smp/build
SUBDIRS=/home/erezz/work/tmp/scst-srpt/scst/src BUILD_DEV=m
make[2]: Entering directory `/usr/src/linux-2.6.24'
LD /home/erezz/work/tmp/scst-srpt/scst/src/built-in.o
CC [M] /home/erezz/work/tmp/scst-srpt/scst/src/scst_main.o
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c:50:2: warning:
#warning Patch scst_exec_req_fifo-<kernel-version>.patch was not applied
on your kernel and STRICT_SERIALIZING isn't defined. Pass-through dev
handlers will not be supported.
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c: In function
‘exit_scst’:
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c:1622: error:
implicit declaration of function ‘DECLARE_MUTEX_LOCKED’
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c:1622: error: ‘shm’
undeclared (first use in this function)
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c:1622: error: (Each
undeclared identifier is reported only once
/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.c:1622: error: for
each function it appears in.)
make[3]: *** [/home/erezz/work/tmp/scst-srpt/scst/src/scst_main.o] Error 1
make[2]: *** [_module_/home/erezz/work/tmp/scst-srpt/scst/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.24'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/erezz/work/tmp/scst-srpt/scst/src'
make: *** [all] Error 2

What is the problem here?

Thanks,
Erez



More information about the ewg mailing list