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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值