[Completed] Cm12.1 build error questions - XDA Assist

I am having errors building cm12.1
external/chromium_org/third_party/WebKit/Source/core/plugins/DOMPluginArray.h:43: error: undefined reference to 'blinkMPluginArrayMPluginArray(blink::Loca lFrame*)'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/ferraro/android/system/out/target/product/p4wifi/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so' failed
make: *** [/home/ferraro/android/system/out/target/product/p4wifi/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
Could someone point me in the right direction. Or right thread follow. Thx.

Hi!
I see you've already asked this in your device section. You could also look through the guides in this section, and possibly as for help....after you've done some homework...
http://forum.xda-developers.com/chef-central/android
Good luck!

Related

GCC Related Kernel Building Error

Hey XDA folk, pretty sure this is the correct forum to post this in, but if it isn't, then please enlighten me.
For those that aren't following my work, I've patched up the G2 CAF kernel from the lg-devs repo to my old kernel, along with GCC 5+ fixes. I am building with the GCC 6.0 UBERTC kernel toolchain. The kernel can be found here.
The exact kernel error I am getting is:
Code:
LD .tmp_vmlinux1
arch/arm/kernel/built-in.o:(___ksymtab_gpl+return_address+0x0): undefined reference to `return_address'
kernel/built-in.o: In function `get_parent_ip':
hw_breakpoint.c:(.text+0x39b10): undefined reference to `return_address'
hw_breakpoint.c:(.text+0x39b3c): undefined reference to `return_address'
/home/tsunami/android/kernel/lge/msm8974-caf/Makefile:919: recipe for target '.tmp_vmlinux1' failed
make[2]: *** [.tmp_vmlinux1] Error 1
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/tsunami/android/kernel/lge/msm8974-caf'
build/core/tasks/kernel.mk:229: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
My error probably resides within this commit, but reverting it leads to a different error as well (Not the unwind warning). I am not sure as to whether I am missing a separate commit or not.
Just gonna give this a small bump.
Another bump. Do code-related issues even go here?
Closed at OP's request.

[Completed] Error while compiling with latest TWRP.

Hi,
I am a user of Micromax canvas HD (A116), MT6589. I have the sources of omni and from that flags I'm compiling the TWRP recovery. I'm getting an unknown error:
Code:
system/core/healthd/healthd_mode_charger.cpp:941: error: undefined reference to 'res_create_display_surface'
collect2: error: ld returned 1 exit status
make: *** [/home/preet/RR/out/target/product/a116/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd] Error 1
how to fix this?
Preet_ said:
Hi,
I am a user of Micromax canvas HD (A116), MT6589. I have the sources of omni and from that flags I'm compiling the TWRP recovery. I'm getting an unknown error:
Code:
system/core/healthd/healthd_mode_charger.cpp:941: error: undefined reference to 'res_create_display_surface'
collect2: error: ld returned 1 exit status
make: *** [/home/preet/RR/out/target/product/a116/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd] Error 1
how to fix this?
Click to expand...
Click to collapse
Hi, thanks for using XDA Assist!
Please post your question here:
http://forum.xda-developers.com/showthread.php?t=2321302
That's a friendly help thread specifically for your device.
You'll find expert advice there.
Good luck!

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?

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

[CLOSED] Ninja error 1

hello I creatin lineage os 19 but mka bacon error
HOSTCC scripts/basic/fixdep
GEN ./Makefile
ld.lld: error: cannot open crtbegin.o: No such file or directory
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: cannot open crtend.o: No such file or directory
clang-12: error: linker command failed with exit code 1 (use -v to see invocatio
n)
make[2]: *** [scripts/Makefile.host:91: scripts/basic/fixdep] Error 1
make[1]: *** [/home/kozlu14/Android/kernel/tinno/msm8937/Makefile:452: scripts_b
asic] Error 2
make[1]: Leaving directory '/home/kozlu14/Android/out/target/product/garlic/obj/
KERNEL_OBJ'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/kozlu14/Android/kernel/tinno/msm8937'
20:24:29 ninja failed with: exit status 1
ı can a problem fix?
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com

Categories

Resources