Check your build.config file in kernel. So it has what needed config directories and files.
LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4 DTC_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/dtc LIBUFDT_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/libufdt Download this lz4(Compression algorithm),dtc(Device Tree compiler),libufdt(Used for optimization of dtos) and give proper path and config and use CC=clang. Coz pixel 2 user level programms are compiled using clang. So some of the files will be compile using Clang. export ARCH=arm64 export CROSS_COMPILE_ARM32=~/PATH_TO_directory(arm eabi 4.7 or 4.8)/arm-eabi- export CROSS_COMPILE=~/PATH_TO_DIR(aarch64)/.... LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4 DTC_PREBUILTS_BIN=~/pATH TO/linux-x86/dtc LIBUFDT_PREBUILTS_BIN=`/pATH_TO_DIR/linux-x86/libufdt Saurabh Sakhare 8007157873 On Sat, Mar 16, 2019 at 9:07 PM <927002...@qq.com> wrote: > *i put below:* > export ARCH=arm64 > export CROSS_COMPILE_ARM32=aarch64-linux-android- > PATH=/home/shallin/android9_r22/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH > make wahoo_defconfig *and then i put "make" ,show like this* > > [image: error.jpg] > > how can i do > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to android-building@googlegroups.com > To unsubscribe from this group, send email to > android-building+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-building+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.