[Galaxy Note 4 Q&A, Help & Troubleshooting] 3ftguru:
Now trying out the compiling using the manual method.

. build/envsetup.sh && brunch <device>

which came up with the log below.

including device/generic/mini-emulator-x86/vendorsetup.sh

including device/generic/mini-emulator-mips/vendorsetup.sh

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/samsung/trltexx/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

including vendor/cm/bash_completion/git.bash

including vendor/cm/bash_completion/repo.bash

including vendor/cm/vendorsetup.sh

Looking for dependencies

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

RR_VERSION=Resurrection-Remix-LP-v5.5.8-20151107-trltexx

TARGET_PRODUCT=cm_trltexx

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

TARGET_TC_KERNEL DEFAULTING TO "4.9"!

TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-

TARGET_TOOLCHAIN_ROOT=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

TARGET_CC=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc

BUILD_ID=LMY48Y

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.19.0-32-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

HOST_CC=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc

HOST_OUT_EXECUTABLES=/home/leonard/rr/out/host/linux-x86/bin

OUT_DIR=/home/leonard/rr/out

RROPTI=false

RR_O3=false

RR_GRAPHITE=false

RR_STRICT=false

RR_KRAIT=false

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

RR_VERSION=Resurrection-Remix-LP-v5.5.8-20151107-trltexx

TARGET_PRODUCT=cm_trltexx

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

TARGET_TC_KERNEL DEFAULTING TO "4.9"!

TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-

TARGET_TOOLCHAIN_ROOT=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

TARGET_CC=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc

BUILD_ID=LMY48Y

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.19.0-32-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

HOST_CC=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc

HOST_OUT_EXECUTABLES=/home/leonard/rr/out/host/linux-x86/bin

OUT_DIR=/home/leonard/rr/out

RROPTI=false

RR_O3=false

RR_GRAPHITE=false

RR_STRICT=false

RR_KRAIT=false

============================================

*** Build configuration changed: "cm_trltexx-eng-{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,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,rm_CH,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,hi_IN,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,ast_ES,lb_LU,ku_IQ,normal,hdpi,xhdpi,xxhdpi xxhdpi}" -> "cm_trltexx-userdebug-{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,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,rm_CH,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,hi_IN,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,ast_ES,lb_LU,ku_IQ,normal,hdpi,xhdpi,xxhdpi xxhdpi}"

*** Forcing "make installclean"...

