主题 : 请问下下面这个是什么情况啊 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 90379
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2013-04-16
最后登录: 2013-04-17
楼主  发表于: 2013-04-17 09:53

 请问下下面这个是什么情况啊

root@lixiaofei-System-Product-Name:/home/lixiaofei/Downloads/dnw/2440_USB/dnw_linux/secbulk# make -C /lib/modules/$(uname -r)/build M=$pwd modules
make: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
make[1]: *** No rule to make target `/usr/src/linux-headers-3.5.0-17-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/asm/unistd_32.h'.  Stop.
make: *** [archheaders] Error 2
make: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
root@lixiaofei-System-Product-Name:/home/lixiaofei/Downloads/dnw/2440_USB/dnw_linux/secbulk#
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-04-17 12:33
看起来是编译内核模块需要的文件"syscall_32.tbl"在/usr/src/linux-headers-3.5.0-17-generic/下找不到。也许你需要下载完整的内核源代码。下载的方式取决于你PC上用的Linux发行版。
另外,secbulk方式dnw已经没人维护了,论坛上有人做了改进,参考http://www.aiothome.net/read.php?tid-1502.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."