LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1319|回复: 4

请管理员帮忙

[复制链接]
发表于 2002-8-22 10:52:20 | 显示全部楼层 |阅读模式
我的Modem是
Ambient
MD5628D-L-B
W144QAJ1-1202AA
0144  A
我看了论谈上的想关文章,我的RedHatLinux7.3是服务器级的完全安装可是仍出错:
[root@localhost Intel-v92ham-448-r72]# make clean

cd coredrv; make clean
make[1]: Entering directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/serialdrv'
rm -f *.o
rm -f *.o

[root@localhost Intel-v92ham-448-r72]# make ham
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"STN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from coredrv.c:34:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from coredrv.c:34:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from /usr/include/linux/module.h:20,
from coredrv.c:37:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/mnt/g/linux/linux/linux/Intel-v92ham-448-r72/coredrv'
make: *** [ham] Error 2

[root@localhost Intel-v92ham-448-r72]# make install
bash haminst
running kernel 2.4.18-3
installing hamregistry, used for persistant storage
installing ham module
install: cannot stat `ham.o': No such file or directory
installing hamcore module
install: cannot stat `hamcore.o': No such file or directory
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
error loading hamcore
done

我是哪错了请您指教。
发表于 2002-8-22 14:04:57 | 显示全部楼层
编译前配置过了吗?
./configure
这个modem的驱动我没有安装过。。
建议兄弟多看看里面的readme
发表于 2002-8-22 14:57:18 | 显示全部楼层
要把kernel source 安装上。系统少东西

下次发帖时,请兄弟把标题明确一点。什么问题就是什么问题。
请看我的缄名。
多谢。。。
 楼主| 发表于 2002-8-22 19:46:39 | 显示全部楼层

我用的是完全安装?

我用的是完全安装,kernel source 是什么?
发表于 2002-8-22 20:15:48 | 显示全部楼层
kernel-source-2.4.18-3.i386.rpm
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表