rk3399skd编译kernel 报错:
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
21 | #include <openssl/bio.h>
|
原因是没有安装 libssl-dev
解决方法:
sudo apt-get install libssl-dev
安装 sudo apt-get install libssl-dev 报错
libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2) but 1.1.1f-1ubuntu2.3 is to be installed
E: Unable to correct problems, you have held broken packages.
libssl-dev 依赖 libssl1.1 所以安装这个库就好了。。。。。。
解决方法:
sudo apt-get install libssl1.1=1.1.1f-1ubuntu2