Advertisement
yaznas

Error when Compiling #2

Sep 14th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.30 KB | None | 0 0
  1. [  3% 1626/44560] build TARGET_KERNEL_BINARIES
  2. FAILED: /bin/bash -c "(echo \"Building Kernel\" ) && (make -j3  CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" Image.gz-dtb ) && (if grep -q 'CONFIG_OF=y' /home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ/.config ;           then                echo \"Building DTBs\" ;        make -j3  CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" dtbs ;          else                echo \"DTBs not enabled\" ;             fi ) && (if grep -q 'CONFIG_MODULES=y' /home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ/.config ;          then            echo \"Building Kernel Modules\" ;              make -j3  CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" modules &&      make -j3  CFLAGS_MODULE=\"-fno-pic\" -C kernel/lge/bullhead O=/home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" modules_install &&                    mdpath=\`find /home/yaznas/candy/out/target/product/bullhead/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do aarch64-linux-android-strip --strip-unneeded \$i; mv \$i /home/yaznas/candy/out/target/product/bullhead/system/lib/modules/; done; fi &&                   mdpath=\`find /home/yaznas/candy/out/target/product/bullhead/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ;            else                echo \"Kernel Modules not enabled\" ;           fi )"
  3. Building Kernel
  4. make: Entering directory '/home/yaznas/candy/kernel/lge/bullhead'
  5.   GEN     /home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ/Makefile
  6. scripts/kconfig/conf --silentoldconfig Kconfig
  7. warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
  8. warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
  9. warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
  10. warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
  11. warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
  12. warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
  13.   GEN     /home/yaznas/candy/out/target/product/bullhead/obj/KERNEL_OBJ/Makefile
  14.   CHK     include/generated/uapi/linux/version.h
  15.   HOSTCC  scripts/dtc/checks.o
  16.   CC      scripts/mod/empty.o
  17.   HOSTCC  scripts/mod/mk_elfconfig
  18.   HOSTCC  scripts/dtc/data.o
  19.   CC      scripts/mod/devicetable-offsets.s
  20. In file included from /home/yaznas/candy/kernel/lge/bullhead/include/linux/types.h:5:0,
  21.                  from /home/yaznas/candy/kernel/lge/bullhead/include/linux/mod_devicetable.h:11,
  22.                  from /home/yaznas/candy/kernel/lge/bullhead/scripts/mod/devicetable-offsets.c:2:
  23. /home/yaznas/candy/kernel/lge/bullhead/include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory
  24.  #include <asm/types.h>
  25.                        ^
  26. compilation terminated.
  27. /home/yaznas/candy/kernel/lge/bullhead/scripts/mod/Makefile:34: recipe for target 'scripts/mod/devicetable-offsets.s' failed
  28. make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
  29. /home/yaznas/candy/kernel/lge/bullhead/scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
  30. make[2]: *** [scripts/mod] Error 2
  31. make[2]: *** Waiting for unfinished jobs....
  32.   SHIPPED scripts/dtc/dtc-lexer.lex.c
  33.   SHIPPED scripts/dtc/dtc-parser.tab.h
  34.   SHIPPED scripts/dtc/dtc-parser.tab.c
  35.   HOSTCC  scripts/dtc/dtc.o
  36.   HOSTCC  scripts/dtc/flattree.o
  37.   HOSTCC  scripts/dtc/fstree.o
  38.   HOSTCC  scripts/dtc/livetree.o
  39.   HOSTCC  scripts/dtc/srcpos.o
  40.   HOSTCC  scripts/dtc/treesource.o
  41.   HOSTCC  scripts/dtc/util.o
  42.   HOSTCC  scripts/dtc/dtc-lexer.lex.o
  43.   HOSTCC  scripts/dtc/dtc-parser.tab.o
  44.   HOSTLD  scripts/dtc/dtc
  45. /home/yaznas/candy/kernel/lge/bullhead/Makefile:522: recipe for target 'scripts' failed
  46. make[1]: *** [scripts] Error 2
  47. make[1]: *** Waiting for unfinished jobs....
  48. Makefile:130: recipe for target 'sub-make' failed
  49. make: *** [sub-make] Error 2
  50. make: Leaving directory '/home/yaznas/candy/kernel/lge/bullhead'
  51. [  3% 1626/44560] build /home/yaznas/candy/...tatic_intermediates/src/crypto/ec/p256-64.o
  52. host C: libcrypto_static <= external/boringssl/src/crypto/ec/p256-64.c
  53. [  3% 1626/44560] build /home/yaznas/candy/...mework-res_intermediates/package-export.apk
  54. target Export Resources: framework-res (/home/yaznas/candy/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
  55. warning: string 'candidates_style' has no default translation.
  56. warning: string 'gsm_alphabet_default_charset' has no default translation.
  57. nothing matches overlay file default_wallpaper.png, for flavor mdpi-v4
  58. nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
  59. nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
  60. nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
  61. nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
  62. nothing matches overlay file default_wallpaper.png, for flavor sw600dp-nodpi-v13
  63. nothing matches overlay file default_wallpaper.png, for flavor sw720dp-nodpi-v13
  64. ninja: build stopped: subcommand failed.
  65. build/core/ninja.mk:158: recipe for target 'ninja_wrapper' failed
  66. make: *** [ninja_wrapper] Error 1
  67. make: Leaving directory '/home/yaznas/candy'
  68.  
  69. #### make failed to build some targets (07:08 (mm:ss)) ####
  70.  
  71.  
  72. real    7m11.956s
  73. user    11m2.928s
  74. sys 1m7.464s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement