MiCode / vendor_qcom_opensource_audio-kernel

28 stars 22 forks source link

bad code . not file \ bad symlink #5

Open dmitrypershin opened 4 years ago

dmitrypershin commented 4 years ago

CC techpack/audio/asoc/codecs/sdm660_cdc/msm-digital-cdc-legacy.o ../techpack/audio/asoc/codecs/sdm660_cdc/msm-digital-cdc-legacy.c:31:26: фатальная ошибка: soc/internal.h: Нет такого файла или каталога

include <soc/internal.h>

                      ^

компиляция прервана. CC techpack/audio/soc/regmap-swr.o CC techpack/audio/soc/swr-wcd-ctrl.o LD techpack/audio/asoc/codecs/wcd9xxx_dlkm.o ../techpack/audio/soc/regmap-swr.c:21:26: фатальная ошибка: soc/internal.h: Нет такого файла или каталога

include <soc/internal.h>

                      ^

компиляция прервана. make[4]: [techpack/audio/soc/regmap-swr.o] Error 1 ../scripts/Makefile.build:339: recipe for target 'techpack/audio/soc/regmap-swr.o' failed make[4]: Ожидание завершения заданий… make[6]: [techpack/audio/asoc/codecs/sdm660_cdc/msm-digital-cdc-legacy.o] Error 1 ../scripts/Makefile.build:339: recipe for target 'techpack/audio/asoc/codecs/sdm660_cdc/msm-digital-cdc-legacy.o' failed make[5]: [techpack/audio/asoc/codecs/sdm660_cdc] Error 2 ../scripts/Makefile.build:653: recipe for target 'techpack/audio/asoc/codecs/sdm660_cdc' failed make[3]: [techpack/audio/soc] Error 2 ../scripts/Makefile.build:653: recipe for target 'techpack/audio/soc' failed make[3]: Ожидание завершения заданий… make[4]: [techpack/audio/asoc/codecs] Error 2 ../scripts/Makefile.build:653: recipe for target 'techpack/audio/asoc/codecs' failed make[3]: [techpack/audio/asoc] Error 2 ../scripts/Makefile.build:653: recipe for target 'techpack/audio/asoc' failed

not correct symlinks :

/techpack/audio/soc/core.h /techpack/audio/soc/pinctrl-utils.h

the end : CC init/version.o LD init/built-in.o techpack/built-in.o: In function msm_ext_disp_audio_codec_rx_probe': /home/dima/ANDROID/Xiaomi_Kernel_OpenSource-olive-p-oss/out/../techpack/audio/asoc/codecs/msm_hdmi_codec_rx.c:435: undefined reference tomsm_ext_disp_register_audio_codec' make[1]: [vmlinux] Error 1 /home/dima/ANDROID/Xiaomi_Kernel_OpenSource-olive-p-oss/Makefile:1091: recipe for target 'vmlinux' failed make[1]: выход из каталога «/home/dima/ANDROID/Xiaomi_Kernel_OpenSource-olive-p-oss/out» make: [sub-make] Error 2 Makefile:152: recipe for target 'sub-make' failed

uixdess commented 4 years ago

You just need to fix symplinks in the kernel