Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
hope this helps
matada said:
Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
Click to expand...
Click to collapse
CM10 uses /arch/arm/configs/cm10_defconfig for kernel configuration.
so you would use the .config file or whatever name you had given to it. rename it cm10_defconfig and copy to kernel/arch/arm/configs/
you can also use a pre-built kernel
just copy the zImage to your device directory. and rename it kernel
or you can build without a kernel and just build the rom itself
I hope this helped you out.
Related
Hey guys,
I've tried to get CM7 to compile from source on xubuntu x64 by following this, substituting the blade specific commands for buzz ones, but keep on hitting the following error.
Does anyone know what might be causing it? My google-fu isn't helping much.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=cyanogen_buzz
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:479: warning: overriding commands for target `out/target/product/buzz/recovery/root/sbin/tune2fs'
bootable/recovery/Android.mk:92: warning: ignoring old commands for target `out/target/product/buzz/recovery/root/sbin/tune2fs'
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keychars/qwerty.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keychars/qwerty.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keychars/qwerty2.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keychars/qwerty2.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keylayout/AVRCP.kl'
sdk/emulator/keymaps/Android.mk:18: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keylayout/AVRCP.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keylayout/qwerty.kl'
sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keylayout/qwerty.kl'
No private recovery resources for TARGET_DEVICE buzz
host C: acp <= build/tools/acp/acp.c
host C: libhost <= build/libs/host/CopyFile.c
In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from build/tools/acp/acp.c:22:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from build/libs/host/CopyFile.c:24:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
C4NCER said:
Hey guys,
I've tried to get CM7 to compile from source on xubuntu x64 by following this, substituting the blade specific commands for buzz ones, but keep on hitting the following error.
Does anyone know what might be causing it? My google-fu isn't helping much.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=cyanogen_buzz
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:479: warning: overriding commands for target `out/target/product/buzz/recovery/root/sbin/tune2fs'
bootable/recovery/Android.mk:92: warning: ignoring old commands for target `out/target/product/buzz/recovery/root/sbin/tune2fs'
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keychars/qwerty.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keychars/qwerty.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keychars/qwerty2.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keychars/qwerty2.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keylayout/AVRCP.kl'
sdk/emulator/keymaps/Android.mk:18: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keylayout/AVRCP.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/buzz/system/usr/keylayout/qwerty.kl'
sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for target `out/target/product/buzz/system/usr/keylayout/qwerty.kl'
No private recovery resources for TARGET_DEVICE buzz
host C: acp <= build/tools/acp/acp.c
host C: libhost <= build/libs/host/CopyFile.c
In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from build/tools/acp/acp.c:22:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/bits/errno.h:25:0,
from /usr/include/errno.h:36,
from build/libs/host/CopyFile.c:24:
/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
Click to expand...
Click to collapse
Weird error. Never seen it before.
Anyway, you shouldn't do the extract-files part in that guide, it's kinda not used anymore. You should clone Arne's vendor config from here ($git clone https://github.com/arco/proprietary_vendor_htc.git /android/system/vendor/htc)
Oh and here's what I always do to build (I have the vendor config cloned to vendor/htc):
Code:
$cd /android/system
$repo sync -j7
$cd vendor/htc
$git pull
$cd ../..
$. build/envsetup.sh && lunch cyanogen_buzz-eng
$make -j7 bacon
nhnt11 said:
Weird error. Never seen it before.
Anyway, you shouldn't do the extract-files part in that guide, it's kinda not used anymore. You should clone Arne's vendor config from here ($git clone https://github.com/arco/proprietary_vendor_htc.git /android/system/vendor/htc)
Oh and here's what I always do to build (I have the vendor config cloned to vendor/htc):
Code:
$cd /android/system
$repo sync -j7
$cd vendor/htc
$git pull
$cd ../..
$. build/envsetup.sh && lunch cyanogen_buzz-eng
$make -j7 bacon
Click to expand...
Click to collapse
Cheers, I figured it out, was missing gcc and g++ multilibs, and then an ncurses-dev package and then an package for lz compression. Most of it seems to be due to running a 64bit build of linux and ubuntu dropping/renaming a few packages.
C4NCER said:
Cheers, I figured it out, was missing gcc and g++ multilibs, and then an ncurses-dev package and then an package for lz compression. Most of it seems to be due to running a 64bit build of linux and ubuntu dropping/renaming a few packages.
Click to expand...
Click to collapse
oh lol ok xD
Alternate fix for asm/errno.h: No such file or directory
Got the error building on ubuntu x86_64 11.04 (natty) while following docs at source.android.com/source/building.html
I fixed it by going into /usr/include/asm and symlinking everying from ../x86_64-linux-gnu/asm/ to the current directory.
# for f in `ls ../x86_64-linux-gnu/asm/*.h`; do echo "$f"; link=`basename "$f"`; ln -s "$f" $link; done
Click to expand...
Click to collapse
Don't do what is suggested above.
Correct thing to do is just make sure gcc-multilib is installed / up-to date
(I had the same issue with current Debian unstable)
If you really cannot install packages for whatever reason just make a symlink.
This is my first time I have ever built a ROM, but I am making a build as described here --> http://wiki.cyanogenmod.org/w/Build_for_d2att <--
Shortly after I run "brunch d2att" the console displays "find: `src': No such file or directory" and then runs off on a list of "Warning: Ignoring old commands for target" and "Warning: Overriding commands for target"
After running "brunch d2att":
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
Then it goes into the find: src and warnings.
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
find: `src': No such file or directory
frameworks/uiautomator/Android.mk:82: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/testing/uiautomator/library/Android.mk:82: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/uiautomator/Android.mk:99: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/testing/uiautomator/library/Android.mk:99: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/uiautomator/Android.mk:111: warning: overriding commands for target `update-uiautomator-api'
frameworks/testing/uiautomator/library/Android.mk:111: warning: ignoring old commands for target `update-uiautomator-api'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/rsa.c
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Error 127
make: *** wait: No child processes. Stop.
[email protected]:~/android/system$
Any help is greatly appreciated!
Thanks in advance!
So earlier I posted a problem I had building CM 11 (4.4.0), and due to lack of help, I never got a working build. However, this morning, I OTA Updated through CyanogenMod's servers to their first CM 11 Build for d2att (4.4.1). I did the obligatory repo sync, and also a source build/envsetup.sh, a breakfast d2att and then brunch d2att. Once it started compiling, I did not run into my usual slew of errors for a little while, and then hit them, but with the build continuing for 2 minutes after the errors, instead of the normal stop. Sadly, it did stop, but not on the same note as it did before today... Here's the code after brunch d2att:
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
Clean step: rm -rf /home/matthew/android/system/out/target/product/d2att/system/build.prop
/home/matthew/android/system/out/target/product/d2att/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
Header: /home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/gralloc_priv.h
Import includes file: /home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
make -C kernel/samsung/d2 O=/home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matthew/android/system/prebuilts/misc/linux-x86/ccache/ccache /home/matthew/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG=cyanogen_d2_defconfig SELINUX_DEFCONFIG=m2selinux_defconfig cyanogen_d2att_defconfig
make[1]: Entering directory `/home/matthew/android/system/kernel/samsung/d2'
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/target/product/d2att/obj/lib/crtbrand.o] Error 127
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/media/video/msm_apexq/Kconfig:126:warning: choice value used outside its choice group
drivers/media/video/msm_apexq/Kconfig:131:warning: choice value used outside its choice group
KCONFIG_SELINUX(arch/arm/configs/m2selinux_defconfig)
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2_defconfig)
arch/arm/configs/cyanogen_d2_defconfig:837:warning: override: reassigning to symbol NETWORK_SECMARK
arch/arm/configs/cyanogen_d2_defconfig:841:warning: override: reassigning to symbol NETFILTER_ADVANCED
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/matthew/android/system/kernel/samsung/d2'
[email protected]:~/android/system$
[/HIDE]
If anyone can tell me what went wrong or where I can get some help, my ears are open! Thanks!
hello mates
i am working on a firefox os port based on Android 4.3.1 for samsung galaxy w, that's mean we should use cm10.2 as base for device repos.
after download everything i got this.
Code:
including device/generic/armv7-a-neon/vendorsetup.sh
including device/qcom/common/vendorsetup.sh
including device/samsung/ancora/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================
CMake present but NDK not found at /root/fos/B2G/prebuilt/ndk/android-ndk-r7, will not compile apitrace
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/ancora/data/local/gaia'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:199: warning: overriding commands for target `out/target/product/ancora/system/gecko'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/gecko'
gonk-misc/Android.mk:267: warning: overriding commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/Makefile:32: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/ancora/prebuilt/Torch.apk:system/app/Torch.apk, use BUILD_PREBUILT instead!. Stop.
real 0m20.073s
user 0m7.341s
sys 0m2.910s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
Any one can share idea to fix it, we can make collaboration to port it, thanks.
haky
Hello! Your port a ready?
Maximko_O <3 wonder said:
haky
Hello! Your port a ready?
Click to expand...
Click to collapse
not yet, because the compilation wont start..so think to work on another base..
haky 86 said:
not yet, because the compilation wont start..so think to work on another base..
Click to expand...
Click to collapse
haky, when we can see your port and you seriously going to do FIrefox OS for Samsung Galaxy W??
Maximko_O <3 wonder said:
haky, when we can see you port?
Click to expand...
Click to collapse
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable
haky 86 said:
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable
Click to expand...
Click to collapse
haky, i believe in you!!
i just would like to know if Firefox OS source are pure Android that's mean i can create a cm10.1 source with b2g repos and build it like cyanogen mod, well i will try in that way and report if worked or not
Any idea why?
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
-------------------------
/home/huan/android/lineage/out/build-lineage_jfltexx.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170507-UNOFFICIAL-jfltexx
TARGET_PRODUCT=lineage_jfltexx
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_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N2G47O
OUT_DIR=/home/huan/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/huan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE jfltexx
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
#### make failed to build some targets (01:16 (mm:ss)) ####
i am facing the same issue
This mean you are missing the proprietary vendor files.
Check this site out, https://github.com/TheMuppets/proprietary_vendor_samsung
Make note of this error:
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jf-gsm-common/proprietary/bin/rild
above is the path to the files you want, follow that on the repo page I provided.