编译求助 调制解调器驱动包安装编译
发表于 : 2013-03-06 20:52
今天彻底把ThinkPad X200本子的硬盘格掉了,只装Ubuntu12.04,通过网站找到了该本子型号调制解调器(熟称猫,而且是软猫)的旧版本的驱动好像支持2.6的内核的,文件名是 hsfmodem-7.68.00.14x86_64full.tar.gz,安装步骤如下:
1、正常解压、
2、cd hsfmodem-7.68.00.14x86_64full
3、sudo make install(如果没有sudo,会报没有root权限)
前面安装过程长,但没有什么报错,最后显示如下结果
To complete the installation and configuration of your modem,
please run "hsfconfig" (or "/usr/sbin/hsfconfig")
4、然后我就 sudo hsconfig (如果没有sudo,也会报没有root权限)
显示结果:
Conexant HSF softmodem driver, version 7.68.00.14x86_64full
If you need license keys, assistance or more information, please go to:
http://www.linuxant.com/
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
No pre-built modules for: Ubuntu-12.04.2 linux-3.2.0-38-generic x86_64-SMP
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/3.2.0-38-generic/build]
停在这里,然后我敲回车
显示如下:
WARNING: missing file /lib/modules/3.2.0-38-generic/build/include/linux/autoconf.h
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
However, proper /boot/config-3.2.0-38-generic was found.
Would you like to try using it (in a temporary kernel tree)? [yes]
停在这里,然后我还是敲回车
显示如下:
Unable to prepare temporary kernel tree
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
然后回到命令行提示
以上是安装过程,我想问我应该怎么办,或我应该怎么编译才能让我的 hsconfig 通过??是不是老版本驱动无法在新内核系统编译或兼容??
1、正常解压、
2、cd hsfmodem-7.68.00.14x86_64full
3、sudo make install(如果没有sudo,会报没有root权限)
前面安装过程长,但没有什么报错,最后显示如下结果
To complete the installation and configuration of your modem,
please run "hsfconfig" (or "/usr/sbin/hsfconfig")
4、然后我就 sudo hsconfig (如果没有sudo,也会报没有root权限)
显示结果:
Conexant HSF softmodem driver, version 7.68.00.14x86_64full
If you need license keys, assistance or more information, please go to:
http://www.linuxant.com/
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
No pre-built modules for: Ubuntu-12.04.2 linux-3.2.0-38-generic x86_64-SMP
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/3.2.0-38-generic/build]
停在这里,然后我敲回车
显示如下:
WARNING: missing file /lib/modules/3.2.0-38-generic/build/include/linux/autoconf.h
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
However, proper /boot/config-3.2.0-38-generic was found.
Would you like to try using it (in a temporary kernel tree)? [yes]
停在这里,然后我还是敲回车
显示如下:
Unable to prepare temporary kernel tree
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
然后回到命令行提示
以上是安装过程,我想问我应该怎么办,或我应该怎么编译才能让我的 hsconfig 通过??是不是老版本驱动无法在新内核系统编译或兼容??