Kernel build issue: gen_initramfs_list.sh Cannot open destinasion - Android Q&A, Help & Troubleshooting

Hey
I am having a hickup regarding a kernel, upon building SlimBean Rom.
error:
Target boot image: out/target/product/p6800/boot.img
make -C kernel/samsung/smdk4210 O=/home/userx/Android/SLIM/out/target/product/p6800/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/userx/Android/SLIM/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" CONFIG_INITRAMFS_SOURCE=out/target/product/p6800/root zImage
----- Making recovery filesystem ------
mkdir -p out/target/product/p6800/recovery
mkdir -p out/target/product/p6800/recovery/root
mkdir -p out/target/product/p6800/recovery/root/etc
mkdir -p out/target/product/p6800/recovery/root/tmp
Copying baseline ramdisk...
cp -R out/target/product/p6800/root out/target/product/p6800/recovery
rm out/target/product/p6800/recovery/root/init*.rc
Modifying ramdisk contents...
cp -f device/samsung/smdk4210-tab/recovery.rc out/target/product/p6800/recovery/root/init.rc
make[1]: Entering directory `/home/userx/Android/SLIM/kernel/samsung/smdk4210'
cp -f out/target/product/p6800/obj/EXECUTABLES/recovery_intermediates/recovery out/target/product/p6800/recovery/root/sbin/
rm -f out/target/product/p6800/recovery/root/init.*.rc
mkdir -p out/target/product/p6800/recovery/root/system/bin
cp -rf bootable/recovery/res out/target/product/p6800/recovery/root/
cp -f device/samsung/p6800/recovery.fstab out/target/product/p6800/recovery/root/etc/recovery.fstab
cp out/target/product/p6800/obj/PACKAGING/ota_keys_intermediates/keys out/target/product/p6800/recovery/root/res/keys
cat out/target/product/p6800/root/default.prop out/target/product/p6800/system/build.prop \
> out/target/product/p6800/recovery/root/default.prop
Modifying default.prop
sed -i 's/ro.build.date.utc=.*/ro.build.date.utc=0/g' out/target/product/p6800/recovery/root/default.prop
----- Made recovery filesystem -------- out/target/product/p6800/recovery/root
target Dex: core-junit
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/noproguard.classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v13_intermediates/classes-jarjar.jar
target SharedLib: libcorkscrew (out/target/product/p6800/obj/SHARED_LIBRARIES/libcorkscrew_intermediates/LINKED/libcorkscrew.so)
target SharedLib: libhardware (out/target/product/p6800/obj/SHARED_LIBRARIES/libhardware_intermediates/LINKED/libhardware.so)
target SharedLib: libsecion (out/target/product/p6800/obj/SHARED_LIBRARIES/libsecion_intermediates/LINKED/libsecion.so)
target SharedLib: libwpa_client (out/target/product/p6800/obj/SHARED_LIBRARIES/libwpa_client_intermediates/LINKED/libwpa_client.so)
target SharedLib: libnetutils (out/target/product/p6800/obj/SHARED_LIBRARIES/libnetutils_intermediates/LINKED/libnetutils.so)
target SharedLib: libaudioutils (out/target/product/p6800/obj/SHARED_LIBRARIES/libaudioutils_intermediates/LINKED/libaudioutils.so)
target SharedLib: libstagefright_yuv (out/target/product/p6800/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/userx/Android/SLIM/out/target/product/p6800/system/lib/libcutils.so
Install: /home/userx/Android/SLIM/out/target/product/p6800/system/lib/libicui18n.so
target Symbolic: libjpeg (out/target/product/p6800/symbols/system/lib/libjpeg.so)
target Symbolic: libusbhost (out/target/product/p6800/symbols/system/lib/libusbhost.so)
target Symbolic: libbluedroid (out/target/product/p6800/symbols/system/lib/libbluedroid.so)
target Symbolic: libdbus (out/target/product/p6800/symbols/system/lib/libdbus.so)
target Symbolic: applypatch (out/target/product/p6800/symbols/system/bin/applypatch)
target Symbolic: libbluetooth (out/target/product/p6800/symbols/system/lib/libbluetooth.so)
target Symbolic: bugreport (out/target/product/p6800/symbols/system/bin/bugreport)
target Symbolic: dnsmasq (out/target/product/p6800/symbols/system/bin/dnsmasq)
target Symbolic: dump_image (out/target/product/p6800/symbols/system/bin/dump_image)
target Symbolic: dumpstate (out/target/product/p6800/symbols/system/bin/dumpstate)
target Executable: e2fsck (out/target/product/p6800/obj/EXECUTABLES/e2fsck_intermediates/LINKED/e2fsck)
Install: /home/userx/Android/SLIM/out/target/product/p6800/system/lib/libext2fs.so
target Symbolic: erase_image (out/target/product/p6800/symbols/system/bin/erase_image)
target Symbolic: flash_image (out/target/product/p6800/symbols/system/bin/flash_image)
target Symbolic: installd (out/target/product/p6800/symbols/system/bin/installd)
target Symbolic: keystore_cli (out/target/product/p6800/symbols/system/bin/keystore_cli)
Install: /home/userx/Android/SLIM/out/target/product/p6800/system/bin/make_ext4fs
GEN /home/userx/Android/SLIM/out/target/product/p6800/obj/KERNEL_OBJ/Makefile
target Symbolic: mdnsd (out/target/product/p6800/symbols/system/bin/mdnsd)
target Symbolic: mke2fs (out/target/product/p6800/symbols/system/bin/mke2fs)
target Symbolic: mtpd (out/target/product/p6800/symbols/system/bin/mtpd)
target Symbolic: libeffects (out/target/product/p6800/symbols/system/lib/libeffects.so)
target Symbolic: ndc (out/target/product/p6800/symbols/system/bin/ndc)
target Symbolic: libsysutils (out/target/product/p6800/symbols/system/lib/libsysutils.so)
target Symbolic: libmdnssd (out/target/product/p6800/symbols/system/lib/libmdnssd.so)
CHK include/linux/version.h
target Symbolic: pppd (out/target/product/p6800/symbols/system/bin/pppd)
CHK include/generated/utsrelease.h
target Symbolic: qemu-props (out/target/product/p6800/symbols/system/bin/qemu-props)
target Symbolic: qemud (out/target/product/p6800/symbols/system/bin/qemud)
Using /home/userx/Android/SLIM/kernel/samsung/smdk4210 as source for kernel
target Symbolic: racoon (out/target/product/p6800/symbols/system/bin/racoon)
target Symbolic: radiooptions (out/target/product/p6800/symbols/system/bin/radiooptions)
target Symbolic: screenshot (out/target/product/p6800/symbols/system/bin/screenshot)
target Symbolic: sec_keyboard (out/target/product/p6800/symbols/system/bin/sec_keyboard)
make[3]: `include/generated/mach-types.h' is up to date.
target Symbolic: setup_fs (out/target/product/p6800/symbols/system/bin/setup_fs)
target Symbolic: tune2fs (out/target/product/p6800/symbols/system/bin/tune2fs)
CALL /home/userx/Android/SLIM/kernel/samsung/smdk4210/scripts/checksyscalls.sh
target Symbolic: vdc (out/target/product/p6800/symbols/system/bin/vdc)
CHK include/generated/compile.h
target Symbolic: libdiskconfig (out/target/product/p6800/symbols/system/lib/libdiskconfig.so)
/home/userx/Android/SLIM/kernel/samsung/smdk4210/scripts/gen_initramfs_list.sh: Cannot open 'out/target/product/p6800/root'
make[3]: *** [usr/initramfs_data.cpio] Error 1
make[2]: *** [usr] Error 2
make[2]: *** Waiting for unfinished jobs....
target Symbolic: wpa_cli (out/target/product/p6800/symbols/system/bin/wpa_cli)
target Symbolic: wpa_supplicant (out/target/product/p6800/symbols/system/bin/wpa_supplicant)
target Symbolic: ip-up-vpn (out/target/product/p6800/symbols/system/etc/ppp/ip-up-vpn)
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/userx/Android/SLIM/kernel/samsung/smdk4210'
make: *** [out/target/product/p6800/boot.img] Error 2
make: *** Waiting for unfinished jobs....
Elapsed: 31 min(s) 34 sec(s)
I checked the .config after make slim_p6800_defconfig and the CONFIG_INITRAMFS_SOURCE is set to empty. I can make the kernel fine, but when building rom it stops with above error.
What am I looking at here?

