- 编译u-boot时报错

- 百度后知,由于openssl api更新,要到github上下载补丁。链接地址
- 补丁下载后,找到rsa-sign.c文件,对其进行打补丁。
patch rsa-sign.c ./../../tools/210-openssl-1.1.x-compat.patch。注意每个人补丁放置的位置可能不同。下图是我的位置。

- 打完补丁后,编译通过

debug u-boot编译报错./tools/../lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete
最新推荐文章于 2025-04-26 17:25:54 发布
本文介绍了解决在编译U-Boot过程中遇到的opensslAPI更新导致的错误的方法。作者建议从GitHub下载特定补丁,并针对rsa-sign.c文件进行打补丁操作,以确保编译过程顺利。
936

被折叠的 条评论
为什么被折叠?



