linux驱动系统移植

编程入门 行业动态 更新时间:2024-10-24 18:24:28

linux驱动<a href=https://www.elefans.com/category/jswz/34/1770742.html style=系统移植"/>

linux驱动系统移植

环境

开发板: imx6ull pro
Ubuntu: ubuntu2022 64位 (在比较新的版本的ubuntu才会出现这个错误)
交叉工具链: arm-linux-gnueabihf-gcc gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)
linux版本 : Linux4.9.88

/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc’; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here

重复定义的yylloc

进入scripts/dtc/dtc-lexer.lex.c
搜索 yylloc变量的定义

640 YYLTYPE yylloc;

修改为

640 extern YYLTYPE yylloc;

/bin/sh: 1: lzop: not found

sudo apt install lzop

更多推荐

linux驱动系统移植

本文发布于:2024-02-26 13:20:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1702626.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:系统   linux

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!