Related

[Q] 2011-11-26|Compile CM for vivo get "libaudio.so" error

Code:
Install: out/host/linux-x86/framework/layoutlib_create.jar
Install: out/host/linux-x86/framework/makedict.jar
Install: out/host/linux-x86/framework/mkstubs.jar
Install: out/host/linux-x86/framework/xmlwriter.jar
Install: out/host/linux-x86/framework/ninepatch.jar
host Prebuilt: osgi (out/host/common/obj/JAVA_LIBRARIES/osgi_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/preload.jar
Install: out/host/linux-x86/framework/screenshot2.jar
Install: out/target/product/vivo/data/app/test_algorithm_host
Install: out/target/product/vivo/data/app/test_char_traits_host
Install: out/target/product/vivo/data/app/test_functional_host
Install: out/target/product/vivo/data/app/test_iomanip_host
Install: out/target/product/vivo/data/app/test_ios_base_host
Install: out/target/product/vivo/data/app/test_ios_pos_types_host
Install: out/target/product/vivo/data/app/test_iostream_host
Install: out/target/product/vivo/data/app/test_iterator_host
Install: out/target/product/vivo/data/app/test_limits_host
Install: out/target/product/vivo/data/app/test_list_host
Install: out/target/product/vivo/data/app/test_memory_host
Install: out/target/product/vivo/data/app/test_set_host
Install: out/target/product/vivo/data/app/test_sstream_host
Install: out/target/product/vivo/data/app/test_streambuf_host
Install: out/target/product/vivo/data/app/test_string_host
Install: out/target/product/vivo/data/app/test_type_traits_host
Install: out/target/product/vivo/data/app/test_uninitialized_host
Install: out/target/product/vivo/data/app/test_vector_host
target Non-prelinked: init (out/target/product/vivo/symbols/init)
Install: out/target/product/vivo/system/lib/libdl.so
target Non-prelinked: adbd (out/target/product/vivo/symbols/sbin/adbd)
target Non-prelinked: recovery (out/target/product/vivo/symbols/system/bin/recovery)
Install: out/host/linux-x86/lib/libESR_Shared.so
Install: out/host/linux-x86/bin/dx
target Non-prelinked: libandroidterm2 (out/target/product/vivo/symbols/system/lib/libandroidterm2.so)
Install: out/target/product/vivo/system/app/Androidian.apk
Copying: out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/droiddoc.jar
Install: out/host/linux-x86/lib/libneo_cs.so
Copying: out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/vivo/system/app/Cyanbread.apk
target Non-prelinked: InputChannel_test (out/target/product/vivo/symbols/system/bin/InputChannel_test)
target Non-prelinked: InputDispatcher_test (out/target/product/vivo/symbols/system/bin/InputDispatcher_test)
target Non-prelinked: InputPublisherAndConsumer_test (out/target/product/vivo/symbols/system/bin/InputPublisherAndConsumer_test)
target Non-prelinked: InputReader_test (out/target/product/vivo/symbols/system/bin/InputReader_test)
target Non-prelinked: Looper_test (out/target/product/vivo/symbols/system/bin/Looper_test)
target Non-prelinked: ObbFile_test (out/target/product/vivo/symbols/system/bin/ObbFile_test)
target Non-prelinked: String8_test (out/target/product/vivo/symbols/system/bin/String8_test)
target Non-prelinked: libnfc_ndef (out/target/product/vivo/symbols/system/lib/libnfc_ndef.so)
target Non-prelinked: applypatch (out/target/product/vivo/symbols/system/bin/applypatch)
target Non-prelinked: applypatch_static (out/target/product/vivo/symbols/system/bin/applypatch_static)
target Non-prelinked: libFLAC (out/target/product/vivo/symbols/system/lib/libFLAC.so)
target Non-prelinked: libstagefright_enc_common (out/target/product/vivo/symbols/system/lib/libstagefright_enc_common.so)
target Non-prelinked: libstagefright_foundation (out/target/product/vivo/symbols/system/lib/libstagefright_foundation.so)
target Prelink: libstagefright_color_conversion (out/target/product/vivo/symbols/system/lib/libstagefright_color_conversion.so)
target Non-prelinked: libext2_com_err (out/target/product/vivo/symbols/system/lib/libext2_com_err.so)
target Non-prelinked: libext2_uuid (out/target/product/vivo/symbols/system/lib/libext2_uuid.so)
target Non-prelinked: libext2_e2p (out/target/product/vivo/symbols/system/lib/libext2_e2p.so)
libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order!
libelfcopy: Warning: Range lists in .debug_ranges section start at 0x1d8
target Non-prelinked: bluetoothd (out/target/product/vivo/symbols/system/bin/bluetoothd)
target Non-prelinked: bootanimation (out/target/product/vivo/symbols/system/bin/bootanimation)
target Non-prelinked: brcm_patchram_plus (out/target/product/vivo/symbols/system/bin/brcm_patchram_plus)
target Non-prelinked: bugreport (out/target/product/vivo/symbols/system/bin/bugreport)
target Non-prelinked: toolbox (out/target/product/vivo/symbols/system/bin/toolbox)
target Non-prelinked: check_prereq (out/target/product/vivo/symbols/system/bin/check_prereq)
target Non-prelinked: dalvikvm (out/target/product/vivo/symbols/system/bin/dalvikvm)
target Non-prelinked: dbus-daemon (out/target/product/vivo/symbols/system/bin/dbus-daemon)
target Non-prelinked: debuggerd (out/target/product/vivo/symbols/system/bin/debuggerd)
target Non-prelinked: dexopt (out/target/product/vivo/symbols/system/bin/dexopt)
target Non-prelinked: dhcpcd (out/target/product/vivo/symbols/system/bin/dhcpcd)
target Non-prelinked: dnsmasq (out/target/product/vivo/symbols/system/bin/dnsmasq)
target Non-prelinked: dump_image (out/target/product/vivo/symbols/system/bin/dump_image)
target Non-prelinked: dumpstate (out/target/product/vivo/symbols/system/bin/dumpstate)
target Non-prelinked: dumpsys (out/target/product/vivo/symbols/system/bin/dumpsys)
target Non-prelinked: dvz (out/target/product/vivo/symbols/system/bin/dvz)
target Non-prelinked: erase_image (out/target/product/vivo/symbols/system/bin/erase_image)
target Non-prelinked: flash_image (out/target/product/vivo/symbols/system/bin/flash_image)
target Non-prelinked: fsck_msdos (out/target/product/vivo/symbols/system/bin/fsck_msdos)
target Non-prelinked: gdbjithelper (out/target/product/vivo/symbols/system/bin/gdbjithelper)
target Non-prelinked: gzip (out/target/product/vivo/symbols/system/bin/gzip)
target Non-prelinked: hciattach (out/target/product/vivo/symbols/system/bin/hciattach)
target Non-prelinked: installd (out/target/product/vivo/symbols/system/bin/installd)
target Non-prelinked: iptables (out/target/product/vivo/symbols/system/bin/iptables)
target Non-prelinked: keystore (out/target/product/vivo/symbols/system/bin/keystore)
target Non-prelinked: keystore_cli (out/target/product/vivo/symbols/system/bin/keystore_cli)
target Non-prelinked: linker (out/target/product/vivo/symbols/system/bin/linker)
target Non-prelinked: logcat (out/target/product/vivo/symbols/system/bin/logcat)
target Non-prelinked: logwrapper (out/target/product/vivo/symbols/system/bin/logwrapper)
target Non-prelinked: lsof (out/target/product/vivo/symbols/system/bin/lsof)
target SharedLib: libaudio (out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so)
target SharedLib: libaudiopolicy (out/target/product/vivo/obj/SHARED_LIBRARIES/libaudiopolicy_intermediates/LINKED/libaudiopolicy.so)
target SharedLib: libcameraservice (out/target/product/vivo/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so)
target Non-prelinked: mkyaffs2image (out/target/product/vivo/symbols/system/bin/mkyaffs2image)
target Non-prelinked: libOmxVdec (out/target/product/vivo/symbols/system/lib/libOmxVdec.so)
target Non-prelinked: libOmxVenc (out/target/product/vivo/symbols/system/lib/libOmxVenc.so)
target Non-prelinked: mm-video-driver-test (out/target/product/vivo/symbols/system/bin/mm-video-driver-test)
target Non-prelinked: mm-video-encdrv-test (out/target/product/vivo/symbols/system/bin/mm-video-encdrv-test)
target Non-prelinked: mtpd (out/target/product/vivo/symbols/system/bin/mtpd)
target Non-prelinked: ndc (out/target/product/vivo/symbols/system/bin/ndc)
target Non-prelinked: netcfg (out/target/product/vivo/symbols/system/bin/netcfg)
target Non-prelinked: netd (out/target/product/vivo/symbols/system/bin/netd)
target Non-prelinked: pand (out/target/product/vivo/symbols/system/bin/pand)
target Non-prelinked: ping (out/target/product/vivo/symbols/system/bin/ping)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::setMicMute_nosync(bool):hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:868: error: undefined reference to 'msm_device_mute'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::AudioHardware():hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:521: error: undefined reference to 'msm_reset_all_device'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::AudioHardware():hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:521: error: undefined reference to 'msm_reset_all_device'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::updateDeviceInfo(unsigned int, unsigned int, unsigned int, unsigned int):hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:423: error: undefined reference to 'msm_device_mute'
collect2: ld returned 1 exit status
target Non-prelinked: pppd (out/target/product/vivo/symbols/system/bin/pppd)
make: *** [out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so] 错误 1
make: *** 正在等待未完成的任务....
target Non-prelinked: qemu-props (out/target/product/vivo/symbols/system/bin/qemu-props)
got the same problem right now on vivo and glacier.

[Q] /bin/sh: -c: line 0: syntax error near unexpected token `('

Hey guys i'm so close to getting a complete build on a build but it fails to build the kernel :/. The error:
Code:
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `set -e; echo ' CC scripts/mod/empty.o'; /home/zohaib/android/kernel/htc/msm8660/scripts/gcc-wrapper.py /home/zohaib/android/prebuilts/misc/linux-x86/ccache/ccache /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ccache: FATAL: /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc: execv returned (No such file or directory) -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/home/zohaib/android/kernel/htc/msm8660/include -include include/generated/autoconf.h -I/home/zohaib/android/kernel/htc/msm8660/scripts/mod -Iscripts/mod -D__KERNEL__ -mlittle-endian -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Wno-unused-variable -O3 -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fomit-frame-pointer -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -marm -march=armv7-a -mfpu=neon -ftree-vectorize -mvectorize-with-neon-quad -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o /home/zohaib/android/kernel/htc/msm8660/scripts/mod/empty.c; scripts/basic/fixdep scripts/mod/.empty.o.d scripts/mod/empty.o '/home/zohaib/android/kernel/htc/msm8660/scripts/gcc-wrapper.py /home/zohaib/android/prebuilts/misc/linux-x86/ccache/ccache /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ccache: FATAL: /home/zohaib/android/prebuilt/linux-x86/toolchain/linaro-arm-cortex-a8/bin/arm-eabi-gcc: execv returned (No such file or directory) -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/include -Iarch/arm/include/generated -Iinclude -I/home/zohaib/android/kernel/htc/msm8660/include -include include/generated/autoconf.h -I/home/zohaib/android/kernel/htc/msm8660/scripts/mod -Iscripts/mod -D__KERNEL__ -mlittle-endian -I/home/zohaib/android/kernel/htc/msm8660/arch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Wno-unused-variable -O3 -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fomit-frame-pointer -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -marm -march=armv7-a -mfpu=neon -ftree-vectorize -mvectorize-with-neon-quad -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o /home/zohaib/android/kernel/htc/msm8660/scripts/mod/empty.c' > scripts/mod/.empty.o.tmp; rm -f scripts/mod/.empty.o.d; mv -f scripts/mod/.empty.o.tmp scripts/mod/.empty.o.cmd'
make[4]: *** [scripts/mod/empty.o] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[2]: *** Waiting for unfinished jobs....
target thumb C++: libv8 <= external/v8/src/contexts.cc
target thumb C++: libv8 <= external/v8/src/conversions.cc
target thumb C++: libv8 <= external/v8/src/counters.cc
target thumb C++: libv8 <= external/v8/src/cpu-profiler.cc
target thumb C++: libv8 <= external/v8/src/data-flow.cc
target thumb C++: libv8 <= external/v8/src/date.cc
target thumb C++: libv8 <= external/v8/src/dateparser.cc
target thumb C++: libv8 <= external/v8/src/debug.cc
target thumb C++: libv8 <= external/v8/src/debug-agent.cc
target thumb C++: libv8 <= external/v8/src/deoptimizer.cc
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/zohaib/android/kernel/htc/msm8660'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/android#
Any help is greatly appreciated

Error compiling Android 4.4

Hello,
I try to compile Android 4.4 on Ubuntu 13.04. But i get a some "unexpected EOF" errors.
Code:
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
target SharedLib: libandroid (out/target/product/generic/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target SharedLib: libwilhelm (out/target/product/generic/obj/SHARED_LIBRARIES/libwilhelm_intermediates/LINKED/libwilhelm.so)
Install: out/target/product/generic/system/lib/libstagefright.so
target SharedLib: libjnigraphics (out/target/product/generic/obj/SHARED_LIBRARIES/libjnigraphics_intermediates/LINKED/libjnigraphics.so)
target Strip: libbcc.sha1 (out/target/product/generic/obj/lib/libbcc.sha1.so)
target SharedLib: libwebviewchromium_plat_support (out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_plat_support_intermediates/LINKED/libwebviewchromium_plat_support.so)
target SharedLib: libbluetooth_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean-mr1_intermediates/classes.jar
Proguard: out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar
target Symbolic: libjni_pacprocessor (out/target/product/generic/symbols/system/lib/libjni_pacprocessor.so)
Proguard: out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar
target Symbolic: libttscompat (out/target/product/generic/symbols/system/lib/libttscompat.so)
Proguard: out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar
target Symbolic: app_process (out/target/product/generic/symbols/system/bin/app_process)
target Symbolic: app_process__asan (out/target/product/generic/symbols/system/bin/asan/app_process)
target Executable: dex2oat (out/target/product/generic/obj/EXECUTABLES/dex2oat_intermediates/LINKED/dex2oat)
target Symbolic: libstagefright_httplive (out/target/product/generic/symbols/system/lib/libstagefright_httplive.so)
target Symbolic: libstagefright_wfd (out/target/product/generic/symbols/system/lib/libstagefright_wfd.so)
target Symbolic: screenrecord (out/target/product/generic/symbols/system/bin/screenrecord)
target Symbolic: camera.goldfish.jpeg (out/target/product/generic/symbols/system/lib/hw/camera.goldfish.jpeg.so)
target Symbolic: libFFTEm (out/target/product/generic/symbols/system/lib/libFFTEm.so)
ProGuard, version 4.10
ProGuard, version 4.10
ProGuard, version 4.10
target Strip: libRSDriver (out/target/product/generic/obj/lib/libRSDriver.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/Music_intermediates/classes.jar]
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/QuickSearchBox_intermediates/classes.jar]
target Symbolic: libandroid_servers (out/target/product/generic/symbols/system/lib/libandroid_servers.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
target Symbolic: libaudioeffect_jni (out/target/product/generic/symbols/system/lib/libaudioeffect_jni.so)
target Symbolic: libdrmframework_jni (out/target/product/generic/symbols/system/lib/libdrmframework_jni.so)
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
target SharedLib: libmedia_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/LINKED/libmedia_jni.so)
target SharedLib: librs_jni (out/target/product/generic/obj/SHARED_LIBRARIES/librs_jni_intermediates/LINKED/librs_jni.so)
target SharedLib: libsoundpool (out/target/product/generic/obj/SHARED_LIBRARIES/libsoundpool_intermediates/LINKED/libsoundpool.so)
target SharedLib: libstagefright_chromium_http (out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_chromium_http_intermediates/LINKED/libstagefright_chromium_http.so)
Install: out/target/product/generic/system/lib/libstagefright_soft_aacdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_aacenc.so
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Install: out/target/product/generic/system/lib/libstagefright_soft_amrdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_amrnbenc.so
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Do you know any solutions?
Thanks
try "rm -Rf out/target/common/obj/APPS" and then rebuild
Hey guys, I have a problem with android app. while I wanna compile it, an error occurs!
its like :
--------------------------------------...
[2011-04-20 21:52:27 - KDV] Android Launch!
[2011-04-20 21:52:27 - KDV] adb is running normally.
[2011-04-20 21:52:27 - KDV] Could not find KDV.apk!
--------------------------------------...
Can you help me?
where is the error, and what does it mean?
also in directory "bin/" there is no .apk file, why?
I'm using :
- Ubuntu 10.10 - Maverick Meerkat
- Eclips Version: 3.5.2
- Android 1.6 (API Level-4)
rebuild android 4.4 error
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'void android::adapter_state_change_callback(bt_state_t)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:95:8: warning: too many arguments for format [-Wformat-extra-args]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'jboolean android::getRemoteMasInstancesNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:1036:54: warning: passing NULL to non-pointer argument 3 of 'void _JNIEnv::ReleaseByteArrayElements(jbyteArray, jbyte*, jint)' [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_QAdapterService.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfpclient.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp: In function 'jboolean android::getProtocolModeNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp:323:5: warning: 'protocolMode' may be used uninitialized in this function [-Wuninitialized]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hidd.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp: In function 'jint android::registerHealthAppNative(JNIEnv*, jobject, jint, jint, jstring, jint)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp:198:41: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_gatt.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/android_hardware_wipower.cpp
packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:48:0: warning: "ALOGV" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/base/include/android_runtime/AndroidRuntime.h:23,
from packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:33:
system/core/include/log/log.h:78:0: note: this is the location of the previous definition
make: *** No rule to make target `/root/cm/out/target/product/mione_plus/obj/lib/libandroid_runtime.so', needed by `/root/cm/out/target/product/mione_plus/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so'. Stop.
hei somebody help me fix this bugs...
i have rebuild again again....

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 )

Trying to build a kernel

I am trying to build a kernel for moto g 2014 based on cm source.
Code:
[email protected]:~/kernelmoto$ export ARCH=arm
[email protected]:~/kernelmoto$ export CROSS_COMPILER=~/android/arm-cortex_a7-linux/arm-cortex_a7-linux-gnueabihf-
[email protected]:~/kernelmoto$ make titan_defconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
#
# configuration written to .config
#
[email protected]:~/kernelmoto$ make -j6
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/gadget/Kconfig:881:warning: defaults for choice values not supported
CHK include/linux/version.h
CC scripts/mod/empty.o
gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:515: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/kernelmoto$
what am I missing, I am using the linaro toolchain. How do I fix these errors?

Categories

Resources