前几天在fedora13上安装mhvtl,报如下错误:

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module mhvtl not found.
No kernel module loaded to feed these daemons.
When i make it ,get follow errors:
[root@fedora mhvtl-0.18]# make distclean
make -C usr distclean
make[1]: Entering directory `/tools/software/mhvtl-0.18/usr'
rm -f vtltape.o vtltape \
dump_tape.o dump_tape \
q.o q \
vtlcmd.o vtlcmd \
dump_messageQ.o dump_messageQ \
core mktape mktape.o \
vtllib.o libvtlscsi.so \
vtlcart.o spc.o \
z.o z \
TAGS \
make_vtl_media \
make_vtl_media.1 \
tapeexerciser tapeexerciser.o \
vtllibrary vtllibrary.o
make[1]: Leaving directory `/tools/software/mhvtl-0.18/usr'
make -C etc distclean
make[1]: Entering directory `/tools/software/mhvtl-0.18/etc'
rm -f mhvtl
make[1]: Leaving directory `/tools/software/mhvtl-0.18/etc'
make -C scripts distclean
make[1]: Entering directory `/tools/software/mhvtl-0.18/scripts'
rm -f update_device.conf
make[1]: Leaving directory `/tools/software/mhvtl-0.18/scripts'
make -C kernel distclean
make[1]: Entering directory `/tools/software/mhvtl-0.18/kernel'
rm -f mhvtl.o mhvtl.ko \
*.o \
*.o.d \
mhvtl.mod.c \
Modules.symvers \
Module.symvers \
.mhvtl.ko.cmd \
.mhvtl.o.cmd \
.mhvtl.mod.o.cmd \
.event.o.cmd \
.event.o.d \
Module.markers \
modules.order \
TAGS
rm -rf .tmp_versions
make[1]: Leaving directory `/tools/software/mhvtl-0.18/kernel'
[root@fedora mhvtl-0.18]# cd kernel/
[root@fedora kernel]# make
make -C /lib/modules/2.6.34.7-56.fc13.x86_64/build SUBDIRS=/tools/software/mhvtl-0.18/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.34.7-56.fc13.x86_64'
CC [M] /tools/software/mhvtl-0.18/kernel/mhvtl.o
/tools/software/mhvtl-0.18/kernel/mhvtl.c:314: warning: initialization from incompatible pointer type
/tools/software/mhvtl-0.18/kernel/mhvtl.c: In function 'q_cmd':
/tools/software/mhvtl-0.18/kernel/mhvtl.c:528: error: implicit declaration of function 'kmalloc'
/tools/software/mhvtl-0.18/kernel/mhvtl.c:528: warning: assignment makes pointer from integer without a cast
/tools/software/mhvtl-0.18/kernel/mhvtl.c: In function '__remove_sqcp':
/tools/software/mhvtl-0.18/kernel/mhvtl.c:772: error: implicit declaration of function 'kfree'
/tools/software/mhvtl-0.18/kernel/mhvtl.c: In function 'vtl_add_device':
/tools/software/mhvtl-0.18/kernel/mhvtl.c:1081: warning: assignment makes pointer from integer without a cast
/tools/software/mhvtl-0.18/kernel/mhvtl.c: In function 'vtl_add_adapter':
/tools/software/mhvtl-0.18/kernel/mhvtl.c:1457: warning: assignment makes pointer from integer without a cast
make[2]: *** [/tools/software/mhvtl-0.18/kernel/mhvtl.o] Error 1
make[1]: *** [_module_/tools/software/mhvtl-0.18/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.34.7-56.fc13.x86_64'
make: *** [default] Error 2

问了下官方的人员,人家说是在kernel/mhvtl.c文件中加入如下内容即可解决:

p_w_picpath