您尚未登录。

楼主 #1 2021-03-03 08:23:09

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

v3s make uImage 报错recipe for target '.tmp_vmlinux1' failed,请问大家这个如何解决?

LD      .tmp_vmlinux1
sound/built-in.o: In function `gpio_switch_probe':
last.c:(.text+0x31084): undefined reference to `switch_dev_register'
last.c:(.text+0x311d4): undefined reference to `switch_dev_unregister'
last.c:(.text+0x311f0): undefined reference to `switch_dev_unregister'
sound/built-in.o: In function `earphone_switch_work':
last.c:(.text+0x31b84): undefined reference to `switch_set_state'
sound/built-in.o: In function `gpio_switch_remove':
last.c:(.devexit.text+0x78): undefined reference to `switch_dev_unregister'
Makefile:873: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1

离线

#2 2021-03-03 08:25:06

raspberryman
会员
注册时间: 2019-12-27
已发帖子: 503
积分: 465

Re: v3s make uImage 报错recipe for target '.tmp_vmlinux1' failed,请问大家这个如何解决?

搜索一下看switch_dev_register这个函数在哪个文件实现了,然后开启那个编译开关

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn