[Help] Trying to compile from source but getting error - Hero CDMA Q&A, Help & Troubleshooting

I am trying to compile from froyo source and when I go to make the files I get this error "frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stop.
" I can't figure out what I need to do in order to get this working. Any help would be appreciated. Thanks

Related

Compiling Source

Hi all. I'm trying to compile the froyo source on ubuntu 10.4 64-bit. During 'make' I get this error...
build/tools/apriori/prelinkmap.c(168): library 'libc-ext.so' not in prelink map
make: *** [out/target/product/generic/symbols/system/lib/libc-ext.so] Error 1
I've been searching google for answers for a few days now to no avail. Anyone have any ideas?
Thanks!!
If I was going to guess I would say it probably has something to do with being in a x64 environment. Have you tried setting up a x32 chroot and doing the compiling from there?
Check on this page for basic guidance
https://help.ubuntu.com/community/BasicChroot
I was afraid you were going to say that. I'm just going to rebuild with 32-bit.

Make errors...Error 41

Hey there, I'm compiling the android source with a couple of mods merged in from cyanogenmod and leonnib4. I was getting a few random errors, but they went away with simple fixes...Now, I'm getting a new error, and I can't seem to wrap my head around it. It happens almost right out of the gate...every time I type make...
EDIT: New error 41. I seemed to have fixed the old error 1 by removing the previous build from out/target/product/passion, as the error pointed to the obj folder. Everything went smooth until the camera, and now I have a new error. I'm trying to merge in CyanogenMod camera source (for 720p), and I think that's the problem. Could it be something in the framework? I'm lost.
I have set up my build env on a MacBook Pro running OS X 10.5.8 with all the proper tools installed as per the AOSP site's instructions. I have run the envsetup script, and chosen the passion lunch option (yum )...
Anyway, here's the error:
Code:
81 errors
make: *** [out/target/common/obj/APPS/Camera_intermediates/classes-full-debug.jar] Error 41
The full scenario on pastebin: http://pastebin.com/8359mktC
Does anyone have any idea what's going on?
ik this is really old but what did u do to fix this? having the same error compiling cm9

Cannot load library: link_image[1995]: failed to link

I am building Froyo from AOSP sources and was able to pull in the Samsung files from Krylon's github. The build seems to succeed without error but I am getting this when I try to boot the image.
Cannot load library: link_image[1995]: failed to link
Please see the attached pastebin:
http://pastebin.gdanko.net/42
I was told the linker is not properly configured. Any ideas?

Got error when compiling rom, Why?

Hi, I recently try compiling AOSPA rom, I tried following the instructions given by others but when I use
Code:
./rom-build.sh ghost
It firstly runs a lot of lines of commands but finally return
Code:
make: *** No rule to make target `bacon'. Stop.
I tried to use otatools and envsetup and lunch, but they seem don't work on me, can somebody help me? Thank you

Can anyone help me?

h.tt.p://forum.android.com.pl/f882/port-5-0-x-cm-12-0-na-mini-2-a-492904/ when I try to install i get this error: Error in /storage/sdcard1/cm-12.0-20150103-PORT-jenad.zip (Status 6) Installation aborted.
Could you ask guys from that forum to move here so maybe I can help them. I think that is updater-script error, but without any updater-script files I can't do.
EDIT: tried with my CM11 updater-script and phone actually go to boot up mode, but I can't get any logcat or even kmesg (dmsg) even with latest adb... I would give a try with this by the end of month with my build, so I would se what is real problem with this CM12 "port"
HI,
I found this in that forum maybe it can help.
Seems that version is based on 4.2.2 not 4.4.4 which can get ART support. My testings on personally built CM12 with 4.4.4 kernel/libs/drivers won't get logcat on boot... Now I need to recreate whole VM and start from stratch (maybe there was issue because before trying to port CM12 to Mini 2 I give a try to my NOA device which failed because of MTK drivers source)

Categories

Resources