orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
643 stars 273 forks source link

Cannot build single kernel image for orange-pi 5 plus #95

Closed tbago closed 8 months ago

tbago commented 12 months ago

Hi support, I have orange-pi 5 plus, and I want to compile the linux kernel. I have alreay read the guide. But when compile the kernel, I got the following error:

  LD [M]  drivers/net/wireless/rtl8812au/88XXau.o
scripts/extract-cert.c: In function ‘display_openssl_errors’:
scripts/extract-cert.c:46:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   46 |         while ((e = ERR_get_error_line(&file, &line))) {
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
scripts/extract-cert.c: In function ‘drain_openssl_errors’:
scripts/extract-cert.c:60:9: warning: ‘ERR_get_error_line’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   60 |         while (ERR_get_error_line(&file, &line)) {}
  411 | unsigned long ERR_get_error_line(const char **file, int *line);
[ error ] ERROR in function compile_kernel [ ./build.sh:305 -> scripts/main.sh:620 -> scripts/main.sh:523 -> scripts/compilation.sh:515 -> scripts/general.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 
orangepi-xunlong commented 8 months ago

可以在开发板的Linux系统上编译试下。