no rule to make target kernel/bounds.c

环境:ubuntu9.10

 

今天在更新升级之后,无线网卡不能使用。hardware driver 也没找到,于是,重新编译驱动。

sudo make 成功

make install 失败,错误提示:no rule to make target kernel/bounds.c 。。。。。

 

经网络搜索发现原因:

参考:http://ubuntuforums.org/showthread.php?s=b45cbbed61b642f41afac67c19b1e6f4&t=1047374&page=2

 

Guys, please read the thread more carefully!

bounds.c is in the file /usr/src/linux-source-2.6.31.tar.bz2 (hint: This version number applies to 9.10) which is only there if you have the package linux-source installed AND extracted (see above on how to do this).

Furthermore you've already been given another hint: Try compiling and installing using sudo -s instead of sudo. Using sudo -s you'll become superuser aka root so you have to use this command only once:

Code:
$ sudo -s
# a_command_to_be_executed <- executed with full priviledges - please be careful!
# another_command_with_root_rights

你可能感兴趣的:(thread,c,网络,command,ubuntu,File)