[Q] Cannot find -lpthread - Micromax Canvas Magnus A117

Hi all,
I am trying to build AOSP kitkat for Canvas Magnus. While building i get this error and compiling stops. "Cannot find -lpthred" in <path-to-toolchain>/bin/ld. I have tried using android toolchain 4.8, 4.7 came along with source. I tried it with Linaro 4.7, still the same.
I tried searching on XDA & google but not much help found.
Under frameworks/compile/libcc/Android.mk i found this:
ifndef USE_MINGW
LOCAL_LDLIBS := -ldl -lpthread
endif
Seems on non windows os (nix) its asking to use local LD Libs, I am using Mint 17, gcc version 4.8.2.
I need any help understanding why its failing. I don't need a fix, but if you can guide me in a direction i will be greatful.
Regards
AJ

Here's the few lines with the error: its happing while linking gsm0710 modem
Install: out/target/product/a117/system/lib/libext2fs.so
target Executable: bugreport (out/target/product/a117/obj/EXECUTABLES/bugreport_intermediates/LINKED/bugreport)
target Executable: toolbox (out/target/product/a117/obj/EXECUTABLES/toolbox_intermediates/LINKED/toolbox)
target Executable: clatd (out/target/product/a117/obj/EXECUTABLES/clatd_intermediates/LINKED/clatd)
target SharedLib: libbacktrace_libc++ (out/target/product/a117/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/LINKED/libbacktrace_libc++.so)
target Executable: dnsmasq (out/target/product/a117/obj/EXECUTABLES/dnsmasq_intermediates/LINKED/dnsmasq)
target Executable: dumpstate (out/target/product/a117/obj/EXECUTABLES/dumpstate_intermediates/LINKED/dumpstate)
target Executable: gsm0710muxd (out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd)
target Executable: installd (out/target/product/a117/obj/EXECUTABLES/installd_intermediates/LINKED/installd)
/home/xelion/droid-dev/asop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
make: *** [out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd] Error 1
make: *** Waiting for unfinished jobs....
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.

Related

[Q] [Cyanogenmod 7] Help - Error While Compiling Cm 7.1 - Libicui/libdvm

