在Ubuntu22.04 主机上
使用下面配置获取kernel 6.1,编译
mkdir ~/src/khadas-kernel/ && cd $_
repo init -u [BayLibre / amlogic / Android TV / aosp / kernel / manifest · GitLab](https://gitlab.baylibre.com/baylibre/amlogic/atv/aosp/kernel/manifest.git) -b yukawa-android-14-6.1
repo sync
为了修复编译错误
-
SSL error:02000002:system library:OPENSSL_internal:No such file or directory: external/boringssl/src/crypto/bio/file.c:98
-
SSL error:1100006e:BIO routines:OPENSSL_internal:NO_SUCH_FILE: external/boringssl/src/crypto/bio/file.c:102
sign-file: /common/certs/signing_key.pem
在config中加入# CONFIG_MODULE_SIG_ALL is not set
导致编译提示这样错误
ERROR: /media/kk/code/kk/kernel61_vim3/yukawa-device/BUILD.bazel:157:13: Checking for kmi_symbol_list_violations (lto=default;notrim) @//yukawa-device:yukawa failed: (Exit 1): bash failed: error executing KernelBuildCheckSymbolViolations command (from target //yukawa-device:yukawa) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
**These symbols are missing from the symbol list and are not available at runtime for unsigned modules:**
_snd_pcm_lib_alloc_vmalloc_buffer required by ['dw-hdmi-ahb-audio.ko']
add_wait_queue_priority required by ['gzvm.ko']
cec_notifier_parse_hdmi_phandle required by ['ao-cec.ko', 'ao-cec-g12a.ko']
clk_mux_determine_rate_flags required by ['clk-regmap.ko']
clk_mux_val_to_index required by ['clk-regmap.ko']
clk_set_duty_cycle required by ['snd-soc-meson-axg-tdm-interface.ko']
......
请问各位有处理过这样错误吗?还请给些指点