CM12 for Mini 2 - Android Q&A, Help & Troubleshooting

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 in advance
Sent from my SM-G930F using XDA-Developers mobile app

Please, can somebody help me it's important?...!!!
Sent from my SM-G930F using XDA-Developers mobile app

Related

[Q]CM9-HUAWEI-ASCEND-G300-U8815/U8818--build--error

Hello every body
I build CM9 for Huawei ascend G300/U8815, but some errors 。who can help me
thank you
env:mac os x 10.7.4
sorry my english
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/u8818/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel.s_rilEnv+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8818/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/u8818/obj/SHARED_LIBRARIES/libmedia_intermediates/IMediaRecorder.o: in function .LTHUNK2:frameworks/base/include/binder/IInterface.h:44: error: undefined reference to 'android::ICameraRecordingProxy::asInterface(android::sp<android::IBinder> const&)'
collect2: ld returned 1 exit status
Click to expand...
Click to collapse
我也遇到这个问题了,找不到解决办法,不知道楼主解决没有?
http://www.modaco.com/topic/354238-ics-cyanogenmod-9-for-the-ascend-g300-link-up/
Modaco seems more active at the moment with dev for this device.
Wow that's amazing. I hope you can overcome those errors. Good luck with you attempt to port the cyaongen 9 to the awesome Huawei Ascend G300.

[Q]Help building CM9

Hey guys I'm having some issues here
I'm apptempting to port CM9 to the HTC Thunderbolt.
I used ICS device-specific files picked from ProTekk's and liquid0624's githubs.
I attempted to compile many times, and got mixed errors.
Now every time I try to compile, I get this same error.
Code:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a when searching for -lstdc++
out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile.o: In function `std::list::_M_erase(std::_List_iterator)':
/usr/include/c++/4.6/bits/stl_list.h:1532: undefined reference to `std::__detail::_List_node_base::_M_unhook()'
out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile.o: In function `std::list::_M_insert(std::_List_iterator, int const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile.o: In function `std::list::_M_transfer(std::_List_iterator, std::_List_iterator, std::_List_iterator)':
/usr/include/c++/4.6/bits/stl_list.h:1508: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/grxmlcompile_intermediates/grxmlcompile] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
Any help is greatly appreciated!

Please Help with building error

hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
ficko_98 said:
hi people i started building cm7 for huawei g300 but i get error:
Code:
Copy: out/target/product/u8815/system/lib/libril.so
target Executable: rild (out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/rild.o: in function s_rilEnv:rild.c(.data.rel+0x4): error: undefined reference to 'RIL_onUnsolicitedResponse'
collect2: ld returned 1 exit status
make: *** [out/target/product/u8815/obj/EXECUTABLES/rild_intermediates/LINKED/rild] Error 1
make: *** Waiting for unfinished jobs....
if someone know what to do to fix this error, please tell me.
Click to expand...
Click to collapse
Well......Are you using the original toolchain or is that LINARO?
because it looks like the error is being effected by the toolchain atleast thats what i see ....An error in RILD
Try a different toolchain and let me know if the error occurs again
And by different toolchain i mean the stock toolchain

[Q] error whiling compiling libmedia.so

my device is HTC LEO
i am compiling CM jellybean now
i got this error while compiling libmedia.so
Code:
in function construction vtable for android::IDirectTrackClient-in-android::AudioTrack:AudioTrack.cpp(.data.rel.ro._ZTCN7android10AudioTrackE0_NS_18IDirectTrackClientE+0x18): error: undefined reference to 'android::IDirectTrackClient::getInterfaceDescriptor() const'
in function construction vtable for android::IDirectTrackClient-in-android::AudioTrack:AudioTrack.cpp(.data.rel.ro._ZTCN7android10AudioTrackE0_NS_18IDirectTrackClientE+0x40): error: undefined reference to 'virtual thunk to android::IDirectTrackClient::~IDirectTrackClient()'
frameworks/native/include/binder/IInterface.h:44: error: undefined reference to 'android::IDirectTrack::asInterface(android::sp<android::IBinder> const&)'
collect2: ld returned 1 exit status
any one can help me to fix this issue
do i need to keep my device connecting to computer insure it can collect info from device
i also check android google developer reference and did not find getInterfaceDescriptor() Method
all error above are come out in file frameworks/native/include/binder/IInterface.h
please help
help me please
any one can help
Add IMPLEMENT_META_INTERFACE( your_service_class).

Issues Compiling CM 11 from Source

I'm trying to compile CM-11 from source and it's taken forever to get this far but I'm learning. I have the source downloaded 100% no errors and I did the step by step guide on how to get to brunch dlx for the "HTC DNA" build and I get this error.
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:396: undefined reference to `icu_46::RBBINode::findNodes(icu_46::UVector*, icu_46::RBBINode::NodeType, UErrorCode&)'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:399: undefined reference to `icu_46::RBBINode::findNodes(icu_46::UVector*, icu_46::RBBINode::NodeType, UErrorCode&)'
/media/ubuntu/developer/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/third_party_icu_icuuc_host_gyp_intermediates/third_party_icu_icuuc_host_gyp.a(rbbitblb.o): In function `icu_46::RBBITableBuilder::build()':
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:78: undefined reference to `icu_46::RBBINode::flattenVariables()'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:93: undefined reference to `icu_46::RBBINode::RBBINode(icu_46::RBBINode::NodeType)'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:94: undefined reference to `icu_46::RBBINode::RBBINode(icu_46::RBBINode::NodeType)'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:98: undefined reference to `icu_46::RBBINode::~RBBINode()'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:99: undefined reference to `icu_46::RBBINode::~RBBINode()'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:114: undefined reference to `icu_46::RBBINode::RBBINode(icu_46::RBBINode::NodeType)'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:122: undefined reference to `icu_46::RBBINode::RBBINode(icu_46::RBBINode::NodeType)'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:126: undefined reference to `icu_46::RBBINode::~RBBINode()'
/media/ubuntu/developer/android/system/external/chromium_org/third_party/icu/source/common/rbbitblb.cpp:136: undefined reference to `icu_46::RBBINode::flattenSets()'
collect2: ld returned 1 exit status
make: *** [/media/ubuntu/developer/android/system/out/host/linux-x86/obj/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot.arm] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I'm guessing it has something to do with mksnapshot.arm which I've checked and that file don't exisit so I do repo sync and it finishs and the file is still not there... Any tips on how to fix this issue?

Categories

Resources