[Q] Question on compile LG official ROM - LG Optimus L9 P760, P765, P768, P769

Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.

amnik said:
Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.
Click to expand...
Click to collapse
ubuntu?i don't know……on windows may be easyer

Related

Errors encountered on Building CM9 source code for emulator

Hello,
I am compiling CM9 source code for emulator.
I am using following commands:
1) .build/envsetup.sh
2) lunch 1
3) make -j4
On running above commands I am getting following error:
/media/ntfsmain/CM9/Cynogen_9_ICS$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
make: *** packages/apps/: Is a directory. Stop.
Kindly pls help me to resolve this error.
Also if there is any other way to build for emulator then pls do let me know.

help with twrp build

hi i've setted up my pc for building but when i give the command
Code:
make -j3 recoveryimage
give me this error:
Code:
[email protected]:~/rom/cm7$ make -j3 recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:162: *** device/tass: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/tass. Arresto.
thanks at all for help!

Probs with Porting CM to TegraNote7

Alright so I am running Ubuntu 13.10 and I have synced the Cyanogenmod source and Im trying to port it to the TegraNote7. Problem is I'm a complete noob at this...anyway I got all the source code e.g the kernel and device folder loaded, but I'm stuck at the "Extracting Proprietary Blobs" stage of the wiki. I have absolutely no idea how to make a extract-files.sh or a proprietary-files.txt So, it may be a lost cause for me...BUT when i try to build with "lunch cm_tegratab-userdebug" i get this:
Code:
[email protected]:~/android/system$ lunch
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng 2. cm_tegratab-userdebug
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 2
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
[email protected]:~/android/system$
When I do "lunch cm_tegratab-userdebug && mka bacon" I get this:
Code:
[email protected]:~/android/system$ lunch cm_tegratab-userdebug && mka bacon
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
/home/wolfstar/android/system/out/target/product/tegratab/obj/APPS/SignatureTest_intermediates
build/core/shared_library.mk:17: *** device/nvidia/tegratab/sensors: Illegal use of OVERRIDE_BUILT_MODULE_PATH. Stop.
[email protected]:~/android/system$
So what do I do
So no one can help me? Im willing to start fresh as well but this time with Xubuntu.

Error while building CM 13 ROM: Don't have a product spec for: cm_I9515

Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
triplecan said:
Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
Click to expand...
Click to collapse
It means that the device tree you are using is not detected by the compiler. It cant find the product cm_I9515. So check the device tree and try again

libbootloader_message_intermediates missing and no known rule to make it

this is my device_tree github.com/jk2K/android_device_meizu_mx4pro
kernel, github.com/meizuosc/m462
I got this error when i try to port lineageOS 14.1 to meizu mx4pro
HTML:
lineage make recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
Running kati to generate build-lineage_mx4pro.ninja...
device/meizu/mx4pro/BoardConfigCommon.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170910-UNOFFICIAL-mx4pro
TARGET_PRODUCT=lineage_mx4pro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.10.0-19-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/meng/android/lineage/out
RECOVERY_VARIANT=twrp
============================================
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
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/meng/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
build/core/binary.mk:1253: hardware/samsung_slsi-cm/exynos5430/mobicore/common/LogWrapper/Android.mk: mcDriverDaemon: Unused source files: \
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/meng/android/lineage/out/target/product/mx4pro/system/vendor/lib/libbt-vendor.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/meng/android/lineage/out/target/product/mx4pro/obj/STATIC_LIBRARIES/libbootloader_message_intermediates/export_includes', needed by '/home/meng/android/lineage/out/target/product/mx4pro/obj/EXECUTABLES/init_intermediates/import_includes', 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 failed to build some targets (01:00 (mm:ss)) ####
what can i do? thanks

Categories

Resources