Any Help??? Building CM11 - HTC Droid DNA

I've been trying to build CM11 for the DNA my build always stops. Giving me this message.
"make: *** No rule to make target `vendor/htc/dlx/proprietary/etc/firmware/leia_pm4_470.fw', needed by `/home/josh/android/system/out/target/product/dlx/system/etc/firmware/leia_pm4_470.fw'. Stop.
make: *** Waiting for unfinished jobs....
Copy: /home/josh/android/system/out/target/product/dlx/system/etc/firmware/BCM4334B0_002.001.013.0942.0949.hcd
[email protected]:~/android/system$"
I'm on ubuntu 13.10 I've resynced the repos ive deleted everything and gotten the same message again and again. I'm following the guide to build CM10.2 from Cyogens web site. Any help would be great I'm lost!!!

coachcrey said:
I've been trying to build CM11 for the DNA my build always stops. Giving me this message.
"make: *** No rule to make target `vendor/htc/dlx/proprietary/etc/firmware/leia_pm4_470.fw', needed by `/home/josh/android/system/out/target/product/dlx/system/etc/firmware/leia_pm4_470.fw'. Stop.
make: *** Waiting for unfinished jobs....
Copy: /home/josh/android/system/out/target/product/dlx/system/etc/firmware/BCM4334B0_002.001.013.0942.0949.hcd
[email protected]:~/android/system$"
I'm on ubuntu 13.10 I've resynced the repos ive deleted everything and gotten the same message again and again. I'm following the guide to build CM10.2 from Cyogens web site. Any help would be great I'm lost!!!
Click to expand...
Click to collapse
Are you following a tutorial to build it for the S4? In my source, there is no mention of this firmware file and the only place these files occur are in s4-common:
cm-11.0$ repo grep leia_pm4_470.fm
cm-11.0/vendor/htc$ find . -name 'leia*'
./s4-common/proprietary/etc/firmware/leia_pm4_470.fw
./s4-common/proprietary/etc/firmware/leia_pfp_470.fw

No I'm following this guide http://wiki.cyanogenmod.org/w/Build_for_dlx
Sent from my HTC6435LVW using Tapatalk

coachcrey said:
No I'm following this guide http://wiki.cyanogenmod.org/w/Build_for_dlx
Sent from my HTC6435LVW using Tapatalk
Click to expand...
Click to collapse
Can you run:
make clean
brunch dlx 2>&1 | tee /tmp/crpalmer.txt
and then send a link to crpalmer.txt?

I get off at 5 central I do that first thing when I get home
Sent from my HTC6435LVW using Tapatalk

crpalmer said:
Can you run:
make clean
brunch dlx 2>&1 | tee /tmp/crpalmer.txt
and then send a link to crpalmer.txt?
Click to expand...
Click to collapse
ok so should i just type in what you wrote??? then how do i send the link?? I'm still a little new at this sosorry for the noob questions I've just been trying really hard to learn.

@coachcrey, yes, type each command in and then after the build fails, the whole output of the build should be in /tmp/crpalmer.txt. Post a link to that file (dropbox, drive, pastebin, whatever).

crpalmer said:
Can you run:
make clean
brunch dlx 2>&1 | tee /tmp/crpalmer.txt
and then send a link to crpalmer.txt?
Click to expand...
Click to collapse
crpalmer said:
@coachcrey, yes, type each command in and then after the build fails, the whole output of the build should be in /tmp/crpalmer.txt. Post a link to that file (dropbox, drive, pastebin, whatever).
Click to expand...
Click to collapse
It's building right now. Its random when it happens. But always does.

crpalmer said:
@coachcrey, yes, type each command in and then after the build fails, the whole output of the build should be in /tmp/crpalmer.txt. Post a link to that file (dropbox, drive, pastebin, whatever).
Click to expand...
Click to collapse
Idk man i typed those commands in and i don't seem to have that file anywhere on my computer so idk sorta at a loss.

coachcrey said:
Idk man i typed those commands in and i don't seem to have that file anywhere on my computer so idk sorta at a loss.
Click to expand...
Click to collapse
Just cut and paste what you have in the terminal window and that *might* have enough information to help you.

