
/root/iscsitarget-0.4.13/kernel/event.c: In function `notify': /root/iscsitarget-0.4.13/kernel/event.c:74: error: too many arguments to function `__nlmsg_put' /root/iscsitarget-0.4.13/kernel/event.c: In function `event_init': /root/iscsitarget-0.4.13/kernel/event.c:98: warning: passing arg 2 of `netlink_kernel_create' makes pointer from integer without a cast /root/iscsitarget-0.4.13/kernel/event....
by easehu - 服务器架设 - 2006-04-23 23:49:04 阅读(907) 回复(1)
早些时候实施完huawei-3com的ix1000后,其实就是suse+iscsi targe linux上早有了:) 没事做一下,给大家个思路 相关软件名iSCSI的initiator Initiator-2.01-QFE-908935-x86fre.zip(for win) linux-iscsi-4.0.2.tgz iscsi target iscsitarget*.tar.gz you need kernel 2.6.14 or newer 实现只要小心配置就没问题 /etc/ietd.conf eg. Target iqn.2009-08.local.fog:storage.lvm # Users, w...
在一台rhel4.5上安装了iscsitarget-0.4.5,配置完之后,不设置chap认证,客户端可以正常使用发现target并能正常使用 但是一设认证,怎么就是通不过,查了很多文档,就是那样设置的啊,但是我这就是不能通过,我把配置贴出来,大家帮忙分析一下吧: 服务器端配置: [code] cat /etc/iet.conf IncomingUser joe secret OutgoingUser jack 12charsecret Target iqn.2009-09.eis.local:storage.cvsdata.200G.lun0 Lun 0 Path=/dev/...
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212692784 (LWP 489] mysql_num_rows (res=0x0) at client.c:2798 2798 client.c: 没有那个文件或目录. in client.c Current language: auto; currently c 我在用c++语言连接数据库的时候, 程序运行会出现"段错误", 用gdb调试会出现上面的错误? 困扰我好久了, 编译命令:g++ -I/usr/include/mysql -L/usr/lib -lmysqlclient ...
我们有一套 RH 2.4.0-8 内核的linux系统,在连接一个动态库时总是提示如下信息: g++: installation problem, cannot exec `cc1plus': 没有那个文件或目录 g++: installation problem, cannot exec `cc1plus': 没有那个文件或目录 g++: installation problem, cannot exec `cc1plus': 没有那个文件或目录 g++: installation problem, cannot exec `cc1plus': 没有那个文件或目录 g++: installation problem, cannot exec `cc1plus...
我要调用pthread_barrier_t 相关的函数。发现在头文件中它们用#ifdef __USE_XOPEN2K 包含,我在编译选项中加-D__USE_XOPEN2K还是没用。怎么办呢?谢谢各位了!
我有个代码需要跨平台跑,在freeBSD或linux下。因此想到用 #ifdef __linux__ //do things in linux #else // do things in freeBSD #endif 的方式来实现。我记得GCC会根据当前操作系统来判断编译哪个部分的代码的。 但是现实中似乎总是编译了freeBSD的部分。难道是__linux__不存在吗? 或者还有其他的解决办法?:wink: