Building error need help

Search This thread

skinzy98

Senior Member
May 30, 2012
1,768
521
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
 

skinzy98

Senior Member
May 30, 2012
1,768
521
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
 

kotzir

Inactive Recognized Developer
Jul 9, 2013
1,421
4,007
Thessaloniki
Xiaomi Mi 8
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

I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE
 

skinzy98

Senior Member
May 30, 2012
1,768
521
I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE

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
 

kotzir

Inactive Recognized Developer
Jul 9, 2013
1,421
4,007
Thessaloniki
Xiaomi Mi 8
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

i have oracle JDK 6 somewhere i read that you should change branches to framework/base from kitkat3 to kitkat2
 

skinzy98

Senior Member
May 30, 2012
1,768
521
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
 

kirito9

Inactive Recognized Contributor
Oct 30, 2013
3,127
1,367
Yes, but there're other processes running on your PC xD do a clean build and see if worked.

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

Inactive Recognized Contributor
Oct 30, 2013
3,127
1,367

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

Inactive Recognized Contributor
Oct 30, 2013
3,127
1,367
That's a different error .. You have errors in system/core. Are you using system/core from cm11 repo or from another source?

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 :D.

I have to revert this.
 
Last edited:

marcomarinho

Inactive Recognized Developer
Aug 24, 2012
2,329
7,629
25
Porto
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 :D.

I have to revert this.
Eheheh no problem. I'm glad you've solved the problem!! :highfive:
 
  • Like
Reactions: kirito9

Top Liked Posts