You are not logged in.
Pages: 1
Topic closed
Here's the error.log
FAILED: Building Kernel Image (Image)
Outputs: out/target/product/pdx215/obj/KERNEL_OBJ/arch/arm64/boot/Image
Error: exited with code: 1
Command: /bin/bash -c "(PATH=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin:\$PATH PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH PERL5LIB=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-custom/common/perl-base PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-lineage/linux-x86/bin:/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH BISON_PKGDATADIR=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/common/bison /run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/make -j12 HOSTCFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/include\" HOSTLDFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -L /run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt\" LLVM=1 LLVM_IAS=1 LEX=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/flex YACC=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/bison M4=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin/dtc DTC_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/dtc/dtc DTC_OVERLAY_TEST_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/libufdt/ufdt_apply_overlay LLVM=1 LLVM_IAS=1 -C kernel/sony/sm8350 O=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ ARCH=arm64 CC=\" clang --cuda-path=/dev/null --hip-path=/dev/null\" Image ) && (if grep -q '^CONFIG_OF=y' out/target/product/pdx215/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; PATH=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin:\$PATH PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH PERL5LIB=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-custom/common/perl-base PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-lineage/linux-x86/bin:/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH BISON_PKGDATADIR=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/common/bison /run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/make -j12 HOSTCFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/include\" HOSTLDFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -L /run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt\" LLVM=1 LLVM_IAS=1 LEX=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/flex YACC=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/bison M4=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin/dtc DTC_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/dtc/dtc DTC_OVERLAY_TEST_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/libufdt/ufdt_apply_overlay LLVM=1 LLVM_IAS=1 -C kernel/sony/sm8350 O=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ ARCH=arm64 CC=\" clang --cuda-path=/dev/null --hip-path=/dev/null\" dtbs; fi ) && (if grep -q '=m' out/target/product/pdx215/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; PATH=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin:\$PATH PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH PERL5LIB=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-custom/common/perl-base PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-lineage/linux-x86/bin:/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH BISON_PKGDATADIR=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/common/bison /run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/make -j12 HOSTCFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/include\" HOSTLDFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -L /run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt\" LLVM=1 LLVM_IAS=1 LEX=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/flex YACC=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/bison M4=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin/dtc DTC_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/dtc/dtc DTC_OVERLAY_TEST_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/libufdt/ufdt_apply_overlay LLVM=1 LLVM_IAS=1 -C kernel/sony/sm8350 O=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ ARCH=arm64 CC=\" clang --cuda-path=/dev/null --hip-path=/dev/null\" modules || exit \"\$?\"; echo \"Installing Kernel Modules\"; PATH=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin:\$PATH PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH PERL5LIB=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-custom/common/perl-base PATH=/run/media/alt0191/data_arch/android/pe/prebuilts/tools-lineage/linux-x86/bin:/run/media/alt0191/data_arch/android/pe/prebuilts/clang/host/linux-x86/clang-r450784d/bin:\$PATH BISON_PKGDATADIR=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/common/bison /run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/make -j12 HOSTCFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/include\" HOSTLDFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -L /run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt\" LLVM=1 LLVM_IAS=1 LEX=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/flex YACC=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/bison M4=/run/media/alt0191/data_arch/android/pe/prebuilts/build-tools/linux-x86/bin/m4 DTC_EXT=/run/media/alt0191/data_arch/android/pe/out/host/linux-x86/bin/dtc DTC_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/dtc/dtc DTC_OVERLAY_TEST_EXT=/run/media/alt0191/data_arch/android/pe/prebuilts/misc/linux-x86/libufdt/ufdt_apply_overlay LLVM=1 LLVM_IAS=1 -C kernel/sony/sm8350 O=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ ARCH=arm64 CC=\" clang --cuda-path=/dev/null --hip-path=/dev/null\" INSTALL_MOD_PATH=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/kernel_modules_intermediates INSTALL_MOD_STRIP=1 modules_install; kernel_release=\$(cat out/target/product/pdx215/obj/KERNEL_OBJ/include/config/kernel.release) kernel_modules_dir=/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/kernel_modules_intermediates/lib/modules/\$kernel_release ; mv \$(find \$kernel_modules_dir -name wlan.ko) \$kernel_modules_dir/qca_cld3_wlan.ko; modules=\$(find \$kernel_modules_dir -type f -name '*.ko'); ( mkdir -p out/target/product/pdx215/vendor_dlkm/lib/modules ) && (cp \$modules out/target/product/pdx215/vendor_dlkm/lib/modules/ ) && (rm -rf /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates ) && (mkdir -p /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/vendor_dlkm/lib/modules ) && (cp \$modules /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/vendor_dlkm/lib/modules ) && (out/host/linux-x86/bin/depmod -b /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates 0.0 ) && (sed -e 's/\\(.*modules.*\\):/\\/\\1:/g' -e 's/ \\([^ ]*modules[^ ]*\\)/ \\/\\1/g' /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.dep > out/target/product/pdx215/vendor_dlkm/lib/modules/modules.dep ) && (cp /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.softdep out/target/product/pdx215/vendor_dlkm/lib/modules ) && (cp /run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/
modules.alias out/target/product/pdx215/vendor_dlkm/lib/modules ) && (rm -f out/target/product/pdx215/vendor_dlkm/lib/modules/modules.load ) && (for MODULE in adsp_loader_dlkm.ko adux1050.ko apr_dlkm.ko bolero_cdc_dlkm.ko bt_fm_slim.ko btpower.ko bu520x1nvx.ko camera.ko camera_sync.ko cirrus_cs35l41.ko cirrus_cs40l2x_codec.ko cirrus_cs40l2x.ko cirrus_wm_adsp.ko e4000.ko et603-int.ko fc0011.ko fc0012.ko fc0013.ko fc2580.ko hdmi_detect.ko hdmi_dlkm.ko hid-aksys.ko it913x.ko last_logs.ko ldo_vibrator.ko llcc_perfmon.ko m88rs6000t.ko machine_dlkm.ko max2165.ko mbhc_dlkm.ko mc44s803.ko msi001.ko mt2060.ko mt2063.ko mt20xx.ko mt2131.ko mt2266.ko mxl301rf.ko mxl5005s.ko mxl5007t.ko native_dlkm.ko p73.ko pinctrl_lpi_dlkm.ko pinctrl_wcd_dlkm.ko platform_dlkm.ko powerkey_forcecrash.ko q6_dlkm.ko q6_notifier_dlkm.ko q6_pdr_dlkm.ko qcom_edac.ko qm1d1b0004.ko qm1d1c0042.ko qt1010.ko r820t.ko rdbg.ko rmnet_core.ko rmnet_ctl.ko rmnet_offload.ko rmnet_shs.ko rx_macro_dlkm.ko si2157.ko slg51000-regulator.ko slimbus.ko slimbus-ngd.ko sn1x0.ko snd_event_dlkm.ko somc_battchg_ext.ko somc_battman_dbg.ko sony_camera.ko stub_dlkm.ko swr_ctrl_dlkm.ko swr_dlkm.ko swr_dmic_dlkm.ko swr_haptics_dlkm.ko tcs3490.ko tda18212.ko tda18218.ko tda18250.ko tda9887.ko tea5761.ko tea5767.ko tua9001.ko tuner-simple.ko tuner-types.ko tuner-xc2028.ko tx_macro_dlkm.ko va_macro_dlkm.ko wakeup_irq_debug.ko wcd937x_dlkm.ko wcd937x_slave_dlkm.ko wcd938x_dlkm.ko wcd938x_slave_dlkm.ko wcd9xxx_dlkm.ko wcd_core_dlkm.ko wsa883x_dlkm.ko wsa_macro_dlkm.ko xc4000.ko xc5000.ko; do basename \$MODULE >> out/target/product/pdx215/vendor_dlkm/lib/modules/modules.load; done); fi )"
Output:
make: 进入目录“/run/media/alt0191/data_arch/android/pe/kernel/sony/sm8350”
make[1]: 进入目录“/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ”
GEN Makefile
HOSTCC scripts/extract-cert
/run/media/alt0191/data_arch/android/pe/kernel/sony/sm8350/scripts/extract-cert.c:27:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [scripts/Makefile.host:107: scripts/extract-cert] Error 1
make[1]: *** [/run/media/alt0191/data_arch/android/pe/kernel/sony/sm8350/Makefile:1223: scripts] Error 2
make[1]: *** 正在等待未完成的任务....
make[1]: 离开目录“/run/media/alt0191/data_arch/android/pe/out/target/product/pdx215/obj/KERNEL_OBJ”
make: *** [Makefile:183: sub-make] Error 2
make: 离开目录“/run/media/alt0191/data_arch/android/pe/kernel/sony/sm8350”
I have installed aosp-devel via pacman but I don't know why cause this.
Offline
Please use [code][/code] tags. Edit your post in this regard.
% pacman -F bio.h
…
core/openssl 3.0.8-1
usr/include/openssl/bio.h
core/openssl-1.1 1.1.1.t-1
usr/include/openssl-1.1/openssl/bio.h
community/libressl 3.6.2-1
usr/include/libressl/openssl/bio.h
…
pacman -Qs ssl
Offline
Would installed packages in the standard include paths be used when the build system is setting
HOSTCFLAGS=\"--sysroot=/run/media/alt0191/data_arch/android/pe/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I/run/media/alt0191/data_arch/android/pe/prebuilts/kernel-build-tools/linux-x86/include\"
Offline
@alt0191 install the linux-headers package
Offline
Note you are necrobumping a year old thread with advice that's unlikely to be applicable to the cross-compile attempt the OP was doing.
Closing this old thread.
Offline
Pages: 1
Topic closed