没有规则可以创建目标 `arch/x86/entry/syscalls/syscall_32.tbl',需要 `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h' [英] No rule to make target `arch/x86/entry/syscalls/syscall_32.tbl', needed by `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'

查看:262
本文介绍了没有规则可以创建目标 `arch/x86/entry/syscalls/syscall_32.tbl',需要 `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Ubuntu 机器中启用 PPP 时,在 menuconfig 并尝试制作内核后发生以下错误:

$ sudo make

<块引用>

make[1]: *** 没有规则可以生成目标 `arch/x86/entry/syscalls/syscall_32.tbl',需要 `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'.停止.

make: *** [archheaders] 错误 2

使用的是 Ubuntu 版本 linux-headers-4.2.0-27-generic.

请帮我修复它.

解决方案

这可能是使用 $(PWD) 时的语法错误.考虑改变这个:

全部:$(MAKE) -C $(KDIR) M=$(PWD) 模块

为此:

全部:$(MAKE) -C $(KDIR) M=$(shell pwd) 模块

这解决了我的问题.

When I tried to enable PPP in the Ubuntu machine the following error occurred after menuconfig and trying to make the kernel:

$ sudo make

make[1]: *** No rule to make target `arch/x86/entry/syscalls/syscall_32.tbl', needed by `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'. Stop.

make: *** [archheaders] Error 2

Ubuntu version linux-headers-4.2.0-27-generic was used.

Please help me to fix it.

解决方案

This could be a syntax error when using $(PWD). Consider changing this:

all: 
    $(MAKE) -C $(KDIR) M=$(PWD) modules

to this:

all: 
    $(MAKE) -C $(KDIR) M=$(shell pwd) modules

This solved my problem.

这篇关于没有规则可以创建目标 `arch/x86/entry/syscalls/syscall_32.tbl',需要 `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