*** rm -rf /home/leonard/rr/out/target/product/trltexx/data/* /home/leonard/rr/out/target/product/trltexx/data-qemu/* /home/leonard/rr/out/target/product/trltexx/userdata-qemu.img /home/leonard/rr/out/host/linux-x86/obj/NOTICE_FILES /home/leonard/rr/out/host/linux-x86/sdk /home/leonard/rr/out/target/product/trltexx/*.img /home/leonard/rr/out/target/product/trltexx/*.ini /home/leonard/rr/out/target/product/trltexx/*.txt /home/leonard/rr/out/target/product/trltexx/*.xlb /home/leonard/rr/out/target/product/trltexx/*.zip /home/leonard/rr/out/target/product/trltexx/kernel /home/leonard/rr/out/target/product/trltexx/*.zip.md5sum /home/leonard/rr/out/target/product/trltexx/data /home/leonard/rr/out/target/product/trltexx/skin /home/leonard/rr/out/target/product/trltexx/obj/APPS /home/leonard/rr/out/target/product/trltexx/obj/NOTICE_FILES /home/leonard/rr/out/target/product/trltexx/obj/PACKAGING /home/leonard/rr/out/target/product/trltexx/recovery /home/leonard/rr/out/target/product/trltexx/root /home/leonard/rr/out/target/product/trltexx/system /home/leonard/rr/out/target/product/trltexx/vendor /home/leonard/rr/out/target/product/trltexx/oem /home/leonard/rr/out/target/product/trltexx/dex_bootjars /home/leonard/rr/out/target/product/trltexx/obj/JAVA_LIBRARIES /home/leonard/rr/out/target/product/trltexx/obj/FAKE /home/leonard/rr/out/target/product/trltexx/obj/EXECUTABLES/adbd_intermediates /home/leonard/rr/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfs_mgr_intermediates /home/leonard/rr/out/target/product/trltexx/obj/EXECUTABLES/init_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/mac_permissions.xml_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/sepolicy_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/init.environ.rc_intermediates

*** Done with the cleaning, now starting the real build.

find: `dummy': No such file or directory

find: `../../../../../../external/hamcrest/src': No such file or directory

find: `../../../../../../external/junit/src/org': No such file or directory

find: `../../../../../../external/hamcrest/src': No such file or directory

make: Entering directory `/home/leonard/rr'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/leonard/rr/out/target/product/trltexx/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/leonard/rr/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'

No private recovery resources for TARGET_DEVICE trltexx

build/core/Makefile:1823: warning: overriding commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-348e296832.zip'

build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-348e296832.zip'

-------------------------------------------------------

---------------- KERNEL.MK START ----------------------

-------------------------------------------------------

TARGET_TC_KERNEL DEFAULTED TO "4.9-sm"!

-------------------------------------------------------

----------------- KERNEL INFO -------------------------

-------------------------------------------------------

KERNEL_TOOLCHAIN_PREFIX=arm-eabi-

KERNEL_TOOLCHAIN=/home/leonard/rr/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin

KERNEL_TOOLCHAIN_PATH=/home/leonard/rr/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin/arm-eabi-

KERNEL_CROSS_COMPILE=CROSS_COMPILE="/home/leonard/rr/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-sm/bin/arm-eabi-"

-------------------------------------------------------

-------------------------------------------------------

---------------- KERNEL.MK END ------------------------

-------------------------------------------------------

Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/import_includes

host C: libmincrypt_32 <= system/core/libmincrypt/dsa_sig.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256_ecdsa.c

host C: libmincrypt_32 <= system/core/libmincrypt/rsa.c

host C: libmincrypt_32 <= system/core/libmincrypt/sha.c

host C: libmincrypt_32 <= system/core/libmincrypt/sha256.c

Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/import_includes

host C: libhost_32 <= build/libs/host/CopyFile.c

Notice file: system/core/libmincrypt/NOTICE -- /home/leonard/rr/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt

make -C kernel/samsung/trlte O=/home/leonard/rr/out/target/product/trltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/leonard/rr/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-sm/bin/arm-eabi-" VARIANT_DEFCONFIG=apq8084_sec_trlte_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig apq8084_sec_defconfig

make[1]: Entering directory `/home/leonard/rr/kernel/samsung/trlte'

host C: mkbootfs <= system/core/cpio/mkbootfs.c

HOSTCC scripts/basic/fixdep

Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/import_includes

GEN /home/leonard/rr/out/target/product/trltexx/obj/KERNEL_OBJ/Makefile

host C: libsepol_32 <= external/libsepol/src/assertion.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/avrule_block.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/avtab.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/boolean_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/booleans.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/conditional.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

HOSTCC scripts/kconfig/conf.o

host C: libsepol_32 <= external/libsepol/src/constraint.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/context.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

host C: libsepol_32 <= external/libsepol/src/context_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

HOSTCC scripts/kconfig/zconf.tab.o

host C: libsepol_32 <= external/libsepol/src/debug.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/ebitmap.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/expand.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/genbools.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/genusers.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

HOSTLD scripts/kconfig/conf

host C: libsepol_32 <= external/libsepol/src/handle.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/hashtab.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/hierarchy.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/iface_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/interfaces.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/link.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

external/libsepol/src/link.c: In function 'is_decl_requires_met':

external/libsepol/src/link.c:2030:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]

host C: libsepol_32 <= external/libsepol/src/mls.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/module.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/node_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/nodes.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/polcaps.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/policydb.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/policydb_convert.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/policydb_public.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/port_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/ports.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

arch/arm/configs/apq8084_sec_defconfig:55:warning: override: reassigning to symbol CGROUP_CPUACCT

arch/arm/configs/apq8084_sec_defconfig:672:warning: override: reassigning to symbol PWM

arch/arm/configs/apq8084_sec_defconfig:673:warning: override: reassigning to symbol PWM_QPNP

KCONFIG_SELINUX(arch/arm/configs/selinux_defconfig)

arch/arm/configs/selinux_defconfig:1:warning: override: reassigning to symbol EXT2_FS_XATTR

arch/arm/configs/selinux_defconfig:4:warning: override: reassigning to symbol EXT4_FS_SECURITY

arch/arm/configs/selinux_defconfig:5:warning: override: reassigning to symbol AUDIT

arch/arm/configs/selinux_defconfig:7:warning: override: reassigning to symbol SECURITY

arch/arm/configs/selinux_defconfig:8:warning: override: reassigning to symbol LSM_MMAP_MIN_ADDR

arch/arm/configs/selinux_defconfig:9:warning: override: reassigning to symbol SECURITY_NETWORK

arch/arm/configs/selinux_defconfig:10:warning: override: reassigning to symbol SECURITY_SELINUX

arch/arm/configs/selinux_defconfig:13:warning: symbol value 'y' invalid for SECURITY_SELINUX_CHECKREQPROT_VALUE

arch/arm/configs/selinux_defconfig:15:warning: override: reassigning to symbol NF_CONNTRACK_SECMARK

arch/arm/configs/selinux_defconfig:16:warning: override: reassigning to symbol NETFILTER_XT_TARGET_CONNSECMARK

arch/arm/configs/selinux_defconfig:18:warning: override: reassigning to symbol IP_NF_SECURITY

KCONFIG_LOG_SELINUX((null))

KCONFIG_TIMA((null))

KCONFIG_DMVERITY((null))

KCONFIG_VARIANT(arch/arm/configs/apq8084_sec_trlte_eur_defconfig)

arch/arm/configs/apq8084_sec_trlte_eur_defconfig:113:warning: override: reassigning to symbol LEDS_MAX77828

arch/arm/configs/apq8084_sec_trlte_eur_defconfig:123:warning: override: reassigning to symbol TSPP

arch/arm/configs/apq8084_sec_trlte_eur_defconfig:127:warning: override: reassigning to symbol INPUT_GPIO

arch/arm/configs/apq8084_sec_trlte_eur_defconfig:159:warning: override: reassigning to symbol CRYPTO_NULL

KCONFIG_DEBUG((null))

#

# configuration written to .config

#

make[1]: Leaving directory `/home/leonard/rr/kernel/samsung/trlte'

host C: libsepol_32 <= external/libsepol/src/roles.c

host C: libsepol_32 <= external/libsepol/src/services.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/sidtab.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/symtab.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/user_record.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/users.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

host C: libsepol_32 <= external/libsepol/src/util.c

host C: libsepol_32 <= external/libsepol/src/write.c

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

In file included from <command-line>:0:0:

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]

./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]

Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkfc_intermediates/import_includes

Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/STATIC_LIBRARIES/libselinux_intermediates/import_includes

host C: libpcre_32 <= external/pcre/pcre_chartables.c

host C: libpcre_32 <= external/pcre/dist/pcre_byte_order.c

host C: libpcre_32 <= external/pcre/dist/pcre_compile.c

host C: libpcre_32 <= external/pcre/dist/pcre_config.c

host C: libpcre_32 <= external/pcre/dist/pcre_dfa_exec.c

external/pcre/dist/pcre_compile.c: In function 'compile_regex':

external/pcre/dist/pcre_compile.c:7184:13: warning: 'slot' may be used uninitialized in this function [-Wmaybe-uninitialized]

external/pcre/dist/pcre_compile.c:6560:19: note: 'slot' was declared here

host C: libpcre_32 <= external/pcre/dist/pcre_exec.c

host C: libpcre_32 <= external/pcre/dist/pcre_fullinfo.c

host C: libpcre_32 <= external/pcre/dist/pcre_get.c

host C: libpcre_32 <= external/pcre/dist/pcre_globals.c

host C: libpcre_32 <= external/pcre/dist/pcre_jit_compile.c

host C: libpcre_32 <= external/pcre/dist/pcre_maketables.c

host C: libpcre_32 <= external/pcre/dist/pcre_newline.c

host C: libpcre_32 <= external/pcre/dist/pcre_ord2utf8.c

host C: libpcre_32 <= external/pcre/dist/pcre_refcount.c

host C: libpcre_32 <= external/pcre/dist/pcre_string_utils.c

host C: libpcre_32 <= external/pcre/dist/pcre_study.c

host C: libpcre_32 <= external/pcre/dist/pcre_tables.c

host C: libpcre_32 <= external/pcre/dist/pcre_ucd.c

host C: libpcre_32 <= external/pcre/dist/pcre_valid_utf8.c

host C: libpcre_32 <= external/pcre/dist/pcre_version.c

host C: libpcre_32 <= external/pcre/dist/pcre_xclass.c

Notice file: external/libselinux/NOTICE -- /home/leonard/rr/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libselinux.a.txt

Notice file: external/sepolicy/NOTICE -- /home/leonard/rr/out/target/product/trltexx/obj/NOTICE_FILES/src//root/file_contexts.txt

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: No such file or directory

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: No such file or directory

make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbegin_static1.o] Error 127

make: *** Waiting for unfinished jobs....

make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbrand.o] Error 127

make: Leaving directory `/home/leonard/rr'

#### make failed to build some targets (02:20 (mm:ss)) ####

---------- Post added at 07:56 PM ---------- Previous post was at 07:53 PM ----------

My apologies for any inconvenience caused.

I have just started out on learning how to compile on my own and need more guidance on this.

Thank you for your kind understanding.