Building error need help - General Questions and Answers

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:

Related

Building AOSP 4.2 for the Epic 4G Touch

Okay, I have some errors in the build. I thought I could fix them by pulling the .so it can't build from another device, and when I do that, it deletes it and tries to rebuild it.
target SharedLib: libOMX.SEC.AVC.Decoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/LINKED/libOMX.SEC.AVC.Decoder.so)
target SharedLib: libOMX.SEC.AVC.Encoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Encoder_intermediates/LINKED/libOMX.SEC.AVC.Encoder.so)
target SharedLib: libOMX.SEC.M4V.Decoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/LINKED/libOMX.SEC.M4V.Decoder.so)
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1462: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1386: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Block:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1655: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Block:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1732: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Vdec_intermediates/libSEC_OMX_Vdec.a(SEC_OMX_Vdec.o): in function SEC_OMX_VideoDecodeGetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c:1087: error: undefined reference to 'SEC_OSAL_GetANBParameter'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Vdec_intermediates/libSEC_OMX_Vdec.a(SEC_OMX_Vdec.o): in function SEC_OMX_VideoDecodeSetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c:1173: error: undefined reference to 'SEC_OSAL_SetANBParameter'
collect2: ld returned 1 exit status
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/LINKED/libOMX.SEC.M4V.Decoder.so] Error 1
make: *** Waiting for unfinished jobs....
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/h264/SEC_OMX_H264dec.c:1467: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/h264/SEC_OMX_H264dec.c:1373: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Block:hardware/samsung/exynos/multimedia/openmax//component/video/dec/homeh264//thenameisnigelSEC_OMX_H264dec.c/:aosp1681/rebuilts /errorgcc:/ linuxundefined- x86reference/ armto/ arm'-SEC_OSAL_LockANBlinux'-
androideabi/-home4.6//thenameisnigelbin//aosp./.prebuilts//libgcc//gcclinux/-armx86-/linuxarm-/androideabiarm/-4.6.xlinux--googleandroideabi/-.4.6.//bin./../../.lib//.gcc.//armarm--linuxlinux--androideabiandroideabi//4.6.xbin-/googleld/:. .out//.target.//product./.d710//.obj.//STATIC_LIBRARIESarm/-libSEC_OMX_Venc_intermediateslinux/-libSEC_OMX_Venc.aandroideabi(/SEC_OMX_Venc.obin)/:ld :in outfunction/ targetSEC_Preprocessor_InputData/roducthardware//d710samsung//objexynos//SHARED_LIBRARIESmultimedia//libOMX.SEC.AVC.Decoder_intermediatesopenmax//SEC_OMX_H264dec.ocomponent:/ videoin/ encfunction/ SEC_OMX_Venc.cSEC_MFC_H264_Decode_Block::805hardware:/ samsungerror/:exynos /undefinedmultimedia /referenceopenmax /tocomponent /'videoSEC_OSAL_GetInfoFromMetaData/'dec
//h264home//SEC_OMX_H264dec.cthenameisnigel:/1758aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_UnlockANB-'linux
-/androideabihome-/4.6thenameisnigel//binaosp//.prebuilts.//gcclib//linuxgcc-/x86arm/-armlinux/-armandroideabi-/linux4.6.x--androideabigoogle-/4.6./.bin//....//.lib.//gcc./.arm/-armlinux--linuxandroideabi-/androideabi4.6.x/-bingoogle//ld.:. /out./.target//.product.//d710./.obj//armSTATIC_LIBRARIES-/linuxlibSEC_OMX_Venc_intermediates-/androideabilibSEC_OMX_Venc.a/(binSEC_OMX_Venc.o/)ld:: inout /functiontarget /SEC_Preprocessor_InputDataproduct:/hardwared710//samsungobj//exynosSTATIC_LIBRARIES//multimedialibSEC_OMX_Vdec_intermediates//openmaxlibSEC_OMX_Vdec.a/(componentSEC_OMX_Vdec.o/)video:/ encin/ SEC_OMX_Venc.cfunction: 806SEC_OMX_VideoDecodeGetParameter:: hardwareerror/:samsung /undefinedexynos /referencemultimedia /toopenmax /'componentSEC_OSAL_LockANBHandle/'video
//dechome//SEC_OMX_Vdec.cthenameisnigel:/1087aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_GetANBParameter-'linux
-/androideabihome-/4.6thenameisnigel//binaosp//.prebuilts.//gcclib//linuxgcc-/x86arm/-armlinux/-armandroideabi-/linux4.6.x--androideabigoogle-/4.6./.bin//....//.lib.//gcc./.arm/-armlinux--linuxandroideabi-/androideabi4.6.x/-bingoogle//ld.:. /out./.target//.product.//d710./.obj//armSTATIC_LIBRARIES-/linuxlibSEC_OMX_Venc_intermediates-/androideabilibSEC_OMX_Venc.a/(binSEC_OMX_Venc.o/)ld:: inout /functiontarget /SEC_Preprocessor_InputDataproduct:/hardwared710//samsungobj//exynosSTATIC_LIBRARIES//multimedialibSEC_OMX_Vdec_intermediates//openmaxlibSEC_OMX_Vdec.a/(componentSEC_OMX_Vdec.o/)video:/ encin/ SEC_OMX_Venc.cfunction: 812SEC_OMX_VideoDecodeSetParameter:: hardwareerror/:samsung /undefinedexynos /referencemultimedia /toopenmax /'componentSEC_OSAL_UnlockANBHandle/'video
//dechome//SEC_OMX_Vdec.cthenameisnigel:/1173aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_SetANBParameter-'linux
-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/collect2: ../..ld returned 1 exit status/
../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Venc_intermediates/libSEC_OMX_Venc.a(SEC_OMX_Venc.o): in function SEC_OMX_VideoEncodeSetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c:1408: error: undefined reference to 'SEC_OSAL_SetANBParameter'
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/LINKED/libOMX.SEC.AVC.Decoder.so] Error 1
collect2: ld returned 1 exit status
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Encoder_intermediates/LINKED/libOMX.SEC.AVC.Encoder.so] Error 1
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
[email protected]:~/aosp$
Please help. :|
Bump.
Bump.
Sent from my SPH-D710 using Tapatalk 2
Looks like no ones home!
You probably need ./extract-files.sh
Not sure what you mean by pulling a .so off of "another device". If anything you will need to pull some proprietary repos from CM or the other AOSP alpha builds on top of AOSP source repos. Then, you need to run the extract-files.sh from there while an E4GT is hooked up to pull the .so from a working device.
For CM, you need to pull those files from a phone that is already running CM (kind of a chicken and the egg deal)
FWIW, the kernel from AOSP could be built, maybe, by just finding the right vendor setup and building the kernel. Then again, it may fail horribly. But, what I can say is that you need a whole other bunch of repos to build any flavor or Android for the E4GT.