@crpalmer
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libldnhncr_intermediates/import_includes
Export includes file: frameworks/av/media/libeffects/loudness/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libldnhncr_intermediates/export_includes
Notice file: frameworks/av/media/libeffects/loudness/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/lib/soundfx/libldnhncr.so.txt
Export includes file: frameworks/av/media/libeffects/lvm/lib/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libreverb_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libreverb_intermediates/import_includes
Export includes file: frameworks/av/media/libeffects/lvm/wrapper/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/export_includes
Notice file: frameworks/av/media/libeffects/lvm/wrapper/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/lib/soundfx/libreverbwrapper.so.txt
Notice file: frameworks/av/media/libeffects/lvm/lib/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/lib/libreverb.a.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libvisualizer_intermediates/import_includes
Export includes file: frameworks/av/media/libeffects/visualizer/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libvisualizer_intermediates/export_includes
Notice file: frameworks/av/media/libeffects/visualizer/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/lib/soundfx/libvisualizer.so.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libkeystore_intermediates/import_includes
Export includes file: system/security/keystore-engine/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libkeystore_intermediates/export_includes
logtags: /home/josh/android/system/out/target/common/obj/APPS/CalendarProvider_intermediates/src/src/com/android/providers/calendar/EventLogTags.java <= packages/providers/CalendarProvider/src/com/android/providers/calendar/EventLogTags.logtags
Notice file: packages/providers/CalendarProvider/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/CalendarProvider.apk.txt
Notice file: packages/apps/Contacts/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/Contacts.apk.txt
logtags: /home/josh/android/system/out/target/common/obj/APPS/ContactsProvider_intermediates/src/src/com/android/providers/contacts/EventLogTags.java <= packages/providers/ContactsProvider/src/com/android/providers/contacts/EventLogTags.logtags
Notice file: packages/providers/ContactsProvider/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/ContactsProvider.apk.txt
Notice file: packages/providers/DownloadProvider/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/DownloadProvider.apk.txt
Notice file: frameworks/base/packages/FusedLocation/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/FusedLocation.apk.txt
Notice file: frameworks/base/packages/InputDevices/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/InputDevices.apk.txt
Notice file: frameworks/base/packages/Keyguard/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/Keyguard.apk.txt
Notice file: packages/apps/Launcher3/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/Launcher3.apk.txt
Notice file: packages/providers/MediaProvider/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/MediaProvider.apk.txt
Notice file: packages/apps/Mms/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/Mms.apk.txt
logtags: /home/josh/android/system/out/target/common/obj/APPS/Settings_intermediates/src/src/com/android/settings/EventLogTags.java <= packages/apps/Settings/src/com/android/settings/EventLogTags.logtags
Notice file: packages/apps/Settings/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/Settings.apk.txt
Notice file: frameworks/base/packages/SettingsProvider/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/SettingsProvider.apk.txt
logtags: /home/josh/android/system/out/target/common/obj/APPS/SystemUI_intermediates/src/src/com/android/systemui/EventLogTags.java <= frameworks/base/packages/SystemUI/src/com/android/systemui/EventLogTags.logtags
Notice file: frameworks/base/packages/SystemUI/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/SystemUI.apk.txt
logtags: /home/josh/android/system/out/target/common/obj/APPS/TeleService_intermediates/src/src/com/android/phone/EventLogTags.java <= packages/services/Telephony/src/com/android/phone/EventLogTags.logtags
Notice file: packages/services/Telephony/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/TeleService.apk.txt
Notice file: packages/apps/VoiceDialer/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/priv-app/VoiceDialer.apk.txt
Export includes file: external/srec/portable/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libESR_Portable_intermediates/export_includes
Export includes file: external/srec/shared/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libESR_Shared_intermediates/export_includes
Export includes file: external/srec/srec/AcousticModels/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_AcousticModels_intermediates/export_includes
Export includes file: external/srec/srec/AcousticState/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_AcousticState_intermediates/export_includes
Export includes file: external/srec/srec/ca/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Core_intermediates/export_includes
Export includes file: external/srec/srec/EventLog/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_EventLog_intermediates/export_includes
Export includes file: external/srec/seti/sltsEngine/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_G2P_intermediates/export_includes
Export includes file: external/srec/srec/Grammar/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Grammar_intermediates/export_includes
Export includes file: external/srec/srec/Nametag/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Nametag_intermediates/export_includes
Export includes file: external/srec/srec/Semproc/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Semproc_intermediates/export_includes
Export includes file: external/srec/srec/Session/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Session_intermediates/export_includes
Export includes file: external/srec/srec/Vocabulary/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Vocabulary_intermediates/export_includes
Export includes file: external/srec/tools/thirdparty/OpenFst/fst/lib/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libfst_intermediates/export_includes
Export includes file: external/tinyxml/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libtinyxml_intermediates/export_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libESR_Shared_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libESR_Portable_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_AcousticModels_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_EventLog_intermediates/import_includes
Export includes file: system/core/libzipfile/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libzipfile_intermediates/export_includes
Export includes file: external/zlib/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/export_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_AcousticState_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_G2P_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Grammar_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Semproc_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Vocabulary_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Nametag_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Session_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libfst_intermediates/import_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libtinyxml_intermediates/import_includes
Export includes file: external/srec/tools/grxmlcompile/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/export_includes
Notice file: external/srec/tools/grxmlcompile/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//bin/grxmlcompile.txt
Notice file: external/tinyxml/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libtinyxml.a.txt
Notice file: external/srec/portable/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libESR_Portable.so.txt
Notice file: external/srec/shared/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libESR_Shared.so.txt
Notice file: external/srec/srec/AcousticModels/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_AcousticModels.so.txt
Notice file: external/srec/srec/ca/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Core.so.txt
Notice file: system/core/libzipfile/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libzipfile.a.txt
Notice file: external/zlib/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libunz.a.txt
Notice file: external/srec/srec/EventLog/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_EventLog.so.txt
Notice file: external/srec/srec/AcousticState/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_AcousticState.so.txt
Notice file: external/srec/seti/sltsEngine/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_G2P.so.txt
Notice file: external/srec/srec/Grammar/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Grammar.so.txt
Notice file: external/srec/srec/Semproc/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Semproc.so.txt
Notice file: external/srec/srec/Vocabulary/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Vocabulary.so.txt
Notice file: external/srec/srec/Nametag/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Nametag.so.txt
Notice file: external/srec/srec/Session/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Session.so.txt
Notice file: external/srec/tools/thirdparty/OpenFst/fst/lib/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libfst.so.txt
Export includes file: external/srec/srec/Recognizer/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Recognizer_intermediates/export_includes
Import includes file: /home/josh/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libSR_Recognizer_intermediates/import_includes
Export includes file: external/srec/tools/make_g2g/Android.mk -- /home/josh/android/system/out/host/linux-x86/obj/EXECUTABLES/make_g2g_intermediates/export_includes
Notice file: external/srec/tools/make_g2g/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//bin/make_g2g.txt
Notice file: external/srec/srec/Recognizer/NOTICE -- /home/josh/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libSR_Recognizer.so.txt
Export includes file: external/busybox/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/export_includes
Export includes file: external/busybox/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/import_includes
Export includes file: external/busybox/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/busybox_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/add-property-tag_intermediates/import_includes
Export includes file: bootable/recovery/tools/ota/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/add-property-tag_intermediates/export_includes
Export includes file: external/libncurses/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libncurses_intermediates/export_includes
Export includes file: external/bash/builtins/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libbuiltins_intermediates/export_includes
Export includes file: external/bash/lib/glob/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libglob_intermediates/export_includes
Export includes file: external/bash/lib/sh/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libsh_intermediates/export_includes
Export includes file: external/bash/lib/tilde/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libtilde_intermediates/export_includes
Export includes file: external/bash/lib/readline/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libhistory_intermediates/export_includes
Export includes file: external/bash/lib/readline/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libreadline_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/SHARED_LIBRARIES/libncurses_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libbuiltins_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libglob_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libsh_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libtilde_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libhistory_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libreadline_intermediates/import_includes
Export includes file: external/bash/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/bash_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/check-lost+found_intermediates/import_includes
Export includes file: bootable/recovery/tools/ota/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/check-lost+found_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/cpustats_intermediates/import_includes
Export includes file: system/extras/cpustats/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/cpustats_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/dexdump_intermediates/import_includes
Export includes file: dalvik/dexdump/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/dexdump_intermediates/export_includes
Notice file: dalvik/dexdump/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/dexdump.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/dhdutil_intermediates/import_includes
Export includes file: hardware/broadcom/wlan/bcmdhd/dhdutil/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/dhdutil_intermediates/export_includes
Notice file: hardware/broadcom/wlan/bcmdhd/dhdutil/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/dhdutil.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/htop_intermediates/import_includes
Export includes file: external/htop/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/htop_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/ksminfo_intermediates/import_includes
Export includes file: system/extras/ksmutils/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/ksminfo_intermediates/export_includes
Notice file: system/extras/ksmutils/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/ksminfo.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/latencytop_intermediates/import_includes
Export includes file: system/extras/latencytop/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/latencytop_intermediates/export_includes
Notice file: system/extras/latencytop/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/latencytop.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/libc_test_intermediates/import_includes
Export includes file: system/extras/libc_test/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/libc_test_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/libc_test_static_intermediates/import_includes
Export includes file: system/extras/libc_test/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/libc_test_static_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/librank_intermediates/import_includes
Export includes file: system/extras/librank/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/librank_intermediates/export_includes
Notice file: system/extras/librank/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/librank.txt
Export includes file: external/lsof/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liblsof_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liblsof_intermediates/import_includes
Export includes file: external/lsof/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/lsof_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/memtrack_intermediates/import_includes
Export includes file: system/extras/memtrack/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/memtrack_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/memtrack_share_intermediates/import_includes
Export includes file: system/extras/memtrack/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/memtrack_share_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/micro_bench_intermediates/import_includes
Export includes file: system/extras/micro_bench/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/micro_bench_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/micro_bench_static_intermediates/import_includes
Export includes file: system/extras/micro_bench/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/micro_bench_static_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/nano_intermediates/import_includes
Export includes file: external/nano/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/nano_intermediates/export_includes
Export includes file: external/oprofile/libpopt/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_popt_intermediates/export_includes
Export includes file: external/oprofile/libutil/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_util_intermediates/export_includes
Export includes file: external/oprofile/libdb/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_db_intermediates/export_includes
Export includes file: external/oprofile/libabi/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_abi_intermediates/export_includes
Export includes file: external/oprofile/libop/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_op_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_popt_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_util_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_db_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_abi_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/liboprofile_op_intermediates/import_includes
Export includes file: external/oprofile/opcontrol/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/opcontrol_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/oprofiled_intermediates/import_includes
Export includes file: external/oprofile/daemon/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/oprofiled_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/powertop_intermediates/import_includes
Export includes file: external/powertop/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/powertop_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/procmem_intermediates/import_includes
Export includes file: system/extras/procmem/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/procmem_intermediates/export_includes
Notice file: system/extras/procmem/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/procmem.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/procrank_intermediates/import_includes
Export includes file: system/extras/procrank/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/procrank_intermediates/export_includes
Notice file: system/extras/procrank/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/procrank.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/rawbu_intermediates/import_includes
Export includes file: frameworks/native/cmds/rawbu/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/rawbu_intermediates/export_includes
Notice file: frameworks/native/cmds/rawbu/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/rawbu.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/rsync_intermediates/import_includes
Export includes file: external/rsync/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/rsync_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/sane_schedstat_intermediates/import_includes
Export includes file: system/extras/sane_schedstat/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/sane_schedstat_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/showmap_intermediates/import_includes
Export includes file: system/extras/showmap/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/showmap_intermediates/export_includes
Notice file: system/extras/showmap/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/showmap.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/showslab_intermediates/import_includes
Export includes file: system/extras/showslab/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/showslab_intermediates/export_includes
Notice file: system/extras/showslab/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/showslab.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/sqlite3_intermediates/import_includes
Export includes file: external/sqlite/dist/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/sqlite3_intermediates/export_includes
Notice file: external/sqlite/dist/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/sqlite3.txt
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/strace_intermediates/import_includes
Export includes file: external/strace/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/strace_intermediates/export_includes
Notice file: external/strace/NOTICE -- /home/josh/android/system/out/target/product/dlx/obj/NOTICE_FILES/src//system/xbin/strace.txt
Export includes file: external/pigz/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libpigz_intermediates/export_includes
Export includes file: external/pigz/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libzopfli_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libpigz_intermediates/import_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/STATIC_LIBRARIES/libzopfli_intermediates/import_includes
Export includes file: external/pigz/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/pigz_intermediates/export_includes
Import includes file: /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/vim_intermediates/import_includes
Export includes file: external/vim/src/Android.mk -- /home/josh/android/system/out/target/product/dlx/obj/EXECUTABLES/vim_intermediates/export_includes
make: *** No rule to make target `vendor/htc/dlx/proprietary/etc/firmware/leia_pm4_470.fw', needed by `/home/josh/android/system/out/target/product/dlx/system/etc/firmware/leia_pm4_470.fw'. Stop.
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$

