This is my first time trying to compile my own kernel, i am dealing some problems and need help
i get these messages when executing the commang "make"
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
CC scripts/mod/empty.o
arm-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
arm-linux-gnueabi-gcc: error trying to exec 'cc1make[1]: *** [kernel/bounds.s] Error 1
': execvp: make: *** [prepare0] Error 2
make: No such file or directory
*** Waiting for unfinished jobs....make[2]:
*** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
i red quite many webpages and i follow this guides
http://lanrat.com/how-to-compile-a-linux-kernel-for-android/
http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/
i am running ubuntu 14.04 lts 64 bit. i am trying to compile kernel 2.6.32 for s3c6410. old chipset but even if brick it i do not care much
any help ?
spkraul said:
This is my first time trying to compile my own kernel, i am dealing some problems and need help
i get these messages when executing the commang "make"
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
CC scripts/mod/empty.o
arm-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
arm-linux-gnueabi-gcc: error trying to exec 'cc1make[1]: *** [kernel/bounds.s] Error 1
': execvp: make: *** [prepare0] Error 2
make: No such file or directory
*** Waiting for unfinished jobs....make[2]:
*** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
i red quite many webpages and i follow this guides
http://lanrat.com/how-to-compile-a-linux-kernel-for-android/
http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/
i am running ubuntu 14.04 lts 64 bit. i am trying to compile kernel 2.6.32 for s3c6410. old chipset but even if brick it i do not care much
any help ?
Click to expand...
Click to collapse
Which toolchain and version of the toolchain are you using? I would recommend checking out this information on someone who ran into the same problem as you and how they fixed it. Let me know if you still have questions.
i execute <<cd linux>>, <<make mrproper>>, <<make V=1 all>> and i get the following messages
[email protected]:~$ cd linux
bash: cd: linux: No such file or directory
[email protected]:~$ make mrproper
make: *** No rule to make target `mrproper'. Stop.
[email protected]:~$ cd /home/alex/o2droid/kern_2.6.32
[email protected]:~/o2droid/kern_2.6.32$ make prproper
make: *** No rule to make target `prproper'. Stop.
[email protected]:~/o2droid/kern_2.6.32$ make V=1 all
set -e; : ' CHK include/linux/version.h'; mkdir -p include/linux/; (echo \#define LINUX_VERSION_CODE 132640; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))' < /home/alex/o2droid/kern_2.6.32/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else : ' UPD include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi
make -f scripts/Makefile.build obj=arch/arm/tools include/asm-arm/mach-types.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
rm -f include/config/kernel.release
echo 2.6.32.9-00163-g4c4becf-dirty > include/config/kernel.release
set -e; : ' CHK include/linux/utsrelease.h'; mkdir -p include/linux/; if [ `echo -n "2.6.32.9-00163-g4c4becf-dirty" | wc -c ` -gt 64 ]; then echo '"2.6.32.9-00163-g4c4becf-dirty" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.32.9-00163-g4c4becf-dirty\" < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else : ' UPD include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi
set -e; if [ -L include/asm ]; then asmlink=`readlink include/asm | cut -d '-' -f 2`; if [ "$asmlink" != "arm" ]; then echo "ERROR: the symlink include/asm points to asm-$asmlink but asm-arm was expected"; echo " set ARCH or save .config and run 'make mrproper' to fix it"; exit 1; fi; test -e $asmlink || rm include/asm; elif [ -d include/asm ]; then echo "ERROR: include/asm is a directory but a symlink was expected"; exit 1; fi
if [ ! -L include/asm ]; then : ' SYMLINK include/asm -> include/asm-arm'; if [ ! -d include/asm-arm ]; then mkdir -p include/asm-arm; fi; ln -fsn asm-arm include/asm; fi
mkdir -p .tmp_versions ; rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=scripts/basic
(cat /dev/null; ) > scripts/basic/modules.order
make -f scripts/Makefile.build obj=.
(cat /dev/null; ) > modules.order
mkdir -p kernel/
/opt/cross/bin/arm-linux-gnueabi-gcc -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem include -Iinclude -I/home/alex/o2droid/kern_2.6.32/arch/arm/include -include include/linux/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-s3c6400/include -Iarch/arm/mach-s3c6410/include -Iarch/arm/plat-s3c64xx/include -Iarch/arm/plat-s3c/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -msoft-float -Uarm -fomit-frame-pointer -g -O3 -marm -march=armv6zk -mfpu=vfp -mtune=arm1176jzf-s -mtune=arm1136j-s -mfloat-abi=softfp -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)" -D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
arm-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
i am using toolchain arm-eabi 4.6
i red the documentation
i have nothing like <<cc1>> under usr/bin
I don't have a /usr/local/libexec directory
i installed anything about cc1 from package manager and still nothing changed.
i did something wrong with <<make menuconfig>> or else ?
i also follow this guide https://github.com/argentinos/o2droid/tree/i8000/kern_2.6.32
i use the wrong toolchain ?
spkraul said:
i am using toolchain arm-eabi 4.6
i red the documentation
i have nothing like <<cc1>> under usr/bin
I don't have a /usr/local/libexec directory
i installed anything about cc1 from package manager and still nothing changed.
i did something wrong with <<make menuconfig>> or else ?
i also follow this guide https://github.com/argentinos/o2droid/tree/i8000/kern_2.6.32
i use the wrong toolchain ?
Click to expand...
Click to collapse
If you follow the guide in the repository that is meant for a pure Linux kernel, what def config under arch/arm/configs did you use?
Try using a procedure similar to the following:
Code:
export TOP= [where you installed the toolchain or top of android AOSP code base]
export PATH=$TOP/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH (use corresponding arm-eabi bin path)
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
make NAMEOFDEVICE_defconfig
make -jx (Where x is the number of jobs you want -j4 is a safe option)
i followed your commands and no result yet. same problems
i checked this guide http://ubuntuforums.org/showthread.php?t=2213325
and got the following
[email protected]:~$ arm-none-linux-gnueabi-gcc -print-prog-name=cc1
arm-none-linux-gnueabi-gcc: command not found
[email protected]:~$ arm-linux-gnueabi-gcc -print-prog-name=cc1
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/cc1
[email protected]:~$ arm-linux-gnueabihf-gcc -print-prog-name=cc1
The program 'arm-linux-gnueabihf-gcc' is currently not installed. You can install it by typing:
sudo apt-get install gcc-arm-linux-gnueabihf
[email protected]:~$ dpkg -l | grep '\<gcc'
ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler
ii gcc-4.6 4.6.4-6ubuntu2 amd64 GNU C compiler
ii gcc-4.6-base:amd64 4.6.4-6ubuntu2 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.6-base:i386 4.6.4-6ubuntu2 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-4.6-multilib 4.6.4-6ubuntu2 amd64 GNU C compiler (multilib files)
ii gcc-4.7-arm-linux-gnueabi 4.7.3-12ubuntu1cross1.85 amd64 GNU C compiler
ii gcc-4.7-arm-linux-gnueabi-base 4.7.3-12ubuntu1cross1.85 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8 4.8.2-19ubuntu1 amd64 GNU C compiler
ii gcc-4.8-arm-linux-gnueabihf-base 4.8.2-16ubuntu4cross0.11 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-base:amd64 4.8.2-19ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-base:i386 4.8.2-19ubuntu1 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-multilib 4.8.2-19ubuntu1 amd64 GNU C compiler (multilib files)
ii gcc-4.9-base:amd64 4.9-20140406-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.9-base:i386 4.9-20140406-0ubuntu1 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-arm-linux-gnueabi 4:4.7.2-1 amd64 The GNU C compiler for armel architecture
ii gcc-multilib 4:4.8.2-1ubuntu6 amd64 GNU C compiler (multilib files)
i am using omniaII_defconfig
upd... i am searching and testing possible solutions, but nothing is working. i stuck on this mistake. cc1 exists on my pc and is executable. i also tried another toolchain 4.4.3 which is considered more compatible, but stuck on the same error again. really driving me crazy. i have too much job to do on the kernel improvement, but if i will never be able to compile it it doasn't worth trying. i appreciate your help. any ideas ?
spkraul said:
upd... i am searching and testing possible solutions, but nothing is working. i stuck on this mistake. cc1 exists on my pc and is executable. i also tried another toolchain 4.4.3 which is considered more compatible, but stuck on the same error again. really driving me crazy. i have too much job to do on the kernel improvement, but if i will never be able to compile it it doasn't worth trying. i appreciate your help. any ideas ?
Click to expand...
Click to collapse
After looking more into it I noticed there is a script included in the files for building the kernel called make_kernel, you should be able to build the kernel running the script, "./make_kernel -k" with the -k option being defined by the script to make the kernel. You may have to tweak the script to suite your build environment.
thanks a lot. i did run the script many times, with many ways. i see some compilation being done, but i always after a few minutes i end with the message "Error ... kernel not compiled!"
i guess some code errors cause it, but how to locate them and fix them under millions of programming lines ?
i red that before being able to compile a kernel and before this kernle is funtional you must fix many errors and deal many problems, but i am not sure how difficult this is going to be in my case.
i always get messages of this type " warning: variable ‘*’ set but not used [-Wunused-but-set-variable]
"
you follow any specific procedure to deal with these errors ?
spkraul said:
thanks a lot. i did run the script many times, with many ways. i see some compilation being done, but i always after a few minutes i end with the message "Error ... kernel not compiled!"
i guess some code errors cause it, but how to locate them and fix them under millions of programming lines ?
i red that before being able to compile a kernel and before this kernle is funtional you must fix many errors and deal many problems, but i am not sure how difficult this is going to be in my case.
i always get messages of this type " warning: variable ‘*’ set but not used [-Wunused-but-set-variable]
"
you follow any specific procedure to deal with these errors ?
Click to expand...
Click to collapse
In the error messages you will see what file the error is in and which line the error occurs going to that file and line(s) the error occurred at is the best place to start. Instead of using the script take the commands in the script and do them manually in the order the script would execute them in, until you get an error you can troubleshoot or it compiles successfully.
No private recovery resources for TARGET_DEVICE ivy
Starting build with ninja
ninja: Entering directory `.'
[ 0% 34/36264] build out/target/product/ivy/root/init.real
FAILED: /bin/bash -c "(cp out/target/product/ivy/utilities/toybox out/target/product/ivy/root/sbin/toybox_init ) && (cp out/target/product/ivy/utilities/keycheck out/target/product/ivy/root/sbin/keycheck ) && (cp out/target/product/ivy/utilities/init_sony out/target/product/ivy/root/sbin/init_sony ) && (if [ ! -L out/target/product/ivy/root/init ]; then echo "/init out/target/product/ivy/root/init isn't a symlink"; mv out/target/product/ivy/root/init out/target/product/ivy/root/init.real; ln -s sbin/init_sony out/target/product/ivy/root/init; else echo "/init out/target/product/ivy/root/init is already a symlink"; fi )"
cp: omitting directory 'out/target/product/ivy/utilities/toybox'
[ 0% 34/36264] Ensure Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
[ 0% 34/36264] target Pack Relocations: libLLVM (o..._LIBRARIES/libLLVM_intermediates/PACKED/libLLVM.so)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
This is building for a Sony Xperia Z3+/Z4 D6533. The error I keep getting for builds is as above, with the toolbox, keycheck, and init_sony somehow ignored. Can someone help me get pass this error?
Hi,
as I started playing around to learn a little bit more about custom roms, sources, the building process etc. I wanted to build an AOSP ROM for myself to test, but while building I get this error everytime and I don't really know what is wrong or how to fix that.
Running the make -jN command as root doesn't help anything, neither changing the value from -j to 1
I followed the Sony AOSP build instructions guide (https://developer.sonymobile.com/op...uild-aosp-nougat-for-unlocked-xperia-devices/)
Does anyone know what is causing this and maybe how to fix this?
(I'm using Linuxmint 18.2 x64 and the device I want to build for is my Xperia X (SUZU) F5121)
Thanks
Here's whats causing the build process to stop:
[ 34% 12239/35670] build out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/8/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res -iname "*.class" -delete ) && (JACK_VERSION=3.36.CANDIDATE out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/8/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res )"
1 error during configuration. Try --help-properties for help.
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: the rule for target „ninja_wrapper“ failed
make: *** [ninja_wrapper] Error 1
Hi, I have a Hikey 970 development board. When I tried to build system image for the device, some strange error occurred and I have no idea of what is going on. I am pretty new to AOSP and kernel, so I hope someone can help me, Thanks!
I followed procedures in Android source website to set up the environment, and after I finish downloading the AOSP source code for Hikey 970, i used
(1) source ./build/envsetup.sh
(2) lunch hikey970-userdebug
(3) make systemimage -j32
to build system image. However, error occurred as follow:
[ 60% 34434/56804] //frameworks/base/core/res:framework-res aapt2 link
FAILED: out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/package-res.apk out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/proguard.options out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/R.jar out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/R.txt out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/extra_packages
out/soong/host/linux-x86/bin/aapt2 link -o out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/package-res.apk --private-symbols com.android.internal --no-auto-version --no-static-lib-packages --manifest out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/manifest_fixer/AndroidManifest.xml -A frameworks/base/core/res/assets --min-sdk-version Q --target-sdk-version Q --version-code 27 --version-name Q --product emulator -c en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,af_ZA,am_ET,ar_EG,ar_XB,az_AZ,be_BY,bg_BG,bn_BD,bs_BA,ca_ES,cs_CZ,da_DK,de_DE,el_GR,en_AU,en_CA,en_GB,en_IN,en_XA,en_XC,es_ES,es_US,et_EE,eu_ES,fa_IR,fi_FI,fr_CA,fr_FR,gl_ES,gu_IN,hi_IN,hr_HR,hu_HU,hy_AM,in_ID,is_IS,it_IT,iw_IL,ja_JP,ka_GE,kk_KZ,km_KH,kn_IN,ko_KR,ky_KG,lo_LA,lt_LT,lv_LV,mk_MK,ml_IN,mn_MN,mr_IN,ms_MY,my_MM,nb_NO,ne_NP,nl_NL,pa_IN,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,si_LK,sk_SK,sl_SI,sq_AL,sr_Latn_RS,sr_RS,sv_SE,sw_TZ,ta_IN,te_IN,th_TH,tl_PH,tr_TR,uk_UA,ur_PK,uz_UZ,vi_VN,zh_CN,zh_HK,zh_TW,zu_ZA --java out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/aapt2/R --proguard out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/proguard.options --output-text-symbols out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/R.txt @out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/aapt2/res.list -R @out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/aapt2/overlay.list && out/soong/host/linux-x86/bin/soong_zip -write_if_changed -jar -o out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/R.jar -C out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/aapt2/R -D out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/aapt2/R &&out/soong/host/linux-x86/bin/extract_jar_packages -i out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/gen/R.jar -o out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/extra_packages --prefix '--extra-packages '
out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/aapt2/frameworks/base/core/res/res/drawable-hd_common/aapt2/frameworks/base/core/res/res/drawable-hdpi_progressbar_indeterminate_holo8.png.flat: error: failed to open.
error: failed parsing input.
20:08:20 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
I couldn't find an answer to this error. Any help will be appreciated, thanks!
So, I am trying to port LineageOS 15.1 to the Galaxy S8, but I keep getting stuck here, receiving some weird errors. I am quite new to this whole world so I have no understanding of the errors. Can someone help me or point me into the direction of fixing this?
Code:
[ 0% 34/88264] Building Kernel Config
FAILED: /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
/bin/bash -c "(make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-a
ndroid-\" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= exynos8895-dreamlte_defconfig ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >>
/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreaml
te/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" oldconfig; fi ) && (make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERN
EL_OBJ ARCH=arm64 CROSS_COMPILE=\" aarch64-linux-android-\" savedefconfig ) && (if [ ! -z \"\" ]; then echo \"Using additional config ''\"; kernel/samsung/u
niversal8895/scripts/kconfig/merge_config.sh -m -O /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ /home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config
kernel/samsung/universal8895/arch/arm64/configs/; make -j8 -C kernel/samsung/universal8895 O=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ ARCH=arm64 CRO
SS_COMPILE=\" aarch64-linux-android-\" KCONFIG_ALLCONFIG=/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
make[1]: Entering directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
GEN ./Makefile
./scripts/fetch-latest-wireguard.sh: line 5: .wireguard-fetch-lock: Permission denied
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
net/Kconfig:83: can't open file "net/wireguard/Kconfig"
/home/george_gica14/lineage/kernel/samsung/universal8895/scripts/kconfig/Makefile:110: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[2]: *** [exynos8895-dreamlte_defconfig] Error 1
/home/george_gica14/lineage/kernel/samsung/universal8895/Makefile:592: recipe for target 'exynos8895-dreamlte_defconfig' failed
make[1]: *** [exynos8895-dreamlte_defconfig] Error 2
make[1]: Leaving directory '/home/george_gica14/lineage/out/target/product/dreamlte/obj/KERNEL_OBJ'
Makefile:152: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/george_gica14/lineage/kernel/samsung/universal8895'
[ 0% 43/88264] target thumb C++: libv8src_32 <= external/v8/src/asmjs/asm-typer.cc
ninja: build stopped: subcommand failed.
23:09:51 ninja failed with: exit status 1
#### failed to build some targets (01:20 (mm:ss)) ####
[email protected]:~/lineage$