[Q] Cannot find -lpthread

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.

Samsung Galaxy Tab 2 - p5100 Cyanogenmod

Hello!
I am quite new to this comunity. I am trying to build my own Cyanogenmod 12.1 for the Samsung p5100.
I always get stuck with the following error:
Code:
target Executable: pvrsrvinit (/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
/home/user/Development/Cyanogenmod/android/system/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 -lsrv_init_SGX540_120
/home/user/Development/Cyanogenmod/android/system/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 -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/user/Development/Cyanogenmod/android/system'
I would have liked to post this Question in the right forum but i am not allowed to unless i have 10 posts. So i am doing it here.
I have searched the forums already but i didnt find any answer that worked for me.
Any help would be greatly appreciated!
THX!
Are there any solutions?
I run into the same problem.
Code:
.../android/cm-12.1/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 -lsrv_init_SGX540_120
.../android/cm-12.1/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 -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [.../android/cm-12.1/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Fehler 1
jameson777 said:
Hello!
I am quite new to this comunity. I am trying to build my own Cyanogenmod 12.1 for the Samsung p5100.
I always get stuck with the following error:
Code:
target Executable: pvrsrvinit (/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
/home/user/Development/Cyanogenmod/android/system/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 -lsrv_init_SGX540_120
/home/user/Development/Cyanogenmod/android/system/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 -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/user/Development/Cyanogenmod/android/system'
I would have liked to post this Question in the right forum but i am not allowed to unless i have 10 posts. So i am doing it here.
I have searched the forums already but i didnt find any answer that worked for me.
Any help would be greatly appreciated!
THX!
Click to expand...
Click to collapse
I found a solution.
add
Code:
<project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="refs/heads/cm-12.1" />
to
Code:
roomservice.xml
and then run
Code:
./extract-files.sh
with your device connected. The proprietary blobs will be downloaded and the error is gone.
OldSparky said:
I found a solution.
add
Code:
<project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="refs/heads/cm-12.1" />
to
Code:
roomservice.xml
and then run
Code:
./extract-files.sh
with your device connected. The proprietary blobs will be downloaded and the error is gone.
Click to expand...
Click to collapse
I'm trying to build a maguro 12.1 image and this didn't work. The build is still dying on:
Code:
target Strip: ping (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/ping_intermediates/ping)
target Executable: ping6 (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/ping6_intermediates/LINKED/ping6)
target Executable: pngtest (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/pngtest_intermediates/LINKED/pngtest)
target Executable: pvrsrvinit (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
target Strip: librilutils (/Cyanogenmod/out/target/product/maguro/obj/lib/librilutils.so)
/Cyanogenmod/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 -lsrv_init_SGX540_120
/Cyanogenmod/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 -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
Im pretty late but have the same issue have any of you guys x0ra , jameson777, OldSparky be able to fix it?

[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.

CM12 for Mini 2

When I try to compile CM12 for Galaxy Mini 2, I always get this Error:
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:1064: error: undefined reference to 'android::MEDIA_MIMETYPE_AUDIO_EVRC'
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:2136: error: undefined reference to 'android::FMA2DPWriter::FMA2DPWriter()'
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:2159: error: undefined reference to 'android::ExtendedWriter::ExtendedWriter(int)'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/simo/Bureau/cm12/out/target/product/jena/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so' failed
make: *** [/home/simo/Bureau/cm12/out/target/product/jena/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so] Error 1
real 92m12.781s
user 16m3.820s
sys 1m38.248s
What does it mean? Can somebody help me?
Thanks[emoji2]
Sent from my SM-G930F using XDA-Developers mobile app

Categories

Resources