QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 574|回复: 10

请大家帮忙看看错误信息,谢谢了!

[复制链接]
发表于 2003-11-17 01:04:23 | 显示全部楼层 |阅读模式
我的MODEM芯片是MD5628D-L-A,根据公社里的《成功驱动网达IDVM-CD56内猫(5628芯片)》,我在公社下载了Intel-v92ham-453.tgz,(会不会错了?文章里提到的是Intel-v92ham-451.tgz),试着装了一下,make clean,make ham,make install,但是却有下面的出错信息,请问这是怎么回事?
===============================
[root@localhost Intel-v92ham-453]# make clean
cd coredrv; make clean
make[1]: Entering directory `/tmp/Intel-v92ham-453/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/tmp/Intel-v92ham-453/coredrv'
cd serialdrv;  make clean
make[1]: Entering directory `/tmp/Intel-v92ham-453/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/tmp/Intel-v92ham-453/serialdrv'
rm -f *.o
rm -f *.o
=====================================
[root@localhost Intel-v92ham-453]# make ham
   Module precompile check
   Current running kernel is: 2.4.18-14
   /lib/modules...   autoconf.h does not exist
   please install kernel source
make: *** [check] Error 1
======================================
[root@localhost Intel-v92ham-453]# make install
bash haminst
running kernel 2.4.18-14
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

这是readme的一部分,麻烦看一下:
8. Compile issues
   a. this driver will now compile with the this path:
   /lib/modules/<kernel version>/build/include
   the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h
   over to the kernel build path.  I have the makefile do this
   if this file exists.  You must install the kernel source
   code anyways.  It should be on your distribution's CD.
发表于 2003-11-17 01:10:02 | 显示全部楼层
"please install kernel source" :-)
回复

使用道具 举报

 楼主| 发表于 2003-11-17 01:30:52 | 显示全部楼层
[quote:1bbf2dec18="Bluedata"]"please install kernel source" :-)[/quote]

怎样INSTALL?我是比较菜
回复

使用道具 举报

发表于 2003-11-17 01:34:16 | 显示全部楼层
要你安装 kernel 原代码吗?
少一个autoconf.h 文件
回复

使用道具 举报

 楼主| 发表于 2003-11-17 15:40:03 | 显示全部楼层
up
回复

使用道具 举报

发表于 2003-11-17 17:34:51 | 显示全部楼层
还没有解决吗?
回复

使用道具 举报

 楼主| 发表于 2003-11-17 19:56:13 | 显示全部楼层
[quote:80410bc7d9="Ivn"]还没有解决吗?[/quote]
是呀,你能说详细点吗?
回复

使用道具 举报

发表于 2003-11-18 04:28:27 | 显示全部楼层
安装了 内核原代码了吗?
rpm -ivh kernel-*-.rpm
回复

使用道具 举报

发表于 2003-11-18 04:30:59 | 显示全部楼层
这是readme的一部分,麻烦看一下:
8. Compile issues
a. this driver will now compile with the this path:
/lib/modules/<kernel version>/build/include
the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h
over to the kernel build path. I have the makefile do this
if this file exists. You must install the kernel source
code anyways. It should be on your distribution's CD.


要有安装光盘的话,就从光盘上安装。否则就从网上下。
rpm -ivh kernel-*-source.rpm
回复

使用道具 举报

发表于 2003-11-18 10:44:40 | 显示全部楼层
大家安装软件就应该先看相关文档,这样还能提高英语水平.


这个问题已经被Ivn说的很清楚!差一个autoconf.h的文件.
回复

使用道具 举报

 楼主| 发表于 2003-11-19 00:09:08 | 显示全部楼层
[quote:d759fa4cb2="Ivn"]这是readme的一部分,麻烦看一下:
8. Compile issues
a. this driver will now compile with the this path:
/lib/modules/<kernel version>/build/include
the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h
over to the kernel build path. I have the makefile do this
if this file exists. You must install the kernel source
code anyways. It should be on your distribution's CD.


要有安装光盘的话,就从光盘上安装。否则就从网上下。
rpm -ivh kernel-*-source.rpm[/quote]

成功了,非常感谢!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-30 19:30 , Processed in 0.104528 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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