I trying to compile CM10 with AOSCompiler(using ubuntu). And i got 2 questions:
1.It's Saying me that it's can't find my device:
Code:
[email protected]:~/.aoscompiler/build$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/.aoscompiler/build$ lunch cm_maguro-userdebug
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop.
Device maguro not found. Attempting to retrieve device repository from CyanogenMod Github (*Cyanogen-Mod GitHub i delete it because i can't add links).
Found repository: android_device_samsung_maguro
CyanogenMod/android_device_samsung_maguro already exists
Syncing repository to retrieve project.
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_maguro'
** Do you have the right repo manifest?
I tried to do just 'lunch' and choose my device from the list and it's gave me the same error. I tried to use 'breakfast' and it's gave me the same error too.
2.The AOSCOmpiler Saying that:
HTML:
Adb isn't running Need adb to setup vendor files.
Is this something you are going to do yourself?
Please try again.
Even i added to the file '/etc/bash.bashrc this line:
HTML:
export PATH=${PATH}:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools
(this is my SDK location) and now i can use 'adb' without going to the SDK folder. but it's still not working(the AOSCompiler).
Why not use the sub-forum created for the AOSCompiler?
If you are having adb issues, did you reboot after placing your path? If you are still having issues, copy the adb binary into /usr/local/bin/
As for your device not being seen.
Cyanogenmod uses roomservice to sync your device tree and kernel after you download the source. Trying doing a sync again and see if it makes a difference.
First - I'm sorry about write in the wrong forum
XDA Forum is a huge forum and i didn't saw that one so i'm sorry.
second i did try reboot but not the other thing i will try it and reply,
And about it doesn't seems my device what exactly did you mean that i need to do to fix it?and i tried again like i said even from selecting from the list and the command 'lunch' and 'breakfast', and nothing worked
elichai2 said:
XDA Forum is a huge forum and i didn't saw that one so i'm sorry.
second i did try reboot but not the other thing i will try it and reply,
And about it doesn't seems my device what exactly did you mean that i need to do to fix it?and i tried again like i said even from selecting from the list and the command 'lunch' and 'breakfast', and nothing worked
Click to expand...
Click to collapse
Type this command and paste the output here: from your repo folder.
Code:
find -type f -name cm.mk
Also paste your config
Code:
~/.aoscompiler/aoscompiler.cfg
Here:
lithid-cm said:
Type this command and paste the output here: from your repo folder.
Code:
find -type f -name cm.mk
Click to expand...
Click to collapse
here:
Code:
[email protected]:~/.aoscompiler/build$ find -type f -name cm.mk
./device/samsung/maguro/cm.mk
lithid-cm said:
Also paste your config
Code:
~/.aoscompiler/aoscompiler.cfg
Click to expand...
Click to collapse
Here is that file:'aoscompiler.conf' :
Code:
[Cmc]
rom_dist = CyanogenMod
rom_abrv = CM
device = maguro
branch = jellybean
repo_path = /home/elichai/.aoscompiler/build
sync_jobs = 4
make_jobs = 3
manuf = samsung
term_toggle = True
win_x = 196
win_y = 63
verbose = False
background = None
and what binary file i need to put in the path '/usr/local/bin/' ? 'bash.bashrc'?
elichai2 said:
here:
and what binary file i need to put in the path '/usr/local/bin/' ? 'bash.bashrc'?
Click to expand...
Click to collapse
adb
Try:
Code:
find -type f -name device.mk
Should return at LEAST tuna and maguro since tuna is a dep for maguro to build.
Here:
lithid-cm said:
adb
Click to expand...
Click to collapse
which file/'s exactly?
lithid-cm said:
Try:
Code:
find -type f -name device.mk
Should return at LEAST tuna and maguro since tuna is a dep for maguro to build.
Click to expand...
Click to collapse
here:
Code:
[email protected]:~/.aoscompiler/build$ find -type f -name device.mk
./build/core/device.mk
./build/target/board/generic/device.mk
./build/target/board/generic_x86/device.mk
./build/target/board/vbox_x86/device.mk
./device/ti/panda/device.mk
./device/samsung/maguro/device.mk
elichai2 said:
which file/'s exactly?
here:
Code:
[email protected]:~/.aoscompiler/build$ find -type f -name device.mk
./build/core/device.mk
./build/target/board/generic/device.mk
./build/target/board/generic_x86/device.mk
./build/target/board/vbox_x86/device.mk
./device/ti/panda/device.mk
./device/samsung/maguro/device.mk
Click to expand...
Click to collapse
Adb is the file.
You don't have tuna synced. Try syncing again.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
adb
Try:
Code:
find -type f -name device.mk
Should return at LEAST tuna and maguro since tuna is a dep for maguro to build.
Click to expand...
Click to collapse
lithid-cm said:
Adb is the file.
You don't have tuna synced. Try syncing again.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
OK. Sorry that i'm so stuped but this is the first time i'm trying to customize/build a rom.
to sync tuna just do 'repo sync -j4' ?(in the AOSCompiler)
Edit:
Thanks the adb now working but it still can't find my device...
elichai2 said:
OK. Sorry that i'm so stuped but this is the first time i'm trying to customize/build a rom.
to sync tuna just do 'repo sync -j4' ?(in the AOSCompiler)
Edit:
Thanks the adb now working but it still can't find my device...
Click to expand...
Click to collapse
No. Check sync then press the run button.
Sent from my Galaxy Nexus using xda premium
Thanks!
lithid-cm said:
No. Check sync then press the run button.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks it's fixed now i got othe error: i'm sorry for bothering you.
i got some error's when i trying compile:
Code:
[email protected]:~/.aoscompiler/build$ bash vendor /cm/get-prebuilts
vendor: vendor: is a directory
[email protected]:~/.aoscompiler/build$ bash vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 142 100 142 0 0 51 0 0:00:02 0:00:02 --:--:-- 70
100 307k 100 307k 0 0 37386 0 0:00:08 0:00:08 --:--:-- 625k
Archive: vendor/cm/proprietary/Term.apk
inflating: vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
[email protected]:~/.aoscompiler/build$ source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/.aoscompiler/build$ lunch cm_maguro-userdebug
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
Looking for dependencies
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_maguro
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-31-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03R
OUT_DIR=/home/elichai/.aoscompiler/build/out
============================================
[email protected]:~/.aoscompiler/build$ time make -j3 otapackage
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=cm_maguro
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-31-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03R
OUT_DIR=/home/elichai/.aoscompiler/build/out
============================================
find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `/home/elichai/.aoscompiler/build/out/target/product/maguro/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/elichai/.aoscompiler/build/out/target/product/maguro/system/etc/mkshrc'
PRODUCT_COPY_FILES device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
No private recovery resources for TARGET_DEVICE maguro
make -C kernel/samsung/tuna O=/home/elichai/.aoscompiler/build/out/target/product/maguro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/elichai/.aoscompiler/build/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_tuna_defconfig
Install: /home/elichai/.aoscompiler/build/out/host/linux-x86/bin/acp
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -Ibionic/libc/private -Ibionic/libc/arch-arm/include -o /home/elichai/.aoscompiler/build/out/target/product/maguro/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
make[1]: Entering directory `/home/elichai/.aoscompiler/build/kernel/samsung/tuna'
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
make: *** [/home/elichai/.aoscompiler/build/out/target/product/maguro/obj/lib/crtbegin_static.o] Error 126
make: *** Waiting for unfinished jobs....
/home/elichai/.aoscompiler/build/kernel/samsung/tuna/Makefile:327: /home/elichai/.aoscompiler/build/kernel/samsung/tuna/scripts/Kbuild.include: No such file or directory
make: *** empty variable name. Stop.
make[2]: *** [scripts_basic] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/elichai/.aoscompiler/build/kernel/samsung/tuna'
make: *** [/home/elichai/.aoscompiler/build/out/target/product/maguro/obj/KERNEL_OBJ/.config] Error 2
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
real 0m47.627s
user 0m33.258s
sys 0m5.000s
[email protected]:~/.aoscompiler/build$
Edit:
I'm Sorry but i got another question:
I import the CMUpdater project(from the path: '~/.aoscompiler/build/packages/apps/CMUpdater') and it's got an error on that line:
Code:
import android.os.storage.StorageVolume;
that it's can't find that source,even i had Google APIs[Android 4.1] (it's got this jar's in it: android.jar,effects.jar,usb.jar,maps.jar)
Edit2:
I'm really sorry but i got another one:
i changed some of the code here '~/.aoscompiler/build/packages/apps/CMUpdater' now how i compile it to an apk/flashable-zip?
Thanks!
This isn't the first time I've tried to build Cyanogenmod for my i9100 on Ubuntu 12.10; I've done it successfully a few times before. However recently, it has just refused to build.
Code:
lunch cm_i9100-userdebug && mka
gave a bunch of errors: http://pastebin.com/Mn3YLZDY.
Code:
brunch cm_i9100-userdebug
gives different errors: http://pastebin.com/xiv4ettD. Teamhacksung's build script also gives the exact same errors. I tried starting in a new directory from scratch, but I still get the same errors.
The parts that look suspicious to me are
Code:
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
/bin/bash: line 0: cd: external/apache-harmony//home/ari/android/system/external/apache-harmony: No such file or directory
(/home/ari/android/system/external/apache-harmony does exist) and
Code:
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
/bin/bash: line 0: cd: libcore//home/ari/android/system/libcore: No such file or directory
find: `src': No such file or directory
I think this could be related to a repo sync problem I had/have where it couldn't download anything properly with lots of
Code:
Connection reset by peer
errors, although I think it has now synced (df -h shows 15GB). I also ran
Code:
repo forall -c "git fsck && git gc"
which "repairs" each repository, and that didn't give any errors.
Can anyone help with getting this to build?
EDIT: I found a post on the Android Building mailing list that was similar, and the suggestion to run
Code:
export CDPATH=""
(previously, $CDPATH=".")
got CM to build much further than before. No idea how this works, but it does.
However there are now more errors later during the build, e.g.
Code:
make: *** No rule to make target `/media/build/android/out/system/target/product/i9100/obj/lib/libTVOut.so', needed by `/media/build/android/out/system/target/product/i9100/obj/EXECUTABLES/mediaserver_intermediates/LINKED/mediaserver'. Stop.
It seems to have built a .zip flashable file now:
Code:
Package complete: /media/build/android/out/system/target/product/i9100/cm-10.1-20130121-UNOFFICIAL-i9100.zip
md5: f9fe076a6f0dfe140329e94ce6aa1867
Creating kernel zip...
Bootimage found...
No instructions to create out/target/product/i9100/kernel-cm-10.1-20130121-i9100-signed.zip... skipping.
Elapsed: 47 min(s) 20 sec(s)
but it says it can't create a kernel zip?
I'm try to build the cyanogenmod source. I find this and this tutorials.
but when i run "breakfast i9300" i get a error:
"build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop."
Seems like the TARGET_DEVICE is empty, but don't no how indicate that, i try to create a environment variable and everything but doesn't work.
Someone passing through this ?And/Or know how solve
Thanks for attention
What was the output of source build/envsetup.sh?
If in doubt, do everything again. Don't mix guides
Sent from my GT-I9300 using Tapatalk 2
espeansh been
rootSU said:
What was the output of source build/envsetup.sh?
If in doubt, do everything again. Don't mix guides
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I do everything again, and follow only the xda trhead, but the error keep
when i run
Code:
. build/envsetup.sh && breakfast i9300
I have the follow output:
Seems the envsetup execute with success but the brakfast don't
have some enviroment that i need to create ? or only add android bin from path ?
Code:
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
Looking for dependencies
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
Can't find toolchain for unknown architecture:
Can't find toolchain for unknown architecture:
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
build/core/config.mk:48: /pathmap.mk: No such file or directory
build/core/config.mk:132: /envsetup.mk: No such file or directory
build/core/config.mk:135: /linaro_compilerchecks.mk: No such file or directory
build/core/config.mk:148: *** No config file found for TARGET_DEVICE . Stop.
Hi,
I have a problem building the Android FS on OSX 10.8.5,
I made a case-sensitive FS, and brewed the required packages from the different tutorials,
The problem is more OS related:
Code:
Code:
target arm C++: libwebrtc_apm <= out/target/product/generic/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_cpu.so -> ./libbltsville_ticpu.so
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Install: out/host/darwin-x86/bin/minigzip
cp: the -R and -r options may not be specified together.
make: *** [out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so'
make: *** Waiting for unfinished jobs....
Any ideas for the reason? and how to solve it?
Thanks,
K
I am compiling Marshmallow 6.0.1 release. I run:
Code:
$ . build/envsetup.sh
$ lunch # select arm_64 eng
$ make dist
Everything works fine until it tries to build the recovery binary:
Code:
target StaticExecutable: recovery (out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery)
out/target/product/generic_arm64/obj/STATIC_LIBRARIES/libminadbd_intermediates/libminadbd.a(adb_auth_client.o): In function `adb_auth_verify(unsigned char*, unsigned char*, int)':
/home/tyler/AOSP/system/core/adb/adb_auth_client.cpp:154: undefined reference to `RSA_verify'
out/target/product/generic_arm64/obj/STATIC_LIBRARIES/libfusesideload_intermediates/libfusesideload.a(fuse_sideload.o): In function `fetch_block':
/home/tyler/AOSP/bootable/recovery/fuse_sideload.c:276: undefined reference to `SHA256_hash'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:75: recipe for target 'out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery' failed
make: *** [out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery] Error 1
I tried searching for it using
Code:
$ find . | grep libmincrypt
and I found that I only have the static library built (libmincrypt.a). Do I need the shared lib version of libmincrypt for the Android.mk in $AOSP/bootable/recovery to work? If so, how can I rebuild and get the shared lib?