@coachcrey;
That's not much history. All it tells is that this is failing super early in the build. Did you remember to run
breakfast dlx
? What's in this file:
.repo/local_manifests/roomservice.xml
Mine contains entries for the device, kernel and msm8960-common.

crpalmer said:
@coachcrey;
That's not much history. All it tells is that this is failing super early in the build. Did you remember to run
breakfast dlx
? What's in this file:
.repo/local_manifests/roomservice.xml
Mine contains entries for the device, kernel and msm8960-common.
Click to expand...
Click to collapse
Yeah I ran breakfast I also pulled the blobs from my phone. Idk I'm going to start from scratch seems like the best idea
Sent from my HTC6435LVW using Tapatalk

With commands like breakfast, room service, and blobs I think of how room service at Motel 6 will taste like.

I am having this same problem only to a different extent. Everything seemed to be going smoothly until i got to ./extract-files.sh
Then I ran into these problems and well evrythign else afterwords basically cause the build to fail im assuming because i never received the cm-yadayada.zip file in my out folder.
remote object '/system/etc/firmware/leia_pm4_470.fw' does not exist
remote object '/system/etc/firmware/leia_pfp_470.fw' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.mdt' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b01' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b03' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b02' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b00' does not exist
remote object '/system/lib/libc2d2_z180.so' does not exist
remote object '/system/lib/egl/eglsubAndroid.so' does not exist
remote object '/system/lib/egl/libGLESv1_CM_adreno200.so' does not exist
remote object '/system/lib/egl/libGLESv2_adreno200.so' does not exist
remote object '/system/lib/egl/libEGL_adreno200.so' does not exist
remote object '/system/lib/egl/libq3dtools_adreno200.so' does not exist
remote object '/system/lib/libc2d2_a3xx.so' does not exist
remote object '/system/lib/libgsl.so' does not exist
remote object '/system/lib/libsc-a3xx.so' does not exist
remote object '/system/lib/libC2D2.so' does not exist
remote object '/system/lib/libllvm-a3xx.so' does not exist
These show up throughout the extracting process
was hoping someone could provide some help.
I am running ubuntu 13.04 and using an htc droid dna or the dlx for cyanogenmod

hipsh0t said:
I am having this same problem only to a different extent. Everything seemed to be going smoothly until i got to ./extract-files.sh
Then I ran into these problems and well evrythign else afterwords basically cause the build to fail im assuming because i never received the cm-yadayada.zip file in my out folder.
remote object '/system/etc/firmware/leia_pm4_470.fw' does not exist
remote object '/system/etc/firmware/leia_pfp_470.fw' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.mdt' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b01' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b03' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b02' does not exist
remote object '/system/vendor/firmware/keymaster/keymaster.b00' does not exist
remote object '/system/lib/libc2d2_z180.so' does not exist
remote object '/system/lib/egl/eglsubAndroid.so' does not exist
remote object '/system/lib/egl/libGLESv1_CM_adreno200.so' does not exist
remote object '/system/lib/egl/libGLESv2_adreno200.so' does not exist
remote object '/system/lib/egl/libEGL_adreno200.so' does not exist
remote object '/system/lib/egl/libq3dtools_adreno200.so' does not exist
remote object '/system/lib/libc2d2_a3xx.so' does not exist
remote object '/system/lib/libgsl.so' does not exist
remote object '/system/lib/libsc-a3xx.so' does not exist
remote object '/system/lib/libC2D2.so' does not exist
remote object '/system/lib/libllvm-a3xx.so' does not exist
These show up throughout the extracting process
was hoping someone could provide some help.
I am running ubuntu 13.04 and using an htc droid dna or the dlx for cyanogenmod
Click to expand...
Click to collapse
It looks like our proprietary-files.txt is horrendously out-of-date. @zawata gave me a commit that fixes allt the missing ones, but looking at it, there are also some other entries that need to be added. I'll try to get that fixed soon.

so maybe i did something right for once. Thanks for the info ill check back in a few days or hours lol

@hipsh0t and @coachcrey
Try doing a repo sync and see if that works better now.

