恩培-计算机视觉

 找回密码
 立即注册
搜索
查看: 236|回复: 0

香橙派(如rk3588)安装PCAN驱动提示没有内核头文件

[复制链接]

202

主题

114

回帖

4847

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4847
发表于 2025-4-24 11:14:11 | 显示全部楼层 |阅读模式

安装pcan驱动的时候可能会:

Makefile:131: *** "Unable to automatically find the Kernel headers. These are mandatory to build the pcan driver. Please set the KERNEL_LOCATION variable to the root directory of your own built Kernel.". Stop. make[1]: Leaving directory

这个报错信息说明你的系统在编译 pcan 驱动时找不到内核头文件(kernel headers),也就是内核的开发文件,必须要有它们才能编译内核模块:

原链接:http://www.orangepi.cn/orangepiwiki/index.php/Orange_Pi_Zero_2W

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

恩培-计算机视觉

GMT+8, 2025-5-22 23:44 , Processed in 0.128040 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表