[HELP] Learning to use Linaro toolchain - build error - Nexus 5 Q&A, Help & Troubleshooting

Ey !
Im currently trying to build Euphoria OS for Nexus 5 using arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2015.03 toolchain from here.
I edited /build/envsetup.sh file like it :
Code:
# The gcc toolchain does not exists for windows/cygwin. In this case, do not reference it.
export ANDROID_TOOLCHAIN=
export ANDROID_TOOLCHAIN_2ND_ARCH=
local ARCH=$(get_build_var TARGET_ARCH)
case $ARCH in
x86) toolchaindir=x86/x86_64-linux-android-$targetgccversion/bin
;;
x86_64) toolchaindir=x86/x86_64-linux-android-$targetgccversion/bin
;;
arm) toolchaindir=arm/arm-cortex_a15-linux-gnueabihf-$targetgccversion/bin
;;
arm64) toolchaindir=aarch64/aarch64-linux-android-$targetgccversion/bin;
toolchaindir2=arm/arm-linux-androideabi-$targetgccversion2/bin
;;
mips|mips64) toolchaindir=mips/mips64el-linux-android-$targetgccversion/bin
;;
*)
echo "Can't find toolchain for unknown architecture: $ARCH"
toolchaindir=xxxxxxxxx
;;
esac
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ANDROID_TOOLCHAIN=$gccprebuiltdir/$toolchaindir
fi
if [ -d "$gccprebuiltdir/$toolchaindir2" ]; then
export ANDROID_TOOLCHAIN_2ND_ARCH=$gccprebuiltdir/$toolchaindir2
fi
unset ANDROID_KERNEL_TOOLCHAIN_PATH
case $ARCH in
arm)
# Legacy toolchain configuration used for ARM kernel compilation
toolchaindir=arm/arm-cortex_a15-linux-gnueabihf-$targetgccversion/bin
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ARM_EABI_TOOLCHAIN="$gccprebuiltdir/$toolchaindir"
ANDROID_KERNEL_TOOLCHAIN_PATH="$ARM_EABI_TOOLCHAIN":
fi
;;
*)
# No need to set ARM_EABI_TOOLCHAIN for other ARCHs
;;
esac
LINE 136 TO 178
I edited too, /build/core/combo/TARGET_linux-arm.mk, like it :
Code:
# Decouple NDK library selection with platform compiler version
$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := linaro_4.9.3-2015.03
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := linaro_4.9.3-2015.03
LINE 37 TO 41
Then, i face this error :
Code:
[email protected]:~$ cd '/home/thomas/Bureau/Euphoria-OS'
[email protected]:~/Bureau/Euphoria-OS$ . build/envsetup.sh
including device/moto/shamu/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/fugu/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/deb/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/htc/flounder/vendorsetup.sh
including vendor/eos/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/Bureau/Euphoria-OS/$ brunch hammerhead
including vendor/eos/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=5.1.1
ROM_VERSION=1.1-hammerhead-UNOFFICIAL-20150708
TARGET_PRODUCT=eos_hammerhead
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=linaro_4.9.3-2015.03
TARGET_NDK_GCC_VERSION=linaro_4.9.3-2015.03
TARGET_KERNEL_TOOLCHAIN=linaro_4.9.3-2015.03
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LYZ28E
OUT_DIR=/home/thomas/Bureau/Euphoria-OS/out
============================================
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=5.1.1
ROM_VERSION=1.1-hammerhead-UNOFFICIAL-20150708
TARGET_PRODUCT=eos_hammerhead
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=linaro_4.9.3-2015.03
TARGET_NDK_GCC_VERSION=linaro_4.9.3-2015.03
TARGET_KERNEL_TOOLCHAIN=linaro_4.9.3-2015.03
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LYZ28E
OUT_DIR=/home/thomas/Bureau/Euphoria-OS/out
============================================
find: `dummy': No such file or directory
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libloc_eng.so'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/lib/libloc_eng.so'
PRODUCT_COPY_FILES vendor/eos/prebuilt/common/vendor/lib/drm/libdrmwvmplugin.so:system/vendor/lib/drm/libdrmwvmplugin.so ignored.
build/core/Makefile:47: warning: overriding commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:552: warning: ignoring old commands for target `/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
PRODUCT_COPY_FILES vendor/eos/prebuilt/common/vendor/lib/mediadrm/libwvdrmengine.so:system/vendor/lib/mediadrm/libwvdrmengine.so ignored.
No private recovery resources for TARGET_DEVICE hammerhead
host C: acp <= build/tools/acp/acp.c
host StaticLib: libmincrypt_32 (/home/thomas/Bureau/Euphoria-OS/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
make -C kernel/lge/hammerhead O=/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/thomas/Bureau/Euphoria-OS/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2015.03/bin/arm-eabi-" headers_install
host StaticLib: libhost_32 (/home/thomas/Bureau/Euphoria-OS/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
make[1]: Entering directory `/home/thomas/Bureau/Euphoria-OS/kernel/lge/hammerhead'
host Executable: mkbootfs (/home/thomas/Bureau/Euphoria-OS/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libsepol_32 (/home/thomas/Bureau/Euphoria-OS/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/libsepol.a)
host StaticLib: libpcre_32 (/home/thomas/Bureau/Euphoria-OS/out/host/linux-x86/obj32/STATIC_LIBRARIES/libpcre_intermediates/libpcre.a)
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-linaro_4.9.3-2015.03/bin/arm-linux-androideabi-gcc: No such file or directory
make: *** [/home/thomas/Bureau/Euphoria-OS/out/target/product/hammerhead/obj/lib/crtbegin_static1.o] Error 127
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
make[1]: Leaving directory `/home/thomas/Bureau/Euphoria-OS/kernel/lge/hammerhead'
#### make failed to build some targets (08:04 (mm:ss)) ####
real 8m4.067s
user 2m41.268s
sys 0m32.045s
[email protected]:~/Bureau/Euphoria-OS$
I cant get rid of this error.
Does somebody knows what files do i need to edit to correctly build Euphoria ?
Thanks !

I used this thread to switch the tool chain ... Try it.

shri_chanakya said:
I used this thread to switch the tool chain ... Try it.
Click to expand...
Click to collapse
Trying right now, thanks man !
EDIT : Some errors i sucessfully fixed. Running now my optimized build

Related

[Q] Having issues building from source

I've been trying to compile jt's ICS rom, but I've been running into a number of different issues. I'm new to this whole thing, but I would really like to learn as much as possible and hopefully be able to start modding roms. I've done a ton of reading and trial/error all week (I started a few days before jt dropped ICS on the Infuse), but I seem to have hit a brick wall. Instead of bashing my head (and probably screwing things up more), I decided to stop and ask for help. Here is what I've done so far (I'm on OS X 10.7.3 btw):
I read the full "Getting Started" section of http://source.google.com (probably twice by now), and followed their instructions for initializing the build environment in OS X (i.e. getting all necessary software, creating a case-sensitive dev environment, initializing and syncing repo, etc)
I did the OS X 10.7 "hacks" from the CM wiki's SGS II compile guide.
Cloned the following repos from jt:
android_device_samsung_infuse4g
android_device_samsung_aries-common
android_vendor_cm
android_kernel_samsung_dempsey
(I'm switching to the terminal commands + output in code boxes now)
[email protected]:/Volumes/android/ROM_DIR$ . build/envsetup.sh
Code:
including device/samsung/maguro/vendorsetup.sh
including device/samsung/tuna/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:/Volumes/android/ROM_DIR$ lunch full_infuse4g-eng
Code:
build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/infuse4g/full_infuse4g.mk]]: "vendor/samsung/aries-common/aries-vendor-blobs.mk" does not exist. Stop.
** Don't have a product spec for: 'full_infuse4g'
** Do you have the right repo manifest?
I noticed that jt's extract-files.sh is saving some blobs as 'infuse-vendor-blobs.mk' so I cp'd them to the name/location above:
[email protected]:/Volumes/android/ROM_DIR$ sudo cp vendor/samsung/infuse4g/infuse4g-vendor-blobs.mk vendor/samsung/aries-common/aries-vendor-blobs.mk
I re-read CM's build wiki and saw that they cp the device's buildspec.mk to system/buildspec.mk
[email protected]:/Volumes/android/ROM_DIR$ sudo cp device/samsung/infuse4g/infuse4g.mk system/buildspec.mk
[email protected]:/Volumes/android/ROM_DIR$ . build/envsetup.sh
Code:
including device/samsung/maguro/vendorsetup.sh
including device/samsung/tuna/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:/Volumes/android/ROM_DIR$ lunch full_infuse4g-eng
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full_infuse4g
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
[email protected]:/Volumes/android/ROM_DIR$ make -j4 otapackage
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full_infuse4g
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
Checking build tools versions...
Please install the 10.5 SDK on this machine at /Developer/SDKs/MacOSX10.5.sdk
external/qemu/Makefile.android:82: *** Aborting the build.. Stop.
Created a symlink for the OS X SDK in the location above:
[email protected]:/Volumes/android/ROM_DIR$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk /Developer/SDKs/MacOSX10.5.sdk
[email protected]:/Volumes/android/ROM_DIR$ make -j4 otapackage
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full_infuse4g
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D
============================================
build/core/Makefile:25: warning: overriding commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:25: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/infuse4g/system/bin/rild'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/rild'
No private recovery resources for TARGET_DEVICE infuse4g
Header: out/host/darwin-x86/obj/include/libexpat/expat.h
Header: out/host/darwin-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat_external.h
Header: out/host/darwin-x86/obj/include/libpng/png.h
Header: out/host/darwin-x86/obj/include/libpng/pngconf.h
Header: out/host/darwin-x86/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libpng/png.h
Header: out/target/product/infuse4g/obj/include/libpng/pngconf.h
Header: out/target/product/infuse4g/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_types.h
Header: out/target/product/infuse4g/obj/include/libsonivox/jet.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/infuse4g/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/infuse4g/obj/include/libwpa_client/wpa_ctrl.h
Notice file: system/core/libmincrypt/NOTICE -- out/host/darwin-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
Directory: out/target/product/infuse4g/root/sbin
Directory: out/target/product/infuse4g/root/dev
Directory: out/target/product/infuse4g/root/proc
Directory: out/target/product/infuse4g/root/system
Directory: out/target/product/infuse4g/root/sys
Directory: out/target/product/infuse4g/root/data
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtend_so.o -c bionic/libc/arch-arm/bionic/crtend_so.S
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtend_android.o -c bionic/libc/arch-arm/bionic/crtend.S
Notice file: system/core/init/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//root/init.txt
Notice file: system/core/liblog/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/liblog.a.txt
Notice file: system/core/libcutils/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libcutils.a.txt
Notice file: bionic/libc/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libc.a.txt
Notice file: bionic/libc/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libc.so.txt
Notice file: bionic/libc/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libc_common.a.txt
Notice file: bionic/libdl/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libdl.so.txt
Notice file: bionic/libstdc++/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libstdc++.so.txt
make: *** No rule to make target `device/samsung/aries-common/lpm.rc', needed by `out/target/product/infuse4g/root/lpm.rc'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: bionic/libm/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//system/lib/libm.so.txt
Notice file: system/core/adb/NOTICE -- out/target/product/infuse4g/obj/NOTICE_FILES/src//root/sbin/adbd.txt
A couple notices and warnings in the output above, but this is the error that stopped it:
make: *** No rule to make target `device/samsung/aries-common/lpm.rc', needed by `out/target/product/infuse4g/root/lpm.rc'. Stop.
How do I fix that? Also, were my assumptions earlier about cp'ing the blobs and the buildspec correct, or did I just mess things up?
Any help would be greatly appreciated, even if it is a link to a step that I might have missed in the compile process. Thanks in advance!
(Mods: I couldn't decide if this belongs in development or Q&A...if it's in the wrong section, let me know and I'll remove & repost in the right place)

[DEV][cm10]Source build : Jelly Bean[help needed]

Guys currently i am downloading the cm10 sources and its 91% done after the completion i will start the development, so the thing is to post this thread is that i want some dev's who are ready to help me in this project. See i am not doing this for me its for all of us...I am not forcing anyone here to join me and all.. i just want some interested ppls who are ready to help ..
jus comment if you are willing to join and make it a success ... thank you.
I am not a DEV and dont have that much knowledge but i would be very glad to help u and those people who hav a lil'bit concerne for our device.....!!!
I AM THERE WITH U BR:angel:
download of JB source completed
Guys good news i ve just now completed the JB source download
Good luck bro
Sent from my GT-S5670 using xda premium
got like this now ...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
what cmd ive to use to make a flashable zip file ??... pls help ....
Ravi H Basawa said:
got like this now ...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
what cmd ive to use to make a flashable zip file ??... pls help ....
Click to expand...
Click to collapse
Try this:
Code:
$ make -j# otapackage
- Via xda premium
i got the following
[email protected]:~/android/system$ make -j# otapackage
make: the `-j' option requires a positive integral argument
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
This program built for i486-pc-linux-gnu
Report bugs to <[email protected]>
how much progress bro????
is all things goin good???
i am trying to contact some dev's to help us out in this project and if they agree i will let u know 1st as soon as possible. ..
till then carry on with jb and do as much a u can bro coz we hav to make this a success..
maybe this can help...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---------- Post added at 04:35 PM ---------- Previous post was at 04:13 PM ----------
noypi_101 said:
maybe this can help...
Click to expand...
Click to collapse
http://www.kernel-xp.net/index.php/en/guide/25-android/32-compilare-cm10
sudarshan_mehta said:
how much progress bro????
is all things goin good???
i am trying to contact some dev's to help us out in this project and if they agree i will let u know 1st as soon as possible. ..
till then carry on with jb and do as much a u can bro coz we hav to make this a success..
Click to expand...
Click to collapse
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
which version ??
Ravi H Basawa said:
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
Click to expand...
Click to collapse
Which version are you building ?? is it the 2.6 one with certain addons and work arounds or your own one from scratch like the one hillbeast is making 3.4.x ?
oh and what file system are you gonna use mtd OR flash.
Dark Passenger said:
Which version are you building ?? is it the 2.6 one with certain addons and work arounds or your own one from scratch like the one hillbeast is making 3.4.x ?
oh and what file system are you gonna use mtd OR flash.
Click to expand...
Click to collapse
i m building on 2.6.xx and file system m using is flash
help me with this
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
[email protected]:~/android/system$ make -j12 otapackage
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
external/v8/Android.mk:22: WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.
find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
PRODUCT_COPY_FILES device/samsung/msm7x27-common/prebuilt/lib/hw/gps.msm7x27.so:system/lib/hw/gps.msm7x27.so ignored.
PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
No private recovery resources for TARGET_DEVICE beni
build/core/tasks/kernel.mk:44: ***************************************************************
build/core/tasks/kernel.mk:45: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:46: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:47: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:48: * source repository to kernel/samsung/msm7x27
build/core/tasks/kernel.mk:49: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:50: * for more information *
build/core/tasks/kernel.mk:51: ***************************************************************
make: *** No rule to make target `out/target/product/beni/kernel', needed by `out/target/product/beni/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/ravihbasawa/android/system/out/host/linux-x86/bin/mkbootimg
can any one help me with this
[email protected]:~/android/system$ make -j12 otapackage
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_beni
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-42-generic-i686-with-Ubuntu-10.04-lucid
HOST_BUILD_TYPE=release
BUILD_ID=JRO03L
OUT_DIR=out
============================================
external/v8/Android.mk:22: WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.
find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/mkshrc'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/hw/gps.msm7x27.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/egl.cfg'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/lib/egl/libGLES_android.so'
build/core/Makefile:38: warning: overriding commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
build/core/base_rules.mk:530: warning: ignoring old commands for target `out/target/product/beni/system/etc/permissions/platform.xml'
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
PRODUCT_COPY_FILES device/samsung/msm7x27-common/prebuilt/lib/hw/gps.msm7x27.so:system/lib/hw/gps.msm7x27.so ignored.
PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
No private recovery resources for TARGET_DEVICE beni
make -C kernel/samsung/msm7x27 O=/home/ravihbasawa/android/system/out/target/product/beni/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ravihbasawa/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_beni_defconfig
make[1]: Entering directory `/home/ravihbasawa/android/system/kernel/samsung/msm7x27'
host C: mkbootfs <= system/core/cpio/mkbootfs.c
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -Ibionic/libc/arch-arm/include -o out/target/product/beni/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
Export includes file: system/core/libcutils/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/libcutils_intermediates/export_includes
Export includes file: system/core/liblog/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/liblog_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- out/target/product/beni/obj/STATIC_LIBRARIES/libc_intermediates/export_includes
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
make: *** [out/target/product/beni/obj/lib/crtbegin_static.o] Error 126
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/ravihbasawa/android/system/out/target/product/beni/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/usb/gadget/Kconfig:849:warning: defaults for choice values not supported
drivers/usb/gadget/Kconfig:1089:warning: defaults for choice values not supported
arch/arm/configs/cyanogenmod_beni_defconfig:670:warning: override: reassigning to symbol NETFILTER_TPROXY
arch/arm/configs/cyanogenmod_beni_defconfig:1298:warning: override: reassigning to symbol ECOMPASS
#
# configuration written to .config
#
make[1]: Leaving directory `/home/ravihbasawa/android/system/kernel/samsung/msm7x27'
Ravi H Basawa said:
ya everything is fine the only thing is i left out with a kernel now i am building kernel for it. After the completion of kernel building only the real battle starts
Click to expand...
Click to collapse
Why are you building karnel use karnel from that tjstyle made it works with jb (TheWhisp, Squadzone, erikcas did some changes to it ) it works great
https://github.com/TheWhisp/android_kernel_samsung_msm7x27
hdiablo said:
Why are you building karnel use karnel from that tjstyle made it works with jb (TheWhisp, Squadzone, erikcas did some changes to it ) it works great
https://github.com/TheWhisp/android_kernel_samsung_msm7x27
Click to expand...
Click to collapse
i tried the above but still i am not getting a flashable zip file as output ..! .. can u help me with this ? i made a folder in android/system as kernel/samsung/msm7x27 .. but im not getting so ...
Ravi H Basawa said:
i tried the above but still i am not getting a flashable zip file as output ..! .. can u help me with this ? i made a folder in android/system as kernel/samsung/msm7x27 .. but im not getting so ...
Click to expand...
Click to collapse
Going to collage i have exams these days only 3 left and i am finished finaly so i really dont have time you can take finished one from whisps build and just put it in your rom it should work great
http://androtransfer.com/?developer=thewhisp&folder=beni
Thanks a lot bro for developing cm 10 for our galfit..i don't think the whisp is much interested in developing for fit..
But you are really dedicated one..
But being a commerce student ,can't help even if want to
Sent from my GT-S5670 using xda app-developers app
---------- Post added at 03:32 AM ---------- Previous post was at 03:28 AM ----------
One suggestion ,you should start a thread in dev section ...if you want helpers and testers..
Bcoz hardly 10 percent people visit gen thread compared to the dev one..
Just a suggestion
Sent from my GT-S5670 using xda app-developers app
cm10 for galaxy fit ??
Hi man great work you are doing a suggestion why dont you try and work with thewisp and built a full working bug free cm10 for galaxy fit as he is very close to a perfect release and since you are a dev for fit it just might benifit all involved just asking.
Any news ??

[Q] Error while compile CWM from source

I tried to compile CyanogenMod 11 for my device [Coolpad 8085 (lc1810_8190)].
There is a problem when I run this command.
Code:
. build/tools/device/makerecoveries.sh cm_lc1810_8190-eng
Code:
cm_lc1810_8190-eng
1 Products
Recovery Version: 6.0.4.8
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140511-UNOFFICIAL-lc1810_8190
TARGET_PRODUCT=cm_lc1810_8190
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-60-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=CyanogenMod/out
============================================
CyanogenMod/out/target/product/lc1810_8190/obj/APPS/SignatureTest_intermediates
find: 'src': No such file or directory
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE lc1810_8190
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file *
build/core/tasks/kernel.mk:95: **********************************************************
build/core/tasks/kernel.mk:198: warning: overriding commands for target 'CyanogenMod/out/target/product/lc1810_8190/kernel'
build/core/Makefile:44: warning: ignoring old commands for target 'CyanogenMod/out/target/product/lc1810_8190/kernel'
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/nandroid-md5.sh
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/killrecovery.sh
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/parted
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/sdparted
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/install-su.sh
target StaticExecutable: su.recovery (CyanogenMod/out/target/product/lc1810_8190/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/LINKED/su.recovery)
Install: CyanogenMod/out/target/product/lc1810_8190/recovery/root/sbin/run-su-daemon.sh
target StaticExecutable: recovery_e2fsck (CyanogenMod/out/target/product/lc1810_8190/obj/RECOVERY_EXECUTABLES/recovery_e2fsck_intermediates/LINKED/e2fsck)
CyanogenMod/out/target/product/lc1810_8190/obj/lib/crtbegin_static.o:crtbrand.c:function _start: error: undefined reference to '__libc_init'
..............................many errors like this..........................
......
......
collect2: error: ld returned 1 exit status
make: *** [CyanogenMod/out/target/product/lc1810_8190/obj/RECOVERY_EXECUTABLES/su.recovery_intermediates/LINKED/su.recovery] Error 1
make: *** Waiting for unfinished jobs....
....
collect2: error: ld returned 1 exit status
make: *** [CyanogenMod/out/target/product/lc1810_8190/obj/RECOVERY_EXECUTABLES/recovery_e2fsck_intermediates/LINKED/e2fsck] Error 1
build error!
At first I guess if something was lost, then I download bionic/libc/private, but the problem doesn't gone.
I want to build a Cyanogenmod 11 for my device because the offical rom is too ugly and too old.
Thanks a lot.

[Completed] Errors whilst compiling

Hey, I'm a maintainer for the OwnROM, I was trying to make a build for the i9300 when I got this error
Code:
including vendor/ownrom/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
OWNROM_VERSION=OWNROM-v1.0.3-OFFICIAL
TARGET_PRODUCT=ownrom_i9300
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-38-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/media/alectradar/sdb2/Android/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
OWNROM_VERSION=OWNROM-v1.0.3-OFFICIAL
TARGET_PRODUCT=ownrom_i9300
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-38-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/media/alectradar/sdb2/Android/out
============================================
/media/alectradar/sdb2/Android/out/target/product/i9300/obj/APPS/SignatureTest_intermediates
"ebtables is disabled on this build"
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
PRODUCT_COPY_FILES device/samsung/smdk4412-common/rootdir/init.trace.rc:root/init.trace.rc ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimc.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimc.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimg.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimg.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwconverter.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwconverter.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwjpeg.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwjpeg.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libUMP.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libUMP.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/hw/sensors.smdk4x12.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/hw/sensors.smdk4x12.so'
No private recovery resources for TARGET_DEVICE i9300
make -C kernel/samsung/smdk4412 O=/media/alectradar/sdb2/Android/out/target/product/i9300/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/media/alectradar/sdb2/Android/prebuilts/misc/linux-x86/ccache/ccache /media/alectradar/sdb2/Android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_i9300_defconfig
host Executable: mkbootimg (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
make[1]: Entering directory `/media/alectradar/sdb2/Android/kernel/samsung/smdk4412'
host Executable: acp (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host Executable: checkpolicy (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/checkpolicy)
host Executable: checkfc (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/checkfc_intermediates/checkfc)
host Executable: clang-tblgen (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/clang-tblgen)
host Executable: tblgen (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_bionic_intermediates/libc_bionic.a]
target StaticLib: liblogwrap (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/liblogwrap_intermediates/liblogwrap.a)
target StaticLib: libext4_utils_static (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/libext4_utils_static.a)
target StaticLib: libbatteryservice (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/libbatteryservice.a)
target StaticLib: libbinder (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbinder_intermediates/libbinder.a)
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_freebsd_intermediates/libc_freebsd.a]
arch/arm/mach-exynos/Kconfig:883:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
#
# configuration written to .config
#
make[1]: Leaving directory `/media/alectradar/sdb2/Android/kernel/samsung/smdk4412'
target StaticLib: libutils (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a)
host Executable: minigzip (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip)
target StaticLib: libext2fs (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a)
Symlink: /media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root/sbin/fsck.exfat -> mount.exfat
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
Symlink: /media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root/sbin/mkfs.exfat -> mount.exfat
make: *** No rule to make target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/EXECUTABLES/recovery_intermediates/recovery', needed by `/media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root.ts'. Stop.
make: *** Waiting for unfinished jobs....
Could anyone help me out here? I've built a build successfully last week, but after a repo sync, this happened. (I'm asking here because the ROM Owner is in a personal crisis. Also, I'm relatively new to all this, so please no hate )
Hi,
You may be new to compliling, but not XDA. I'm confident you know your way around the site as well as searching. ?
Please review the purpose of xda assist sticky,
http://forum.xda-developers.com/showthread.php?t=2764768
Thank you for understanding and thread closed.

Error while building any AOSP ROM on MAC

I'm getting this error when trying to build any ROM on my MAC. I haven't even managed to build a single ROM due to this issue.
The code below is for the pixel experience ROM based on android 10 and the device I'm building for is the Xiaomi Redmi Note 3(kenzo).
All ROMs give me the exact same error.
Please help me guys. Really wanna learn...
The error:
Code:
PANKAJs-iMac:firstrom pankajjaiswal$ lunch aosp_kenzo-userdebug
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Trying dependencies-only mode on a non-existing device tree?
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
CUSTOM_VERSION=PixelExperience_kenzo-10.0-20200224-1205-UNOFFICIAL
TARGET_PRODUCT=aosp_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=QQ1B.200205.002
OUT_DIR=/Volumes/android/firstrom/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8952 frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice
============================================
PANKAJs-iMac:firstrom pankajjaiswal$ mka bacon -j4
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
CUSTOM_VERSION=PixelExperience_kenzo-10.0-20200224-1206-UNOFFICIAL
TARGET_PRODUCT=aosp_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=QQ1B.200205.002
OUT_DIR=/Volumes/android/firstrom/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8952 frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice
============================================
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
[100% 140/140] initializing build system ...
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
[ 24% 142/584] including art/Android.mk ...
art/build/Android.common.mk:51: warning: unsupported HOST_ARCH=x86_64
[ 59% 348/584] including hardware/qcom-caf/msm8952/Android.mk ...
hardware/qcom-caf/msm8952/media/Android.mk:4: warning: target list is : msm8952
[100% 584/584] writing build rules ...
build/make/core/base_rules.mk:495: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/bin/wcnss_service'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/bin/wcnss_service'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/bin/hw/rild'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/bin/hw/rild'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/libril.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/libril.so'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib64/libril.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib64/libril.so'
[ 2% 1980/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:384:11: warning: unused variable 'lasts' [-Wunused-variable]
char *lasts;
^
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:385:22: warning: unused variable 'config_value' [-Wunused-variable]
loc_param_v_type config_value;
^
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:386:14: warning: unused variable 'i' [-Wunused-variable]
uint32_t i;
^
3 warnings generated.
[ 2% 1986/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/data-items/DataItemsFactoryProxy.cpp:71:79: warning: format specifies type 'unsigned int' but the argument has type 'loc_core::get_concrete_data_item_fn *' (aka 'loc_core::IDataItemCore *(*)(e_DataItemId)') [-Wformat]
LOC_LOGD("Loaded function %s : %x",DATA_ITEMS_GET_CONCRETE_DI,getConcreteDIFunc);
~~ ^~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/utils/log_util.h:110:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:226:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:331:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:94:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:85:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
[ 2% 1987/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/loc_core_log.cpp:105:34: warning: variable 'loc_eng_aiding_data_bits' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static const loc_name_val_s_type loc_eng_aiding_data_bits[] =
^
device/xiaomi/msm8956-common/gps/core/loc_core_log.cpp:121:18: warning: unused variable 'loc_eng_aiding_data_bit_num' [-Wunused-const-variable]
static const int loc_eng_aiding_data_bit_num = sizeof(loc_eng_aiding_data_bits) / sizeof(loc_name_val_s_type);
^
2 warnings generated.
[ 2% 1991/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_target.cpp:216:9: warning: unused variable 'ret' [-Wunused-variable]
int ret = 0;
^
1 warning generated.
[ 2% 2008/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:985:11: warning: unused variable 'pMarker' [-Wunused-variable]
char* pMarker = sentence;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:986:9: warning: unused variable 'lengthRemaining' [-Wunused-variable]
int lengthRemaining = sizeof(sentence);
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:987:9: warning: unused variable 'length' [-Wunused-variable]
int length = 0;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:989:9: warning: unused variable 'sentenceCount' [-Wunused-variable]
int sentenceCount = 0;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:990:9: warning: unused variable 'sentenceNumber' [-Wunused-variable]
int sentenceNumber = 1;
^
5 warnings generated.
[ 2% 2024/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1423:37: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusNetworkInfo *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1423:37: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1570:12: warning: 26 enumeration values not handled in switch: 'INVALID_DATA_ITEM_ID', 'AIRPLANEMODE_DATA_ITEM_ID', 'ENH_DATA_ITEM_ID'... [-Wswitch]
switch(dataitem->getId())
^
2 warnings generated.
[ 2% 2034/80076] target C++: libgnss <= device/xiaomi/msm8956-common/gps/gnss
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:205:33: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusNetworkInfo *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
reinterpret_cast<SystemStatusNetworkInfo*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:205:33: note: use 'static_cast' to adjust the pointer correctly while downcasting
reinterpret_cast<SystemStatusNetworkInfo*>(each);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:213:48: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusTac *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusTac* tac = reinterpret_cast<SystemStatusTac*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:213:48: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusTac* tac = reinterpret_cast<SystemStatusTac*>(each);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:220:54: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusMccMnc *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusMccMnc* mccmnc = reinterpret_cast<SystemStatusMccMnc*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:220:54: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusMccMnc* mccmnc = reinterpret_cast<SystemStatusMccMnc*>(each);
^~~~~~~~~~~~~~~~
static_cast
3 warnings generated.
[ 2% 2036/80076] target C++: liblocation_api <= device/xiaomi/msm8956-common/
device/xiaomi/msm8956-common/gps/location/LocationAPIClientBase.cpp:156:18: warning: unused variable 'session' [-Wunused-variable]
uint32_t session = 0;
^
1 warning generated.
[ 3% 2406/80076] target C: libwpa_client <= external/wpa_supplicant_8/wpa_sup
external/wpa_supplicant_8/wpa_supplicant/src/common/wpa_ctrl.c:291:9: warning: 'readdir_r' is deprecated: readdir_r is deprecated; use readdir instead [-Wdeprecated-declarations]
while (readdir_r(dir, &entry, &result) == 0 && result != NULL) {
^
bionic/libc/include/dirent.h:83:92: note: 'readdir_r' has been explicitly marked deprecated here
int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer) __attribute__((__deprecated__("readdir_r is deprecated; use readdir instead")));
^
1 warning generated.
[ 3% 2447/80076] Building Kernel Config
FAILED: /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config
/bin/bash -c "(PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= lineageos_kenzo_defconfig ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >> /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config; PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" oldconfig; fi ) && (PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" savedefconfig ) && (if [ ! -z \"\" ]; then echo \"Using additional config ''\"; kernel/xiaomi/msm8956/scripts/kconfig/merge_config.sh -m -O /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config kernel/xiaomi/msm8956/arch/arm64/configs/; PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" KCONFIG_ALLCONFIG=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
GEN /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/fixdep
couldn't understand kern.osversion `17.7.0'
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
make[2]: *** [scripts/Makefile.host:118: scripts/basic/fixdep] Error 1
make[1]: *** [/Volumes/android/firstrom/kernel/xiaomi/msm8956/Makefile:425: scripts_basic] Error 2
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
17:49:38 ninja failed with: exit status 1
#### failed to build some targets (13:45 (mm:ss)) ####
PANKAJs-iMac:firstrom pankajjaiswal$
Seppppx said:
I don't know what the error means, but this is the error.
KCONFIG_ALLCONFIG=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
GEN /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/fixdep
couldn't understand kern.osversion `17.7.0'
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
make[2]: *** [scripts/Makefile.host:118: scripts/basic/fixdep] Error 1
make[1]: *** [/Volumes/android/firstrom/kernel/xiaomi/msm8956/Makefile:425: scripts_basic] Error 2
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
17:49:38 ninja failed with: exit status 1
#### failed to build some targets (13:45 (mm:ss))
Click to expand...
Click to collapse
Ye ik,
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
But I can't figure out why, I know some people that compilation on Catalina is not broken. I'm running High Sierra tho
Can someone help?
Bro did u solve it?
0

Categories

Resources