Hi guys,
Im new in the Forum and this is my first post, if someone can help me with my situation I will be very grateful.
My problem is the following:
Ive been trying to compile CM and while building there where few errors, until now I could fix them by myself but the latest one I havent been able to.
My machine: Pretty much standard Dell xps 15, core i7, 8GB RAM running Ubuntu 13.10, I upgrade it from 13.04.
I follow the standard guide to compile the code presented in the Wiki:
//wiki.cyanogen.../Build_for_p500 (im new and i cannot post outgoing links)
And the error is the following , after using the BRUNCH P500 command:
Code:
target StaticLib: libop (out/target/product/p500/obj/STATIC_LIBRARIES/libop_intermediates/libop.a)
host SharedLib: libdvm (out/host/linux-x86/obj/lib/libdvm.so)
Install: out/host/linux-x86/lib/libssl.so
Install: out/host/linux-x86/lib/libicuuc.so
Install: out/host/linux-x86/bin/dexdeps
Install: out/host/linux-x86/bin/emulator
Install: out/host/linux-x86/bin/jasmin
Install: out/host/linux-x86/bin/mksnapshot
Install: out/host/linux-x86/framework/hosttestlib.jar
Install: out/host/linux-x86/framework/sdklib.jar
Install: out/host/linux-x86/framework/sdkstats.jar
Install: out/host/linux-x86/framework/ddmuilib.jar
out/host/linux-x86/obj/lib/libicui18n.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libdvm.so] Error 1
make: *** Waiting for unfinished jobs....
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
external/sqlite/dist/sqlite3.c: In function 'fkLookupParent':
external/sqlite/dist/sqlite3.c:54938: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true
target StaticLib: libc_nomalloc (out/target/product/p500/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

Building error need help

I have been working with one other person to build liquid smooth for the Samsung vibrant. The device is no longer supported so we have worked our way through all the errors that should have appeared with an unsupported device. This so the error I'm getting noe when the build is almost finished. My friend literally just resynced and built it without this error so I need some help as he has not seen this error. I'm using Ubuntu 13.10 java jdk 6 and this is the error
target Dex: Gallery2
target Dex: Contacts
target Dex: Dialer
target Dex: Launcher3
collect2: error: ld returned 1 exit status
make: *** [/home/skinzy98/liquid/out/target/product/vibrantmtd/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
Sent from my Nexus 4 using xda app-developers app
Just a comment my friend seems to think it could be something with my build environment but he's not sure. Any help?
Sent from my Nexus 4 using xda app-developers app
skinzy98 said:
I have been working with one other person to build liquid smooth for the Samsung vibrant. The device is no longer supported so we have worked our way through all the errors that should have appeared with an unsupported device. This so the error I'm getting noe when the build is almost finished. My friend literally just resynced and built it without this error so I need some help as he has not seen this error. I'm using Ubuntu 13.10 java jdk 6 and this is the error
target Dex: Gallery2
target Dex: Contacts
target Dex: Dialer
target Dex: Launcher3
collect2: error: ld returned 1 exit status
make: *** [/home/skinzy98/liquid/out/target/product/vibrantmtd/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE
kostoulhs said:
I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE
Click to expand...
Click to collapse
I'm pretty sure that all of a sudden the error went away after I repo synced after a couple days. It seems to be something they were changing. If not try installing a different java. I think 6 not 7
clean installs are love. clean installs are life
skinzy98 said:
I'm pretty sure that all of a sudden the error went away after I repo synced after a couple days. It seems to be something they were changing. If not try installing a different java. I think 6 not 7
clean installs are love. clean installs are life
Click to expand...
Click to collapse
i have oracle JDK 6 somewhere i read that you should change branches to framework/base from kitkat3 to kitkat2
I didn't have to use that I think I changed to javasun maybe. I searched that error also and I believe overstack had something about it
clean installs are love. clean installs are life
Normally, that error means you don't had sufficient RAM
marcomarinho said:
Normally, that error means you don't had sufficient RAM
Click to expand...
Click to collapse
:/ 15GB ram not enough?
kirito9 said:
:/ 15GB ram not enough?
Click to expand...
Click to collapse
Yes, but there're other processes running on your PC xD do a clean build and see if worked.
marcomarinho said:
Yes, but there're other processes running on your PC xD do a clean build and see if worked.
Click to expand...
Click to collapse
Hmm, I usually get this error in cm11 but when compiling in cm12. There's no error. I already did make clean and same error, did a repo sync, still same error. Not really sure what is the problem. I had this before lol and I solved it but I don't remember what I did.
kirito9 said:
Hmm, I usually get this error in cm11 but when compiling in cm12. There's no error. I already did make clean and same error, did a repo sync, still same error. Not really sure what is the problem. I had this before lol and I solved it but I don't remember what I did.
Click to expand...
Click to collapse
Post here the log
marcomarinho said:
Post here the log
Click to expand...
Click to collapse
http://pastebin.com/d22irFJs
or
Code:
target Executable: busybox (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
target Executable: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/e2fsck_intermediates/LINKED/e2fsck)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libext2fs.so
target Executable: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/mke2fs_intermediates/LINKED/mke2fs)
target Executable: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/tune2fs_intermediates/LINKED/tune2fs)
target SharedLib: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libcorkscrew_intermediates/LINKED/libcorkscrew.so)
target SharedLib: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libusbhost_intermediates/LINKED/libusbhost.so)
target Symbolic: libjpeg (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libjpeg.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libft2.so
target Symbolic: libminadbd (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libminadbd.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libtar.so
target Symbolic: toolbox_recovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/toolbox)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libext4_utils.so
target Symbolic: libaosprecovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libaosprecovery.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/openaes
target Executable: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/make_ext4fs_intermediates/LINKED/make_ext4fs)
target Symbolic: reboot (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/reboot)
target Symbolic: dump_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/dump_image)
target Symbolic: erase_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/erase_image)
target Symbolic: flash_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/flash_image)
target Symbolic: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/e2fsck)
target Symbolic: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/mke2fs)
target Symbolic: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/tune2fs)
target Symbolic: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libcorkscrew.so)
target Symbolic: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libusbhost.so)
target Strip: libjpeg (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libjpeg.so)
target Strip: libminadbd (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libminadbd.so)
target Strip: toolbox_recovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/toolbox_recovery_intermediates/toolbox)
target Strip: libaosprecovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libaosprecovery.so)
target Symbolic: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/make_ext4fs)
target Strip: reboot (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/reboot_intermediates/reboot)
target Strip: dump_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/dump_image_intermediates/dump_image)
target Strip: erase_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/erase_image_intermediates/erase_image)
target Strip: flash_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/flash_image_intermediates/flash_image)
target Strip: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/e2fsck_intermediates/e2fsck)
target Strip: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/mke2fs_intermediates/mke2fs)
target Strip: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/tune2fs_intermediates/tune2fs)
target Strip: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libcorkscrew.so)
target Strip: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libusbhost.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libjpeg.so
target SharedLib: libminuitwrp (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/LINKED/libminuitwrp.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libminadbd.so
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/toolbox
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libaosprecovery.so
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/bin/reboot
target Strip: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/make_ext4fs_intermediates/make_ext4fs)
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/start -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/stop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/getprop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/setprop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/load_policy -> toolbox
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/Vector.h:240: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/Vector.h:240: error: undefined reference to 'android::VectorImpl::~VectorImpl()'
system/core/include/utils/Vector.h:338: error: undefined reference to 'android::VectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/Vector.h:338: error: undefined reference to 'android::VectorImpl::add(void const*)'
system/core/include/utils/Vector.h:68: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/Vector.h:224: error: undefined reference to 'android::VectorImpl::VectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:237: error: undefined reference to 'android::VectorImpl::removeItemsAt(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
collect2: error: ld returned 1 exit status
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/erase_image
make: *** [/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/LINKED/libminuitwrp.so] Error 1
make: Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/dump_image
*** Waiting for unfinished jobs....
kirito9 said:
http://pastebin.com/d22irFJs
Click to expand...
Click to collapse
That's a different error .. You have errors in system/core. Are you using system/core from cm11 repo or from another source?
marcomarinho said:
That's a different error .. You have errors in system/core. Are you using system/core from cm11 repo or from another source?
Click to expand...
Click to collapse
I'm using from cm11 sources. They're the latest sources. On my PC, I'm using compressed sources of cm11 which weren't probably updated. Btw This gave me a clue. I remembered what I did haha. I just remembered I have to revert some commits. Thanks man .
I have to revert this.
kirito9 said:
I'm using from cm11 sources. They're the latest sources. On my PC, I'm using compressed sources of cm11 which weren't probably updated. Btw This gave me a clue. I remembered what I did haha. I just remembered I have to revert some commits. Thanks man .
I have to revert this.
Click to expand...
Click to collapse
Eheheh no problem. I'm glad you've solved the problem!! :highfive:

[Q][WIP] Android 5 Lollipop for S2vep

OK mates i am building Android 5 from the stock AOSP until VanirAOSP Lollipop finish the download by the wat i got this error during compilation, that you show in the box code.
host SharedLib: libSR_Recognizer_32 (out/host/linux-x86/obj32/lib/libSR_Recognizer.so)
target R.java/Manifest.java: VpnDialogs (out/target/common/obj/APPS/VpnDialogs_intermediates/src/R.stamp)
warning: string 'accept' has no default translation.
target R.java/Manifest.java: WallpaperCropper (out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
target StaticExecutable: add-property-tag (out/target/product/s2vep/obj/EXECUTABLES/add-property-tag_intermediates/LINKED/add-property-tag)
target StaticExecutable: check-lost+found (out/target/product/s2vep/obj/EXECUTABLES/check-lost+found_intermediates/LINKED/check-lost+found)
target Executable: cpustats (out/target/product/s2vep/obj/EXECUTABLES/cpustats_intermediates/LINKED/cpustats)
target Executable: dhdutil (out/target/product/s2vep/obj/EXECUTABLES/dhdutil_intermediates/LINKED/dhdutil)
target Executable: fio (out/target/product/s2vep/obj/EXECUTABLES/fio_intermediates/LINKED/fio)
target Executable: latencytop (out/target/product/s2vep/obj/EXECUTABLES/latencytop_intermediates/LINKED/latencytop)
target StaticExecutable: memtrack (out/target/product/s2vep/obj/EXECUTABLES/memtrack_intermediates/LINKED/memtrack)
target Executable: memtrack_share (out/target/product/s2vep/obj/EXECUTABLES/memtrack_share_intermediates/LINKED/memtrack_share)
target Executable: micro_bench (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_intermediates/LINKED/micro_bench)
target StaticExecutable: micro_bench_static (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_static_intermediates/LINKED/micro_bench_static)
target Executable: sane_schedstat (out/target/product/s2vep/obj/EXECUTABLES/sane_schedstat_intermediates/LINKED/sane_schedstat)
target Executable: showslab (out/target/product/s2vep/obj/EXECUTABLES/showslab_intermediates/LINKED/showslab)
target Executable: strace (out/target/product/s2vep/obj/EXECUTABLES/strace_intermediates/LINKED/strace)
target StaticExecutable: su (out/target/product/s2vep/obj/EXECUTABLES/su_intermediates/LINKED/su)
Target boot image: out/target/product/s2vep/boot.img
error: could not load kernel 'out/target/product/s2vep/kernel'
make: *** [out/target/product/s2vep/boot.img] Error 1
make: *** Waiting for unfinished jobs....
warning: no entries written for dimen/password_keyboard_height (0x010500a2)
warning: no entries written for drawable/ab_solid_shadow_mtrl (0x010800bb)
warning: no entries written for drawable/ab_transparent_mtrl_alpha (0x010800c4)
warning: no entries written for drawable/btn_check_off_mtrl_alpha (0x010800f8)
warning: no entries written for drawable/btn_check_on_mtrl_alpha (0x0108010e)
warning: no entries written for drawable/btn_radio_off_mtrl_alpha (0x010801b0)
warning: no entries written for drawable/btn_radio_off_pressed_mtrl_alpha (0x010801b4)
warning: no entries written for drawable/switch_off_mtrl_alpha (0x010806b1)
warning: no entries written for drawable/switch_on_mtrl_alpha (0x010806b2)
warning: no entries written for drawable/sym_keyboard_delete_holo (0x010806c5)
#### make failed to build some targets (01:16:17 (hh:mm:ss)) ####
to know I got about 6gb of s2vep out folder, so any help for this error???
It cannot find boot.img, obviously.
Is kernel compilled? Or does it use a prebuilt one?
haky 86 said:
OK mates i am building Android 5 from the stock AOSP until VanirAOSP Lollipop finish the download by the wat i got this error during compilation, that you show in the box code.
host SharedLib: libSR_Recognizer_32 (out/host/linux-x86/obj32/lib/libSR_Recognizer.so)
target R.java/Manifest.java: VpnDialogs (out/target/common/obj/APPS/VpnDialogs_intermediates/src/R.stamp)
warning: string 'accept' has no default translation.
target R.java/Manifest.java: WallpaperCropper (out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
target StaticExecutable: add-property-tag (out/target/product/s2vep/obj/EXECUTABLES/add-property-tag_intermediates/LINKED/add-property-tag)
target StaticExecutable: check-lost+found (out/target/product/s2vep/obj/EXECUTABLES/check-lost+found_intermediates/LINKED/check-lost+found)
target Executable: cpustats (out/target/product/s2vep/obj/EXECUTABLES/cpustats_intermediates/LINKED/cpustats)
target Executable: dhdutil (out/target/product/s2vep/obj/EXECUTABLES/dhdutil_intermediates/LINKED/dhdutil)
target Executable: fio (out/target/product/s2vep/obj/EXECUTABLES/fio_intermediates/LINKED/fio)
target Executable: latencytop (out/target/product/s2vep/obj/EXECUTABLES/latencytop_intermediates/LINKED/latencytop)
target StaticExecutable: memtrack (out/target/product/s2vep/obj/EXECUTABLES/memtrack_intermediates/LINKED/memtrack)
target Executable: memtrack_share (out/target/product/s2vep/obj/EXECUTABLES/memtrack_share_intermediates/LINKED/memtrack_share)
target Executable: micro_bench (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_intermediates/LINKED/micro_bench)
target StaticExecutable: micro_bench_static (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_static_intermediates/LINKED/micro_bench_static)
target Executable: sane_schedstat (out/target/product/s2vep/obj/EXECUTABLES/sane_schedstat_intermediates/LINKED/sane_schedstat)
target Executable: showslab (out/target/product/s2vep/obj/EXECUTABLES/showslab_intermediates/LINKED/showslab)
target Executable: strace (out/target/product/s2vep/obj/EXECUTABLES/strace_intermediates/LINKED/strace)
target StaticExecutable: su (out/target/product/s2vep/obj/EXECUTABLES/su_intermediates/LINKED/su)
Target boot image: out/target/product/s2vep/boot.img
error: could not load kernel 'out/target/product/s2vep/kernel'
make: *** [out/target/product/s2vep/boot.img] Error 1
make: *** Waiting for unfinished jobs....
warning: no entries written for dimen/password_keyboard_height (0x010500a2)
warning: no entries written for drawable/ab_solid_shadow_mtrl (0x010800bb)
warning: no entries written for drawable/ab_transparent_mtrl_alpha (0x010800c4)
warning: no entries written for drawable/btn_check_off_mtrl_alpha (0x010800f8)
warning: no entries written for drawable/btn_check_on_mtrl_alpha (0x0108010e)
warning: no entries written for drawable/btn_radio_off_mtrl_alpha (0x010801b0)
warning: no entries written for drawable/btn_radio_off_pressed_mtrl_alpha (0x010801b4)
warning: no entries written for drawable/switch_off_mtrl_alpha (0x010806b1)
warning: no entries written for drawable/switch_on_mtrl_alpha (0x010806b2)
warning: no entries written for drawable/sym_keyboard_delete_holo (0x010806c5)
#### make failed to build some targets (01:16:17 (hh:mm:ss)) ####
to know I got about 6gb of s2vep out folder, so any help for this error???
Click to expand...
Click to collapse
Where is located the kernel source?
LuK1337 said:
Where is located the kernel source?
Click to expand...
Click to collapse
The located kernel is in the following folder kernel/samsung/galaxys2plus-common
and also i build the zImage and use it as prebuilt kernel, but still give me same issue
actually i am using bcm28155_capri_ss_s2vep_rev05_defconfig as defconfig cause the default one is for cyanogen mod...
andrewww57 said:
It cannot find boot.img, obviously.
Is kernel compilled? Or does it use a prebuilt one?
Click to expand...
Click to collapse
I try it by make one, compilation is fine and use it as prebuilt one but that error still appear...
Sent from my GT-I9105P using XDA Free mobile app
You need to declare the prebuilt kernel as your prbuilt kernel in device_s2vep.mk , see other aosp trees as an example.
BTW, aosp does not support inline kernel building unless for some qcom kernels
@CoolDevelopment @andrewww57
Thank you guys, i fix boot.img by building one and insert it in device tree as well and also now i have more than 14gb and is finish to build chromium source so i guess will need another many hours...
See you next update...
haky 86 said:
@CoolDevelopment @andrewww57
Thank you guys, i fix boot.img by building one and insert it in device tree as well and also now i have more than 14gb and is finish to build chromium source so i guess will need another many hours...
See you next update...
Click to expand...
Click to collapse
take your time
Better do something like this:
put your prebuilt kernel into device/s2vep/kernel
add this
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
to the top of device_s2vep.mk
Android 5 *_*
Sent from my GT-I9105P using XDA Premium 4 mobile app
CoolDevelopment said:
Better do something like this:
put your prebuilt kernel into device/s2vep/kernel
add this
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
to the top of device_s2vep.mk
Click to expand...
Click to collapse
ok now is this and is generate about 17gb of out!! :/
including ./system/media/camera/tests/Android.mk ...
including ./system/netd/client/Android.mk ...
including ./system/netd/server/Android.mk ...
including ./system/security/keystore-engine/Android.mk ...
including ./system/security/keystore/Android.mk ...
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
No private recovery resources for TARGET_DEVICE s2vep
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/android_webview_android_webview_common_gyp.a.txt
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/libwebviewchromium.so.txt
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/android_webview_native_webview_native_gyp.a.txt
target Strip: libwebviewchromium (out/target/product/s2vep/obj/lib/libwebviewchromium.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-striput/target/product/s2vep/symbols/system/lib/libwebviewchromium.so: File format not recognized
make: *** [out/target/product/s2vep/obj/lib/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
libwebviewchromium.so is not a prpritary file right?
CoolDevelopment said:
libwebviewchromium.so is not a prpritary file right?
Click to expand...
Click to collapse
I guess no, doing a google it's dependes from ram quantity coz i have 4gb, now i correct my device_s2vep.mk with your configuration, because boot.img still appear, i guess the compilation is at the end... :/
please try to update make to at least 4.0
CoolDevelopment said:
please try to update make to at least 4.0
Click to expand...
Click to collapse
That should be downloading from here? coz i use 3.82!!
http://ftp.gnu.org/gnu/make/
is stuck after creating userdata.img and have 18.2gb of out, i am going to kill my self!!!
Thank your so very mich for doing all this hard work for our S2+!!
Just a quick noob question:
Is the zip file allready compiled vor does compiling fail?
Thanks in advance
NW2000 said:
Thank your so very mich for doing all this hard work for our S2+!!
Just a quick noob question:
Is the zip file allready compiled vor does compiling fail?
Thanks in advance
Click to expand...
Click to collapse
Nop is still stuck at boot.img, i guess to wait cm12, it's easier to port
haky 86 said:
Nop is still stuck at boot.img, i guess to wait cm12, it's easier to port
Click to expand...
Click to collapse
Compile kernel to get the 'kernel' file and use it as prebuilt in config. It should work.
As @CoolDevelopment said add to device mk file this code
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
and put 'kernel' into the folder of device source. It should handle this kernel. Also it's better to delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG' from BoardConfig.mk, I think.
andrewww57 said:
Compile kernel to get the 'kernel' file and use it as prebuilt in config. It should work.
As @CoolDevelopment said add to device mk file this code
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
and put 'kernel' into the folder of device source. It should handle this kernel. Also it's better to delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG' from BoardConfig.mk, I think.
Click to expand...
Click to collapse
OK andrew I will follow that steps, by the way i am downloading it again with all prebuilts tools i guess missed some tools that generate boot.img, once got the zImage i need to rename it to kernel.
Something like this?
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
So that's mean the # Kernel lines in boardconfig.mk should be removed in this case?
thanx again
haky 86 said:
OK andrew I will follow that steps, by the way i am downloading it again with all prebuilts tools i guess missed some tools that generate boot.img, once got the zImage i need to rename it to kernel.
Something like this?
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
So that's mean the # Kernel lines in boardconfig.mk should be removed in this case?
thanx again
Click to expand...
Click to collapse
Try to add this to BoardConfig:
Code:
TARGET_PREBUILT_KERNEL := device/samsung/s2vep/kernel
and delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG'
And add yours to device mk:
Code:
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel

Compiling cm13 error 'unknown type init_shell'

Hello,
I'm coming from another phone and am new to this one. I'm jumping in to see if and where I can help with with bugs related to the cm13 device tree.
After almost a full compile, I'm running into an error I can't figure out.
Code:
No private recovery resources for TARGET_DEVICE osprey
make -C kernel/motorola/msm8916 O=/home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/xclusive36/android/cm13/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= osprey_defconfig
host Executable: mkbootfs (/home/xclusive36/android/cm13/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
make[1]: Entering directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
Install: /home/xclusive36/android/cm13/out/host/linux-x86/lib64/libcutils.so
/home/xclusive36/android/cm13/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/policy.conf
device/motorola/osprey/sepolicy/init_shell.te:2:ERROR 'unknown type init_shell' at token ';' on line 26943:
#line 1 "device/motorola/osprey/sepolicy/init_shell.te"
allow init_shell utags_block_device:blk_file { getattr open read ioctl lock };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
make: Leaving directory `/home/xclusive36/android/cm13'
#### make failed to build some targets (07:12 (mm:ss)) ####
Any help would be appreciated.
Thanks
xclusive36 said:
Hello,
I'm coming from another phone and am new to this one. I'm jumping in to see if and where I can help with with bugs related to the cm13 device tree.
After almost a full compile, I'm running into an error I can't figure out.
Code:
No private recovery resources for TARGET_DEVICE osprey
make -C kernel/motorola/msm8916 O=/home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/xclusive36/android/cm13/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= osprey_defconfig
host Executable: mkbootfs (/home/xclusive36/android/cm13/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
make[1]: Entering directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
Install: /home/xclusive36/android/cm13/out/host/linux-x86/lib64/libcutils.so
/home/xclusive36/android/cm13/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/policy.conf
device/motorola/osprey/sepolicy/init_shell.te:2:ERROR 'unknown type init_shell' at token ';' on line 26943:
#line 1 "device/motorola/osprey/sepolicy/init_shell.te"
allow init_shell utags_block_device:blk_file { getattr open read ioctl lock };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
make: Leaving directory `/home/xclusive36/android/cm13'
#### make failed to build some targets (07:12 (mm:ss)) ####
Any help would be appreciated.
Thanks
Click to expand...
Click to collapse
You'll need the SELinux patch on gerrit. It's still a WIP. http://review.cyanogenmod.org/#/c/118765/
squid2 said:
You'll need the SELinux patch on gerrit. It's still a WIP. http://review.cyanogenmod.org/#/c/118765/
Click to expand...
Click to collapse
Gotcha, thanks for the reply. I was able to get a full compile by removing that folder from the device/motorola/osprey folder. I'll take a look at that patch tonight when I get off of work and try it again with SELinux enabled.

[DEV][DISCONTINUED] CyanogenMod 12.1 for the Lenovo Yoga Tablet 2-830F

NOTE: This project is now discontinued - the source code is still up though...
Grarak and me have been working on a CM port for this device - I got it booting some weeks ago, but there are a lot of issues - as of today, this is far from being a daily driver! The purpose of this thread is for developers to contribute with bug fixes, ideas etc. If you are looking for builds, I'll have to disappoint you: I'm not going to link to any, this is just a development thread (as the [DEV] tag in the title suggests).
However, everyone is encouraged to make their own builds, debug, fix and send pull requests. To get a build, proceed as follows:
Code:
repo init -u git://github.com/lenovo-yt2-dev/android.git -b cm-12.1
repo sync
source build/envsetup.sh
lunch cm_YT2-userdebug
mka bacon
I also encourage interested devs and experienced users to join #cm-baytrail on freenode.
The device-specific code can be found on GitHub.
YES YES YES... I knew someone was working away on this tab.... Buzzing... I have my build environment set up and will have a go this week end.
So glad we have a dev
Sent from my SM-G901F using Tapatalk
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Edit
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
vampirefo said:
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
Click to expand...
Click to collapse
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
vampirefo said:
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
Click to expand...
Click to collapse
Could you share any links to cherrypicks?
pug1 said:
Could you share any links to cherrypicks?
Click to expand...
Click to collapse
Cherry Pick
http://review.cyanogenmod.org/#/c/135681/
@Olivier Source does compile, won't test for a few days, but it does build.
Code:
running: java -Xmx2048m -jar /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp2LCO3m /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm_YT2-ota-459972c4ed.zip
done.
Package Complete: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm-12.1-20160318-UNOFFICIAL-YT2.zip
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
andyroidking said:
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
Click to expand...
Click to collapse
As stated in the OP; contributions are welcome.
pug1 said:
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Click to expand...
Click to collapse
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
pug1 said:
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
Click to expand...
Click to collapse
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
social-design-concepts said:
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
Click to expand...
Click to collapse
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Olivier said:
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Click to expand...
Click to collapse
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Olivier said:
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
Click to expand...
Click to collapse
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
pug1 said:
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
Click to expand...
Click to collapse
Okay, can you please provide me with a full system dump of the latest 1050F stock ROM (you can leave the /system/app and priv-app out) or point me to a system image?
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
AndChat looks decent. I haven't tried it though, I just use Xchat on my computer to connect to freenode.
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
HoloIRC, definitely.
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
vampirefo said:
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
Click to expand...
Click to collapse
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Olivier said:
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Click to expand...
Click to collapse
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
social-design-concepts said:
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
Click to expand...
Click to collapse
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
pug1 said:
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
i'm not trying to jack this thread so after i get it uploaded i'll post the links in the irc channel. but the idea is to make bringing up and maintaining devices easier so adapting an existing device tree shouldn't be two difficult essentially you just be removing the parts of the config files that are common across baytrail devices and replacing them with two lines.
i have one more build to do later this evening after i sync against cm-12.1 instead of my current stable/cm-12.1-YOG7D base and apply my build fixes to a couple of repos. The only real thing left todo device tree wise is actually establish a common proprietary-files.txt file.

Categories

Resources