[ewg] Re: cannot install SCST with SRP support
Vu Pham
vuhuong at mellanox.com
Sun Mar 9 19:58:11 PDT 2008
Hi Erez,
SCST revision 245 does not work with 2.6.24 (it only
supports up to 2.6.23). You need latest revision; however,
you may have problem to compile srpt with latest scst revision
-vu
> 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