透明水晶 2023-07-05 16:16 采纳率: 96.8%
浏览 16
已结题

linux内核编译出错误-20230705-01

linux内核编译出错误-20230705-01


make[2]: Leaving directory '/home/fly/nvt/$(PRJ)/na51023_bsp_20190819_linux/linux-kernel/OUTPUT'
Makefile:148: recipe for target 'sub-make' failed
make[1]: Leaving directory '/home/fly/nvt/$(PRJ)/na51023_bsp_20190819_linux/linux-kernel'
make[1]: *** [sub-make] Error 2
linux: Build finish
In file included from ../arch/mips/nvt-boards/na51023/nvt-info.c:22:0:
include/generated/nvtversion.h:1:1: error: expected identifier or '(' before '-' token
 -e #define NVT_UTS_RELEASE  "4.1.0_34be8ae"
 ^
include/generated/nvtversion.h:1:4: error: stray '#' in program
 -e #define NVT_UTS_RELEASE  "4.1.0_34be8ae"
    ^
../arch/mips/nvt-boards/na51023/nvt-info.c: In function 'nvt_version_show':
../arch/mips/nvt-boards/na51023/nvt-info.c:299:34: error: 'NVT_UTS_RELEASE' undeclared (first use in this function)
  seq_printf(m, "Version: %s \n", NVT_UTS_RELEASE);
                                  ^
../arch/mips/nvt-boards/na51023/nvt-info.c:299:34: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [arch/mips/nvt-boards/na51023/nvt-info.o] Error 1
make[3]: *** [arch/mips/nvt-boards/na51023] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [arch/mips] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
Makefile:120: recipe for target 'linux' failed
make: *** [linux] Error 2

img

  • 写回答

2条回答 默认 最新

查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 7月15日
  • 已采纳回答 7月7日
  • 创建了问题 7月5日

悬赏问题

  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)