2.6.22内核下shfs模块编译不成功
时间:2007-07-26
来源:互联网
2.6.22的内核编译shfs模块没有成功,哪位成功了?headers都已经安装,用module-assistant编译
debian-testing
gcc 4.1.3
log文件如下:
dh_clean
make -C Linux-2.6 clean
make[1]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
rm -rf linux-2.6.22-1-686 linux-2.6.22-1-686.orig;
rm -f linux-2.6.22-1-686.diff
rm -f *.o *.ko *.mod.c .*o.cmd
make[1]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/shfs'
dh_clean
make -C Linux-2.6 clean
make[2]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
rm -rf linux-2.6.22-1-686 linux-2.6.22-1-686.orig;
rm -f linux-2.6.22-1-686.diff
rm -f *.o *.ko *.mod.c .*o.cmd
make[2]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
for templ in /usr/src/modules/shfs/debian/shfs-module-_KVERS_.postinst /usr/src/modules/shfs/debian/shfs-module-_KVERS_.postinst.backup /usr/src/modules/shf
s/debian/shfs-module-_KVERS_.postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.22-1-686/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.22-1-686/g ;s/#KVERS#/2.6.22-1-686/g ; s/_KVERS_/2.6.22-1-686/g ; s/##KDREV##/2.6.22-2/g ; s/#KDREV#/2.6.22-2/g ; s/_KDREV_/2.6.
22-2/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
env MODVERSIONS=detect make -C Linux-2.6 KERNEL_SOURCES=/lib/modules/2.6.22-1-686/build KERNEL=linux-2.6.22-1-686
make[2]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
make -C /lib/modules/2.6.22-1-686/build SUBDIRS=/usr/src/modules/shfs/Linux-2.6 modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-1-686'
CC [M] /usr/src/modules/shfs/Linux-2.6/dcache.o
In file included from /usr/src/modules/shfs/Linux-2.6/dcache.c:24:
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:76: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:77: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:78: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:79: warning: ‘kmem_cache_t’ is deprecated
In file included from /usr/src/modules/shfs/Linux-2.6/dcache.c:26:
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:22: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:35: warning: ‘kmem_cache_t’ is deprecated
CC [M] /usr/src/modules/shfs/Linux-2.6/dir.o
In file included from /usr/src/modules/shfs/Linux-2.6/dir.c:17:
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:76: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:77: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:78: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:79: warning: ‘kmem_cache_t’ is deprecated
In file included from /usr/src/modules/shfs/Linux-2.6/dir.c:19:
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:22: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:35: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/dir.c: In function ‘shfs_create’:
/usr/src/modules/shfs/Linux-2.6/dir.c:305: error: ‘struct inode’ has no member named ‘u’
/usr/src/modules/shfs/Linux-2.6/dir.c:306: error: ‘struct inode’ has no member named ‘u’
make[4]: *** [/usr/src/modules/shfs/Linux-2.6/dir.o] 错误 1
make[3]: *** [_module_/usr/src/modules/shfs/Linux-2.6] 错误 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-1-686'
make[2]: *** [default] 错误 2
make[2]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
make[1]: *** [binary-modules] 错误 2
make[1]: Leaving directory `/usr/src/modules/shfs'
make: *** [kdist_build] 错误 2
debian-testing
gcc 4.1.3
log文件如下:
dh_clean
make -C Linux-2.6 clean
make[1]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
rm -rf linux-2.6.22-1-686 linux-2.6.22-1-686.orig;
rm -f linux-2.6.22-1-686.diff
rm -f *.o *.ko *.mod.c .*o.cmd
make[1]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/shfs'
dh_clean
make -C Linux-2.6 clean
make[2]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
rm -rf linux-2.6.22-1-686 linux-2.6.22-1-686.orig;
rm -f linux-2.6.22-1-686.diff
rm -f *.o *.ko *.mod.c .*o.cmd
make[2]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
for templ in /usr/src/modules/shfs/debian/shfs-module-_KVERS_.postinst /usr/src/modules/shfs/debian/shfs-module-_KVERS_.postinst.backup /usr/src/modules/shf
s/debian/shfs-module-_KVERS_.postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.22-1-686/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.22-1-686/g ;s/#KVERS#/2.6.22-1-686/g ; s/_KVERS_/2.6.22-1-686/g ; s/##KDREV##/2.6.22-2/g ; s/#KDREV#/2.6.22-2/g ; s/_KDREV_/2.6.
22-2/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
env MODVERSIONS=detect make -C Linux-2.6 KERNEL_SOURCES=/lib/modules/2.6.22-1-686/build KERNEL=linux-2.6.22-1-686
make[2]: Entering directory `/usr/src/modules/shfs/Linux-2.6'
make -C /lib/modules/2.6.22-1-686/build SUBDIRS=/usr/src/modules/shfs/Linux-2.6 modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-1-686'
CC [M] /usr/src/modules/shfs/Linux-2.6/dcache.o
In file included from /usr/src/modules/shfs/Linux-2.6/dcache.c:24:
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:76: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:77: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:78: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:79: warning: ‘kmem_cache_t’ is deprecated
In file included from /usr/src/modules/shfs/Linux-2.6/dcache.c:26:
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:22: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:35: warning: ‘kmem_cache_t’ is deprecated
CC [M] /usr/src/modules/shfs/Linux-2.6/dir.o
In file included from /usr/src/modules/shfs/Linux-2.6/dir.c:17:
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:76: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:77: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:78: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_fs.h:79: warning: ‘kmem_cache_t’ is deprecated
In file included from /usr/src/modules/shfs/Linux-2.6/dir.c:19:
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:22: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/shfs_debug.h:35: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/shfs/Linux-2.6/dir.c: In function ‘shfs_create’:
/usr/src/modules/shfs/Linux-2.6/dir.c:305: error: ‘struct inode’ has no member named ‘u’
/usr/src/modules/shfs/Linux-2.6/dir.c:306: error: ‘struct inode’ has no member named ‘u’
make[4]: *** [/usr/src/modules/shfs/Linux-2.6/dir.o] 错误 1
make[3]: *** [_module_/usr/src/modules/shfs/Linux-2.6] 错误 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-1-686'
make[2]: *** [default] 错误 2
make[2]: Leaving directory `/usr/src/modules/shfs/Linux-2.6'
make[1]: *** [binary-modules] 错误 2
make[1]: Leaving directory `/usr/src/modules/shfs'
make: *** [kdist_build] 错误 2
作者: favoyun 发布时间: 2007-07-26
可能是你的shfs模块与2。6。22的内核不配套,从源里下的shfs的deb包,应该只适合2.6.18的内核。
作者: yunlinux 发布时间: 2007-07-27
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28