到目前为止,我已成功下载了标头,并更新了系统,安装了 ndiswrapper。但是当我进入 checkinstall 时,我得到了以下信息:
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ icon@tron ]
1 - Summary: [ ndiswrapper ]
2 - Name: [ ndiswrapper ]
3 - Version: [ 1.59 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ ndiswrapper-1.59 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ ndiswrapper ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
make: Warning: File `Makefile' has modification time 3.8e+08 s in the future
make -C driver install
make[1]: Entering directory `/home/icon/Desktop/ndiswrapper-1.59/driver'
make[1]: Warning: File `/usr/src/linux-headers-3.16.0-33-generic/.config' has modification time 4.2e+08 s in the future
make modules
make[2]: Entering directory `/home/icon/Desktop/ndiswrapper-1.59/driver'
make[2]: Warning: File `/usr/src/linux-headers-3.16.0-33-generic/.config' has modification time 4.2e+08 s in the future
make -C /usr/src/linux-headers-3.16.0-33-generic M=/home/icon/Desktop/ndiswrapper-1.59/driver
make[3]: Entering directory `/usr/src/linux-headers-3.16.0-33-generic'
make[3]: Warning: File `scripts/Makefile.extrawarn' has modification time 4e+08 s in the future
make[4]: Warning: File `scripts/Makefile.lib' has modification time 4e+08 s in the future
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/crt_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/hal_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/ndis_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/ntoskernel_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/ntoskernel_io_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/rtl_exports.h
MKEXPORT /home/icon/Desktop/ndiswrapper-1.59/driver/usb_exports.h
MKSTUBS /home/icon/Desktop/ndiswrapper-1.59/driver/win2lin_stubs.h
CC [M] /home/icon/Desktop/ndiswrapper-1.59/driver/crt.o
/home/icon/Desktop/ndiswrapper-1.59/driver/crt.c: In function ‘_win_srand’:
/home/icon/Desktop/ndiswrapper-1.59/driver/crt.c:470:2: error: implicit declaration of function ‘net_srandom’ [-Werror=implicit-function-declaration]
net_srandom(seed);
^
cc1: some warnings being treated as errors
make[4]: *** [/home/icon/Desktop/ndiswrapper-1.59/driver/crt.o] Error 1
make[3]: *** [_module_/home/icon/Desktop/ndiswrapper-1.59/driver] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.16.0-33-generic'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/icon/Desktop/ndiswrapper-1.59/driver'
make[1]: *** [ndiswrapper.ko] Error 2
make[1]: Leaving directory `/home/icon/Desktop/ndiswrapper-1.59/driver'
make: *** [install] Error 2
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup... FAILED!
Cleaning up...OK
Bye.
icon@tron:~/Desktop/ndiswrapper-1.59$
任何帮助都将不胜感激
答案1
我建议你将这些软件包下载到你的桌面。确保获取适合你的体系结构的软件包;32 位或 64 位。
http://packages.ubuntu.com/utopic/ndiswrapper-utils-1.9
http://packages.ubuntu.com/utopic/ndiswrapper-common
一旦它们位于你的桌面上,请使用以下命令进行安装:
cd ~/Desktop
sudo dpkg -i ndis*.deb