Wel things definately seem to be running smoother this time through :laugh:
brunch is cooking and oh how i love me some brunch but i was just wondering if this meant anything the last line i highlighted in red. Brunch is still running beyond that point but i really wasnt sure it something was missing.
Code:
[email protected]:~/Source$ brunch dlx
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20131220-UNOFFICIAL-dlx
TARGET_PRODUCT=cm_dlx
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.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/jk/Source/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20131220-UNOFFICIAL-dlx
TARGET_PRODUCT=cm_dlx
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.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/jk/Source/out
============================================
/home/jk/Source/out/target/product/dlx/obj/APPS/SignatureTest_intermediates
[COLOR="Red"]find: `src': No such file or directory[/COLOR]
-----======EDIT======------
Well this is the end of brunch/ cd $OUT and there is i believe 1 error if my eyes read correctly??
Code:
Import includes file: /home/jk/Source/out/target/product/dlx/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/import_includes
Gyp timestamp: /home/jk/Source/out/target/product/dlx/obj/GYP/third_party_WebKit_Source_core_debugger_script_source_gyp_intermediates/debugger_script_source.stamp
Gyp timestamp: /home/jk/Source/out/target/product/dlx/obj/GYP/third_party_WebKit_Source_core_injected_canvas_script_source_gyp_intermediates/injected_canvas_script_source.stamp
Gyp action: Generating /home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/blink/InjectedScriptSource.h from inspector/InjectedScriptSource.js (/home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/blink/InjectedScriptSource.h)
Gyp action: Generating /home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/blink/InspectorOverlayPage.h from inspector/InspectorOverlayPage.html (/home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/blink/InspectorOverlayPage.h)
Gyp action: Validate inspector protocol for backwards compatibility and generate version file (/home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/blink/InspectorProtocolVersion.h)
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1070, in <module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1066, in main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 1001, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 512, in CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
external/chromium_org/ui/gl/surface_jni_headers.target.linux-arm.mk:22: recipe for target '/home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h' failed
make: *** [/home/jk/Source/out/target/product/dlx/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/Source$ 350 KB/s (29784 bytes in 0.083s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 706 KB/s (64636 bytes in 0.089s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1656 KB/s (187768 bytes in 0.110s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1310 KB/s (131236 bytes in 0.097s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 3233 KB/s (1545544 bytes in 0.466s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1899 KB/s (247240 bytes in 0.127s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 748 KB/s (59252 bytes in 0.077s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 731 KB/s (64588 bytes in 0.086s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1104 KB/s (128280 bytes in 0.113s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 383 KB/s (31076 bytes in 0.079s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 438 KB/s (38404 bytes in 0.085s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 346 KB/s (28776 bytes in 0.081s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 3450 KB/s (2351952 bytes in 0.665s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1026 KB/s (99600 bytes in 0.094s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 114 KB/s (9304 bytes in 0.079s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 779 KB/s (62764 bytes in 0.078s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 357 KB/s (29800 bytes in 0.081s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 760 KB/s (64636 bytes in 0.082s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1138 KB/s (124440 bytes in 0.106s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 110 KB/s (9156 bytes in 0.081s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 1225 KB/s (187768 bytes in 0.149s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 218 KB/s (17580 bytes in 0.078s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ 350 KB/s (30816 bytes in 0.085s)
bash: syntax error near unexpected token `('
[email protected]:~/Source$ [email protected]:~/Source/device/htc/dlx$ export USE_CCACHE=1
bash: [email protected]:~/Source/device/htc/dlx$: No such file or directory
[email protected]:~/Source$ [email protected]:~/Source/device/htc/dlx$ cd ~/Source
bash: [email protected]:~/Source/device/htc/dlx$: No such file or directory
[email protected]:~/Source$ [email protected]:~/Source$ export USE_CCACHE=1
bash: [email protected]:~/Source$: No such file or directory
[email protected]:~/Source$ [email protected]:~/Source$ brunch dlx
bash: [email protected]:~/Source$: No such file or directory
[email protected]:~/Source$ including vendor/cm/vendorsetup.sh
including: command not found
[email protected]:~/Source$ Looking for dependencies
Looking: command not found
[email protected]:~/Source$
[email protected]:~/Source$ ============================================
============================================: command not found
[email protected]:~/Source$ PLATFORM_VERSION_CODENAME=REL
[email protected]:~/Source$ PLATFORM_VERSION=4.4.2
[email protected]:~/Source$ CM_VERSION=11-20131220-UNOFFICIAL-dlx
[email protected]:~/Source$ TARGET_PRODUCT=cm_dlx
[email protected]:~/Source$ TARGET_BUILD_VARIANT=userdebug
[email protected]:~/Source$ TARGET_BUILD_TYPE=release
[email protected]:~/Source$ TARGET_BUILD_APPS=
[email protected]:~/Source$ TARGET_ARCH=arm
[email protected]:~/Source$ TARGET_ARCH_VARIANT=armv7-a-neon
[email protected]:~/Source$ TARGET_CPU_VARIANT=krait
[email protected]:~/Source$ HOST_ARCH=x86
[email protected]:~/Source$ HOST_OS=linux
[email protected]:~/Source$ HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
[email protected]:~/Source$ HOST_BUILD_TYPE=release
[email protected]:~/Source$ BUILD_ID=KOT49H
[email protected]:~/Source$ OUT_DIR=/home/jk/Source/out
[email protected]:~/Source$ ============================================
============================================: command not found
[email protected]:~/Source$
[email protected]:~/Source$ ============================================
============================================: command not found
[email protected]:~/Source$ PLATFORM_VERSION_CODENAME=REL
[email protected]:~/Source$ PLATFORM_VERSION=4.4.2
[email protected]:~/Source$ CM_VERSION=11-20131220-UNOFFICIAL-dlx
[email protected]:~/Source$ TARGET_PRODUCT=cm_dlx
[email protected]:~/Source$ TARGET_BUILD_VARIANT=userdebug
[email protected]:~/Source$ TARGET_BUILD_TYPE=release
[email protected]:~/Source$ TARGET_BUILD_APPS=
[email protected]:~/Source$ TARGET_ARCH=arm
[email protected]:~/Source$ TARGET_ARCH_VARIANT=armv7-a-neon
[email protected]:~/Source$ TARGET_CPU_VARIANT=krait
[email protected]:~/Source$ HOST_ARCH=x86
[email protected]:~/Source$ HOST_OS=linux
[email protected]:~/Source$ HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
[email protected]:~/Source$ HOST_BUILD_TYPE=release
[email protected]:~/Source$ BUILD_ID=KOT49H
[email protected]:~/Source$ OUT_DIR=/home/jk/Source/out
[email protected]:~/Source$ ============================================
============================================: command not found
[email protected]:~/Source$ /home/jk/Source/out/target/product/dlx/obj/APPS/SignatureTest_intermediates
bash: /home/jk/Source/out/target/product/dlx/obj/APPS/SignatureTest_intermediates: No such file or directory
[email protected]:~/Source$ find: `src': No such file or directory
>

crpalmer said:
@hipsh0t and @coachcrey
Try doing a repo sync and see if that works better now.
Click to expand...
Click to collapse
I I just started a fresh sync on a hole new install of Ubuntu 13.10 so I'm crossing my fingers.
Sent from my HTC6435LVW using Tapatalk

Related

Use Raspberry Pi to build Android Project (AOSP)

Hi all !
My current project is to use my Raspberry Pi as a Build Machine to build all Android sources (AOSP). In fact, I'll not build AOSP but the CyanogenMod (wich is mainly a fork from AOSP).
I know this may sound crazy, dumb or useless (according to Google, a 64-bit environment is required, and a lot (>> 4GB) of RAM if you're in a hurry), especially to use an ARM processor to build while all the Makefiles has been written to be used on x86...
But what I'm thinking about is a really cheap, silent, but working build machine, to sync the repo and build nightlies everyday. The first build will take some days but then, only the changes will be build so I think that only some hours per day will be required.
If I success, I'll create a big tutorial to explain what changes was required.
First of all, I had to add the Linux-armv61 arch as Host OS/ARCH :
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 862b7f0..34eb31a 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -77,6 +77,10 @@ ifneq (,$(findstring Power,$(UNAME)))
HOST_ARCH := ppc
endif
[COLOR="SeaGreen"]+ifneq (,$(findstring arm,$(UNAME)))
+ HOST_ARCH := armv61
+endif
+[/COLOR]
BUILD_ARCH := $(HOST_ARCH)
ifeq ($(HOST_ARCH),)
then, I did this (because the raspbian ld doesn't support --icf) :
AdamOutler said:
so I did a
Code:
[email protected] ~/adb $ grep -r 'icf=safe' ./*
./build/core/combo/TARGET_linux-arm.mk: -Wl,--icf=safe \
and I removed that icf parameter.
Click to expand...
Click to collapse
-->
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index b36111f..24e0d99 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -146,7 +146,6 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,-z,relro \
-Wl,-z,now \
-Wl,--warn-shared-textrel \
[COLOR="Red"]- -Wl,--icf=safe \[/COLOR]
$(arch_variant_ldflags)
# We only need thumb interworking in cases where thumb support
but now I am stuck with this error :
Code:
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/bin/bash: r: command not found
make: [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/lib/crtbegin_static.o] Error 127 (ignored)
[COLOR="SeaGreen"]target SharedLib[/COLOR]: libdl (/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: error: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so uses VFP register arguments, /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o does not
/usr/bin/ld: failed to merge target specific data of file /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o
/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
make: *** [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1
I don't really know what I have to do and if it is because the HOST is an arm arch...
It have been a long time since I didn't put my hands in this kind of things and I need help to solve this problems... Thanks in advance !
cmoatoto said:
Hi all !
My current project is to use my Raspberry Pi as a Build Machine to build all Android sources (AOSP). In fact, I'll not build AOSP but the CyanogenMod (wich is mainly a fork from AOSP).
I know this may sound crazy, dumb or useless (according to Google, a 64-bit environment is required, and a lot (>> 4GB) of RAM if you're in a hurry), especially to use an ARM processor to build while all the Makefiles has been written to be used on x86...
But what I'm thinking about is a really cheap, silent, but working build machine, to sync the repo and build nightlies everyday. The first build will take some days but then, only the changes will be build so I think that only some hours per day will be required.
If I success, I'll create a big tutorial to explain what changes was required.
First of all, I had to add the Linux-armv61 arch as Host OS/ARCH :
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 862b7f0..34eb31a 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -77,6 +77,10 @@ ifneq (,$(findstring Power,$(UNAME)))
HOST_ARCH := ppc
endif
[COLOR="SeaGreen"]+ifneq (,$(findstring arm,$(UNAME)))
+ HOST_ARCH := armv61
+endif
+[/COLOR]
BUILD_ARCH := $(HOST_ARCH)
ifeq ($(HOST_ARCH),)
then, I did this (because the raspbian ld doesn't support --icf) :
-->
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index b36111f..24e0d99 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -146,7 +146,6 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,-z,relro \
-Wl,-z,now \
-Wl,--warn-shared-textrel \
[COLOR="Red"]- -Wl,--icf=safe \[/COLOR]
$(arch_variant_ldflags)
# We only need thumb interworking in cases where thumb support
but now I am stuck with this error :
Code:
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/bin/bash: r: command not found
make: [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/lib/crtbegin_static.o] Error 127 (ignored)
[COLOR="SeaGreen"]target SharedLib[/COLOR]: libdl (/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: error: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so uses VFP /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o does not
/usr/bin/ld: failed to merge target specific data of file /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o
/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
make: *** [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1
I don't really know what I have to do and if it is because the HOST is an arm arch...
It have been a long time since I didn't put my hands in this kind of things and I need help to solve this problems... Thanks in advance !
Click to expand...
Click to collapse
Hi There,
First lets roll it back a bit....... I would ditch the kernel building to begin with.... and just see if you can build the OS.
I'd also probably sanity check the toolchains by doing "BUILD_TINY_ANDROID=true make -j<whatever> " This build the very basics of the system and will probably highlight any issues
Looking at it however .... Are you building this on the PI? becuase your kernel build looks like it is still using the x86 tool-chain
Code:
ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt[B]/linux-x86/[/B]toolchain/arm-eabi-4.4.3/bin/arm-eabi-"
One more thing the HOST_ARCH can be just set to arm and not armv61 , I was going to submit the change to AOSP , JBQ has at least said it's a viable . I just haven't be chewing on PI too much! If you end up with a working patch set then feel free to add the AOSP change yourself, they only want the host file and probably the envsetup.mk
Good Luck
trevd said:
Hi There,
First lets roll it back a bit....... I would ditch the kernel building to begin with.... and just see if you can build the OS.
I'd also probably sanity check the toolchains by doing "BUILD_TINY_ANDROID=true make -j<whatever> " This build the very basics of the system and will probably highlight any issues
Looking at it however .... Are you building this on the PI? becuase your kernel build looks like it is still using the x86 tool-chain
Code:
ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt[B]/linux-x86/[/B]toolchain/arm-eabi-4.4.3/bin/arm-eabi-"
One more thing the HOST_ARCH can be just set to arm and not armv61 , I was going to submit the change to AOSP , JBQ has at least said it's a viable. I just haven't be chewing on PI too much! If you end up with a working patch set then feel free to add the AOSP change yourself, they only want the host file and probably the envsetup.mk
Good Luck
Click to expand...
Click to collapse
I launched a
Code:
BUILD_TINY_ANDROID=true make -j1
and I'll tell you what comes out.
Are you building this on the PI? becuase your kernel build looks like it is still using the x86 tool-chain
Code:
ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt[B]/linux-x86/[/B]toolchain/arm-eabi-4.4.3/bin/arm-eabi-"
Click to expand...
Click to collapse
I know that but I had difficulty to fix it.
First of all, I forgot to tell I added this host file :
Code:
[email protected] ~/buildspace/android/system/build $ cat core/combo/HOST_linux-armv61.mk
# Configuration for builds hosted on linux-armv6l.
# $(1): The file to check
define get-file-size
stat --format "%s" "$(1)" | tr -d '\n'
endef
HOST_SDK_TOOLCHAIN_PREFIX :=
ifneq (,$(strip $(wildcard $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc)))
HOST_CC := $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc
HOST_CXX := $(HOST_SDK_TOOLCHAIN_PREFIX)/g++
HOST_AR := $(HOST_SDK_TOOLCHAIN_PREFIX)/ar
endif # $(HOST_SDK_TOOLCHAIN_PREFIX)/gcc exists
HOST_GLOBAL_CFLAGS += -fPIC
HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,linux-armv61)
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
HOST_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined
Then, here is the result of "lunch" command (I build for n7000) :
Code:
[email protected] ~/buildspace/android/system $ lunch cm_n7000-userdebug
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.1
TARGET_PRODUCT=cm_n7000
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=armv61
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.27+-armv6l-with-debian-7.0
HOST_BUILD_TYPE=release
BUILD_ID=JOP40D
OUT_DIR=/media/totoext4part/cyanogenmod/system/out
============================================
About the "linux-x86" problem, I searched a lot and I think I have some change to do in tools/releasetools/common.py but I'll wait to understand well toolchains before doing useless bad things.
Here is the "BUILD_TINY_ANDROID=true make -j1" command result.
Code:
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
host C: mkbootfs <= system/core/cpio/mkbootfs.c
cc1: fatal error: build/core/combo/include/arch/linux-armv61/AndroidConfig.h: No such file or directory
compilation terminated.
make: *** [/media/totoext4part/cyanogenmod/system/out/host/linux-armv61/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 1
Ok I have to create some more host files...
Ok, I changed HOST_ARCH from armv61 to arm in build/core/envsetup.mk,
build/core/combo/HOST_linux-armv61.mk became build/core/combo/HOST_linux-arm.mk and in this file, I changed
Code:
HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,linux-armv61)
to
HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,linux-arm)
Here is what I got now (with "BUILD_TINY_ANDROID=true make -j1")
Code:
[COLOR="SeaGreen"][email protected][/COLOR] [COLOR="RoyalBlue"]~/buildspace/android/system $[/COLOR] BUILD_TINY_ANDROID=true make -j1
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.1
TARGET_PRODUCT=cm_n7000
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=arm
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.27+-armv6l-with-debian-7.0
HOST_BUILD_TYPE=release
BUILD_ID=JOP40D
OUT_DIR=/media/totoext4part/cyanogenmod/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/media/totoext4part/cyanogenmod/system/out/target/product/n7000/system/etc/mkshrc'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/media/totoext4part/cyanogenmod/system/out/target/product/n7000/system/etc/mkshrc'
PRODUCT_COPY_FILES system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
PRODUCT_COPY_FILES vendor/samsung/n7000/proprietary/system/etc/gps.xml:system/etc/gps.xml ignored.
build/core/tasks/kernel.mk:161: warning: overriding commands for target `TARGET_KERNEL_BINARIES'
device/samsung/galaxys2-common/shbootimg.mk:26: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES'
[COLOR="Olive"]host C[/COLOR]: acp <= build/tools/acp/acp.c
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes
[COLOR="Olive"]host C++[/COLOR]: libhost <= build/libs/host/pseudolocalize.cpp
[COLOR="olive"]host C[/COLOR]: libhost <= build/libs/host/CopyFile.c
[COLOR="olive"]host StaticLib[/COLOR]: libhost (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
[COLOR="MediumTurquoise"]Export includes file[/COLOR]: build/tools/acp/Android.mk -- /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/acp_intermediates/export_includes
[COLOR="Olive"]host Executable[/COLOR]: acp (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/acp_intermediates/acp)
[COLOR="MediumTurquoise"]Install: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/bin/acp[/COLOR]
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/import_includes
[COLOR="Olive"]host C[/COLOR]: mkbootfs <= system/core/cpio/mkbootfs.c
[COLOR="MediumTurquoise"]Export includes file[/COLOR]: system/core/cpio/Android.mk -- /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/export_includes
[COLOR="olive"]host Executable[/COLOR]: mkbootfs (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
[COLOR="MediumTurquoise"]Install: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/bin/mkbootfs[/COLOR]
/bin/bash: r: command not found
make: [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/lib/crtbegin_static.o] Error 127 (ignored)
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/EXECUTABLES/init_intermediates/import_includes
[COLOR="rgb(46, 139, 87)"]target thumb C[/COLOR]: init <= system/core/init/builtins.c
system/core/init/builtins.c: In function ‘do_exec’:
system/core/init/builtins.c:283:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/init.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/devices.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/property_service.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/util.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/logo.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/keychords.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/signal_handler.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/init_parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/ueventd.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/ueventd_parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/watchdogd.c
[COLOR="SeaGreen"]target SharedLib[/COLOR]: libdl (/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: error: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so uses VFP register arguments, /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o does not
/usr/bin/ld: failed to merge target specific data of file /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o
/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
make: *** [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1
So I'm stuck with almost my initial problem, a kind of two different libdl. But which one do I have to change and where can I find them?
cmoatoto said:
Ok, I changed HOST_ARCH from armv61 to arm in build/core/envsetup.mk,
build/core/combo/HOST_linux-armv61.mk became build/core/combo/HOST_linux-arm.mk and in this file, I changed
Code:
HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,linux-armv61)
to
HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,linux-arm)
Here is what I got now (with "BUILD_TINY_ANDROID=true make -j1")
Code:
[COLOR="SeaGreen"][email protected][/COLOR] [COLOR="RoyalBlue"]~/buildspace/android/system $[/COLOR] BUILD_TINY_ANDROID=true make -j1
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.1
TARGET_PRODUCT=cm_n7000
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=arm
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.27+-armv6l-with-debian-7.0
HOST_BUILD_TYPE=release
BUILD_ID=JOP40D
OUT_DIR=/media/totoext4part/cyanogenmod/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/media/totoext4part/cyanogenmod/system/out/target/product/n7000/system/etc/mkshrc'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/media/totoext4part/cyanogenmod/system/out/target/product/n7000/system/etc/mkshrc'
PRODUCT_COPY_FILES system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/n7000/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
PRODUCT_COPY_FILES vendor/samsung/n7000/proprietary/system/etc/gps.xml:system/etc/gps.xml ignored.
build/core/tasks/kernel.mk:161: warning: overriding commands for target `TARGET_KERNEL_BINARIES'
device/samsung/galaxys2-common/shbootimg.mk:26: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES'
[COLOR="Olive"]host C[/COLOR]: acp <= build/tools/acp/acp.c
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes
[COLOR="Olive"]host C++[/COLOR]: libhost <= build/libs/host/pseudolocalize.cpp
[COLOR="olive"]host C[/COLOR]: libhost <= build/libs/host/CopyFile.c
[COLOR="olive"]host StaticLib[/COLOR]: libhost (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
[COLOR="MediumTurquoise"]Export includes file[/COLOR]: build/tools/acp/Android.mk -- /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/acp_intermediates/export_includes
[COLOR="Olive"]host Executable[/COLOR]: acp (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/acp_intermediates/acp)
[COLOR="MediumTurquoise"]Install: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/bin/acp[/COLOR]
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/import_includes
[COLOR="Olive"]host C[/COLOR]: mkbootfs <= system/core/cpio/mkbootfs.c
[COLOR="MediumTurquoise"]Export includes file[/COLOR]: system/core/cpio/Android.mk -- /media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/export_includes
[COLOR="olive"]host Executable[/COLOR]: mkbootfs (/media/totoext4part/cyanogenmod/system/out/host/linux-arm/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
[COLOR="MediumTurquoise"]Install: /media/totoext4part/cyanogenmod/system/out/host/linux-arm/bin/mkbootfs[/COLOR]
/bin/bash: r: command not found
make: [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/lib/crtbegin_static.o] Error 127 (ignored)
[COLOR="MediumTurquoise"]Import includes file[/COLOR]: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/EXECUTABLES/init_intermediates/import_includes
[COLOR="rgb(46, 139, 87)"]target thumb C[/COLOR]: init <= system/core/init/builtins.c
system/core/init/builtins.c: In function ‘do_exec’:
system/core/init/builtins.c:283:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/init.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/devices.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/property_service.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/util.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/logo.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/keychords.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/signal_handler.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/init_parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/ueventd.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/ueventd_parser.c
[COLOR="SeaGreen"]target thumb C[/COLOR]: init <= system/core/init/watchdogd.c
[COLOR="SeaGreen"]target SharedLib[/COLOR]: libdl (/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: error: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so uses VFP register arguments, /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o does not
/usr/bin/ld: failed to merge target specific data of file /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o
/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
make: *** [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1
So I'm stuck with almost my initial problem, a kind of two different libdl. But which one do I have to change and where can I find them?
Click to expand...
Click to collapse
libdl is in the bionic directory, Did you clear your out ( rm -rf out ) directory before rebuilding?
You all of these are intermediate files ( i.e halfway done) what I suspect has happen is the obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o object file has been recompiled by the x86 toolchain and it's trying the link that in with some arm stuff.... That's all speculation however and I could be full of s**t! ,
EDIT: To find stuff type godir <word>
this indexes the source first time round the "cd's" to the chosen one ( might take a while to index on the pi )
also "hmm" is the help command which lists the majority of commands available to you.
trevd said:
libdl is in the bionic directory, Did you clear your out ( rm -rf out ) directory before rebuilding?
You all of these are intermediate files ( i.e halfway done) what I suspect has happen is the obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o object file has been recompiled by the x86 toolchain and it's trying the link that in with some arm stuff.... That's all speculation however and I could be full of s**t! ,
EDIT: To find stuff type godir <word>
this indexes the source first time round the "cd's" to the chosen one ( might take a while to index on the pi )
also "hmm" is the help command which lists the majority of commands available to you.
Click to expand...
Click to collapse
Thanks for the tip !
I'll do "rm -rf out" but I'll cry a bit, because it took some days to build some stuff (framework.jar, javadoc etc...). But as I said in the first post, I'm not in a hurry. I'll follow your idea.
About the toolchain problem, I think so (a x86 libdl compared to an arm one, one something like that). Now I have to find out how to force the x86 libdl to be build with arm.
I'll tell you when the rm -rf and the make will end.
cmoatoto said:
Thanks for the tip !
I'll do "rm -rf out" but I'll cry a bit, because it took some days to build some stuff (framework.jar, javadoc etc...). But as I said in the first post, I'm not in a hurry. I'll follow your idea.
About the toolchain problem, I think so (a x86 libdl compared to an arm one, one something like that). Now I have to find out how to force the x86 libdl to be build with arm.
I'll tell you when the rm -rf and the make will end.
Click to expand...
Click to collapse
What you need is an native armv6l androideabi toolchain thats capable of outputting armv7 and armv7-neon that supports the androideabi but run... probably something your going to have to build yourself.... also the cm toolchain are a little old now and they are probably not you best reference.
I would highly recommend talking to Linaro, They know a trick or two about the android toolchain and maintain an android repo which builds against the latest gcc! Although they don't directly build the arm for arm android toolchain ( I don't think ) they will probably be able to offer some guidance if you ask them nicely!!
Like I said earlier... Good Luck!
Some useful links:
http://www.linaro.org/
https://wiki.linaro.org/Platform/Android/FollowTheToolchainCycle
https://wiki.linaro.org/Platform/Android/AndroidOnPanda
This is something that took me crazy :thumbsup: good work.. will try soon! Btw android cannot run on Raspberry Pi due to the crap gpu in it
cmoatoto said:
Thanks for the tip !
I'll do "rm -rf out" but I'll cry a bit, because it took some days to build some stuff (framework.jar, javadoc etc...). But as I said in the first post, I'm not in a hurry. I'll follow your idea.
About the toolchain problem, I think so (a x86 libdl compared to an arm one, one something like that). Now I have to find out how to force the x86 libdl to be build with arm.
I'll tell you when the rm -rf and the make will end.
Click to expand...
Click to collapse
Did you ever get this working all the way? It would be awesome to be able to build some ROMs for my phone using the rpi!
Sent from my SPH-D710 using xda app-developers app
Won't building CM10 on a raspberrypi take ages? I know it easily takes 2-3 hours on my laptop to build it from scratch.
Yes and no.
The gnomes that lurk on Raspberry Pi Forums have gotten a working Gingerbread on the Pi, but it's not hardware accelerated due to Broadcom playing fast and loose with the GPU specs. A test build of ICS with said specs had been made seen, but it's not in the wild due to it being volunteer based, and with super secret sauce to boot.
lol @ gnomes
svenvv said:
Won't building CM10 on a raspberrypi take ages? I know it easily takes 2-3 hours on my laptop to build it from scratch.
Click to expand...
Click to collapse
Yes and no, but not for the reason moocow1452 said : The goal is not to RUN Android (or CM) on Raspberry, but to BUILD it on a Raspberry.
So, to answer the question, yes, it takes ages (days actually as far as I could go). Especially the Java builds are a pain in the a** (I had to swipe up to 2Go on a usb disk and reduce via scripts (to catch and log all java, javac and javadoc calls) the java heap size).
But once this builds have been done, they will not be run again until someone change the code associated. So if you pull the source everyday then build the code (= nightly builds), it will not take that long (maybe a couple of hour when it should take some minutes on a real computer)
Pyro96 said:
Did you ever get this working all the way? It would be awesome to be able to build some ROMs for my phone using the rpi!
Click to expand...
Click to collapse
No I didn't. They're is a looot of work to prepare the native armv6l androideabi toolchain and I don't really have time now. I keep this project in my mind but I will need some help with that (I might get it in some days/week if I'm lucky)
Hey guys. Great thread (subscribed) so far, many thanks.
One thing I normally use is distcc, but the android build system doesn't want to play. It would be nice if we could use that extra power.
...
cmoatoto said:
Hi all !
My current project is to use my Raspberry Pi as a Build Machine to build all Android sources (AOSP). In fact, I'll not build AOSP but the CyanogenMod (wich is mainly a fork from AOSP).
I know this may sound crazy, dumb or useless (according to Google, a 64-bit environment is required, and a lot (>> 4GB) of RAM if you're in a hurry), especially to use an ARM processor to build while all the Makefiles has been written to be used on x86...
But what I'm thinking about is a really cheap, silent, but working build machine, to sync the repo and build nightlies everyday. The first build will take some days but then, only the changes will be build so I think that only some hours per day will be required.
If I success, I'll create a big tutorial to explain what changes was required.
First of all, I had to add the Linux-armv61 arch as Host OS/ARCH :
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/envsetup.mk b/core/envsetup.mk
index 862b7f0..34eb31a 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -77,6 +77,10 @@ ifneq (,$(findstring Power,$(UNAME)))
HOST_ARCH := ppc
endif
[COLOR="SeaGreen"]+ifneq (,$(findstring arm,$(UNAME)))
+ HOST_ARCH := armv61
+endif
+[/COLOR]
BUILD_ARCH := $(HOST_ARCH)
ifeq ($(HOST_ARCH),)
then, I did this (because the raspbian ld doesn't support --icf) :
-->
Code:
[email protected] ~/buildspace/android/system/build $ git diff
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index b36111f..24e0d99 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -146,7 +146,6 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,-z,relro \
-Wl,-z,now \
-Wl,--warn-shared-textrel \
[COLOR="Red"]- -Wl,--icf=safe \[/COLOR]
$(arch_variant_ldflags)
# We only need thumb interworking in cases where thumb support
but now I am stuck with this error :
Code:
make -C kernel/samsung/smdk4210 O=/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 1: /media/totoext4part/cyanogenmod/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/linux/version.h
make[1]: Leaving directory `/media/totoext4part/cyanogenmod/system/kernel/samsung/smdk4210'
/bin/bash: r: command not found
make: [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/lib/crtbegin_static.o] Error 127 (ignored)
[COLOR="SeaGreen"]target SharedLib[/COLOR]: libdl (/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: error: /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so uses VFP register arguments, /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o does not
/usr/bin/ld: failed to merge target specific data of file /media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o
/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
make: *** [/media/totoext4part/cyanogenmod/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] Error 1
I don't really know what I have to do and if it is because the HOST is an arm arch...
It have been a long time since I didn't put my hands in this kind of things and I need help to solve this problems... Thanks in advance !
Click to expand...
Click to collapse
This was interesting. I may try to build a CM10 on a raspberry pi.
Did you guys actually manage to get it running?
I don't really want to dual boot my sp4 so a raspberry pi would be ideal. The 3 even has wi-fi, so it's easy to stay away somewhere. Would be ideal to build weeklys or bi-weeklys. I already have a spare 1TB external hard drive with power supply laying around.
Was thinking of getting one anyways as a htpc. Ordering 2 means less shipping xD.
The last post before yours is 3 years old, this thread is dead...
What a shame. I wanted to put my pi to a better use.
chrisvrose said:
What a shame. I wanted to put my pi to a better use.
Click to expand...
Click to collapse
Take a look here instead, might be more up to date: https://groups.google.com/forum/#!forum/android-rpi

[Q] Help me build Paranoid Android 3.50

Hi guys, it's been a while me building a ROM, i managed to build CM10.1 for Asus Eee Pad Transformer (TF101). It booted up succesfully. The ROM was nice. So now, im trying to build Paranoid Android 3.50 which release few days ago, it is still Android 4.2.2. I cloned the 4.2 device tree for the tablet. I think i don't need to clone the kernel source because i built the CM10.1 only with the device tree.
I have Ubuntu 13.04 installed in my PC, i had no problems when building the CM10.1 ROM.
Anyway, when i 'cd' to the Paranoid Android working folder in my computer, i typed:
Code:
. rom-build.sh
I didn't 'cd' it to my device tree, because i didn't found the rom-build.sh file. So it shows this error:
Code:
Building ParanoidAndroid v3.50
Traceback (most recent call last):
File "./vendor/pa/tools/getdevicetree.py", line 9, in <module>
device = sys.argv[1];
IndexError: list index out of range
Setting up environment
including device/asus/tf101/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/pa/bash_completion/repo.bash
Lunching device
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_". Stop.
Device not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_". Stop.
** Don't have a product spec for: 'pa_'
** Do you have the right repo manifest?
Starting compilation
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=pa_tf101
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_GCC_VERSION=4.6
TARGET_USE_O3=
TARGET_LINARO_STRING_ROUTINES=
TARGET_USE_GRAPHITE=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/munir/SourcePA/out
============================================
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE tf101
----- Making recovery image ------
target Dex: framework
target Strip: libcorkscrew (/home/munir/SourcePA/out/target/product/tf101/obj/lib/libcorkscrew.so)
target Strip: libjpeg (/home/munir/SourcePA/out/target/product/tf101/obj/lib/libjpeg.so)
make: *** [/home/munir/SourcePA/out/target/product/tf101/obj/lib/libcorkscrew.so] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/munir/SourcePA/out/target/product/tf101/obj/lib/libjpeg.so] Error 1
UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:206)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:422)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
at com.android.dx.command.dexer.Main.run(Main.java:209)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
1 error; aborting
make: *** [/home/munir/SourcePA/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Error 1
/home/munir/SourcePA/out/target/product/tf101/recovery.img maxsize=10205184 blocksize=4224 total=5398528 reserve=105600
Made recovery image: /home/munir/SourcePA/out/target/product/tf101/recovery.img
Total time elapsed: 0 minutes (38.828995636 seconds)
Device tree: https://github.com/josteink/device_asus_tf101
I did "repo sync" but no luck. Any suggestions?
TheMrcool212 said:
Hi guys, it's been a while me building a ROM, i managed to build CM10.1 for Asus Eee Pad Transformer (TF101). It booted up succesfully. The ROM was nice. So now, im trying to build Paranoid Android 3.50 which release few days ago, it is still Android 4.2.2. I cloned the 4.2 device tree for the tablet. I think i don't need to clone the kernel source because i built the CM10.1 only with the device tree.
I have Ubuntu 13.04 installed in my PC, i had no problems when building the CM10.1 ROM.
Anyway, when i 'cd' to the Paranoid Android working folder in my computer, i typed:
Code:
. rom-build.sh
I didn't 'cd' it to my device tree, because i didn't found the rom-build.sh file. So it shows this error:
Code:
Building ParanoidAndroid v3.50
Traceback (most recent call last):
File "./vendor/pa/tools/getdevicetree.py", line 9, in <module>
device = sys.argv[1];
IndexError: list index out of range
Setting up environment
including device/asus/tf101/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/pa/bash_completion/repo.bash
Lunching device
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_". Stop.
Device not found. Attempting to retrieve device repository from ParanoidAndroid Github (http://github.com/ParanoidAndroid).
Repository for not found in the ParanoidAndroid Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:223: *** Cannot locate config makefile for product "pa_". Stop.
** Don't have a product spec for: 'pa_'
** Do you have the right repo manifest?
Starting compilation
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=pa_tf101
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_GCC_VERSION=4.6
TARGET_USE_O3=
TARGET_LINARO_STRING_ROUTINES=
TARGET_USE_GRAPHITE=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=/home/munir/SourcePA/out
============================================
find: `src': No such file or directory
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmllite.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmllite.so'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmlplatform.so'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/lib/libmlplatform.so'
build/core/Makefile:40: warning: overriding commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/munir/SourcePA/out/target/product/tf101/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE tf101
----- Making recovery image ------
target Dex: framework
target Strip: libcorkscrew (/home/munir/SourcePA/out/target/product/tf101/obj/lib/libcorkscrew.so)
target Strip: libjpeg (/home/munir/SourcePA/out/target/product/tf101/obj/lib/libjpeg.so)
make: *** [/home/munir/SourcePA/out/target/product/tf101/obj/lib/libcorkscrew.so] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/munir/SourcePA/out/target/product/tf101/obj/lib/libjpeg.so] Error 1
UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:143)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:206)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:422)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
at com.android.dx.command.dexer.Main.run(Main.java:209)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
1 error; aborting
make: *** [/home/munir/SourcePA/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Error 1
/home/munir/SourcePA/out/target/product/tf101/recovery.img maxsize=10205184 blocksize=4224 total=5398528 reserve=105600
Made recovery image: /home/munir/SourcePA/out/target/product/tf101/recovery.img
Total time elapsed: 0 minutes (38.828995636 seconds)
Device tree: https://github.com/josteink/device_asus_tf101
I did "repo sync" but no luck. Any suggestions?
Click to expand...
Click to collapse
You need to run
Code:
. rom-build.sh <name of device>

AOSP 4.4 make error [*** target pattern contains no `%'.]

HI,
I've downloaded AOSP the 4.4 r1 branch. This is the first time I'm trying to build android.
I'm trying to make a device tree for GT-S7500 (samsung ace plus)
When I try to make, I receive the following error:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
TARGET_PRODUCT=aosp_trebon
TARGET_BUILD_VARIANT=userdebug
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.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=KRT16O
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/diskinstaller/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
build/core/package.mk:381: *** target pattern contains no "%". Stop.
if I look deeper in package.mk:
Line 381: $(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR)
Line 382: $(LOCAL_BUILT_MODULE): PRIVATE_PRIVATE_KEY := $(private_key)
Line 383: $(LOCAL_BUILT_MODULE): PRIVATE_CERTIFICATE := $(certificate)
If I try to echo the vars involved I receive:
$(private_key):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.pk8
$(certificate):
 @inherit:device/samsung/trebon/msm7x27a-common/BoardConfigCommon.mk.x509.pem
$(SIGNAPK_JAR):
out/host/linux-x86/framework/signapk.jar
Any information will be appreciated
Thanks in advance
Marco
AOSP 4.4 KitKat for GT-S7500 experimental building with @TheWhisp Kernel
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
marco.roello said:
I've managed the last error. Going a step further....
Does anyone what does this error mean? Something related bluetooth.
I do not know if the device tree I've built is correct.
Maybe only @TheWhisp could help me!
More or less the repositories I've used are (with little modifications):
device/samsung/msm7x27a from https://github.com/TheWhisp/android_device_samsung_msm7x27a-common.git
device/samsung/trebon from https://github.com/TheWhisp/android_device_samsung_s7500.git
kernel/samsung/msm7x27a from https://github.com/TheWhisp/android_kernel_samsung_msm7x27a.git
vendor/samsung from https://github.com/TheWhisp/proprietary_vendor_samsung_msm7x27a.git
Import includes file: out/target/product/trebon/obj/SHARED_LIBRARIES/libpower_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- out/target/product/trebon/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
make: *** Nessuna regola per generare l'obiettivo "out/target/product/trebon/obj/KERNEL_OBJ/usr", necessario per "out/target/product/trebon/obj/SHARED_LIBRARIES/audio.primary.msm7x27a_intermediates/AudioHardware.o". Arresto.
make: *** Attesa per i processi non terminati....
Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/trebon/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Click to expand...
Click to collapse
How did you manage to get rid of the error

CyanogenMod Build Errors

Hello everyone, I'm trying to build CyanogenMod for my device but am encountering some errors:
Code:
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/import_includes
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/gralloc.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/gralloc/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/gralloc.default_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libkeystore_binder_intermediates/import_includes
Export includes file: system/security/keystore/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libkeystore_binder_intermediates/export_includes
Export includes file: system/security/softkeymaster/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libsoftkeymaster_intermediates/export_includes
Export includes file: system/security/softkeymaster/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/keystore.default_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/local_time.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/local_time/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/local_time.default_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/power.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/power/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/power.default_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/vibrator.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/vibrator/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/vibrator.default_intermediates/export_includes
Notice file: external/neven/NOTICE -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj/NOTICE_FILES/src//system/lib/libFFTEm.so.txt
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libFFTEm_intermediates/import_includes
Export includes file: external/neven/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libstagefright_http_support_intermediates/import_includes
Export includes file: frameworks/av/media/libstagefright/http/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libstagefright_http_support_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libopensles_helper_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libOpenSLESUT_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libopensles_helper_intermediates/import_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/STATIC_LIBRARIES/libOpenSLESUT_intermediates/import_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libwilhelm_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libOpenMAXAL_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libOpenSLES_intermediates/export_includes
Import includes file: /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libsysutils_intermediates/import_includes
make: *** No rule to make target `/home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj/KERNEL_OBJ/usr', needed by `/home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libQWiFiSoftApCfg_intermediates/QWiFiSoftApCfg.o'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: system/core/libsysutils/Android.mk -- /home/tanuj/android/cyanogenmod-12.1/out/target/product/black/obj_arm/SHARED_LIBRARIES/libsysutils_intermediates/export_includes
make: Leaving directory `/home/tanuj/android/cyanogenmod-12.1'
#### make failed to build some targets (02:09 (mm:ss)) ####
And also these:
Code:
PRODUCT_COPY_FILES vendor/xolo/black/proprietary/bin/sysinit:system/bin/sysinit ignored.
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/bootanimation/1080.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE black
Any help will be appreciated.

TWRP compilation error(s)

I'm having having problems compiling twrp using omni twrp-9.0 minimal manifest
I've fixed all errors up to this one
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=full_oscar
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-52-generic-x86_64-Ubuntu-18.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190605.003
OUT_DIR=/home/server/code/out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
$(file </home/server/code/out/.module_paths/Android.mk.list) was changed, regenerating...
[4/156] including bootable/recovery/Android.mk ...
cat: external/busybox/busybox-full.links: No such file or directory
[85/156] including frameworks/base/Android.mk ...
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
[137/156] including system/core/Android.mk ...
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
sed: can't read development/sdk/plat_tools_source.prop_template: No such file or directory
[147/156] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[156/156] including vendor/omni/Android.mk ...
BOARD_KERNEL_IMAGE_NAME not defined.
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/server/code/out/target/product/oscar/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/server/code/out/target/product/oscar/root/res/images/charger/battery_fail.png'
build/make/core/base_rules.mk:412: warning: overriding commands for target `/home/server/code/out/target/product/oscar/root/res/images/charger/battery_scale.png'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/server/code/out/target/product/oscar/root/res/images/charger/battery_scale.png'
build/make/core/Makefile:28: warning: overriding commands for target `/home/server/code/out/target/product/oscar/system/lib/libcamera_client.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/server/code/out/target/product/oscar/system/lib/libcamera_client.so'
vendor/omni/build/tasks/kernel.mk:435: warning: overriding commands for target `/home/server/code/out/target/product/oscar/kernel'
build/make/core/Makefile:28: warning: ignoring old commands for target `/home/server/code/out/target/product/oscar/kernel'
ninja: error: 'system/core/toolbox/ls.c', needed by '/home/server/code/out/target/product/oscar/obj/EXECUTABLES/toolbox_recovery_intermediates/ls.o', missing and no known rule to make it
23:13:51 ninja failed with: exit status 1
#### failed to build some targets (01:22 (mm:ss)) ####
When I go to the "system/core/toolbox/" directory there is no ls.c, as per the error log, but when I add it to toolbox it throws up a bunch of errors, and when is replace the entire directory with another one I found online it does the same.
Can anyone help me?
Did you find out a solution?
mauro235 said:
Did you find out a solution?
Click to expand...
Click to collapse
Nah

Categories

Resources