|
|
我在Red Hat Enterprise Linux WS release 3 (Taroon Update 3)下安装iscsi-target,一切按照REDME文件说明来,我最后如下操作:
[root@dky009 linux-iscsi-target-20040116]# make
set $KERNELSRC!
[root@dky009 linux-iscsi-target-20040116]# export KERNELSRC=/usr/src/linux-2.4.21-20.EL/
[root@dky009 linux-iscsi-target-20040116]# make
最后出错,最后是如下信息:
In file included from target.c:13:
target_device.h:52: warning: static declaration for `page_waitqueue' follows non-static
target.c: In function `target_get_write_pages':
target.c:367: `PG_async' undeclared (first use in this function)
target.c:367: (Each undeclared identifier is reported only once
target.c:367: for each function it appears in.)
target.c: In function `target_sync_async_pages':
target.c:582: `PG_async' undeclared (first use in this function)
target.c: In function `target_copy_async_page':
target.c:662: `PG_async' undeclared (first use in this function)
make[2]: *** [target.o] Error 1
make[2]: Leaving directory `/home/pf/iscsi/linux-iscsi-target-20040116/kernel'
make[1]: *** [_mod_/home/pf/iscsi/linux-iscsi-target-20040116/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-20.EL'
make: *** [mods] Error 2
请问这是什么问题。
另有那位高手在linux下成功的配置了iscsi啊,请指教,万分感谢!! |
|