[Q] Some Trouble of TWRP touch recovery - Android Q&A, Help & Troubleshooting

I try to compile a build of twrp2.4 for my MOTO Atrix 4G ME860 , it's base of cm7 code (there is guid:http://forum.xda-developers.com/showthread.php?t=1943625)
but something error like here's a picture:
http://dl.xda-developers.com/attach...45___24230___25130___22270_20130130130318.jpg
Code:
bootable/recovery/fuse/mount_util.c:91: warning: assignment makes pointer from integer without a cast
make: *** 没有规则可以创建“out/target/product/olympus/recovery/root/sbin/exfat-fuse”需要的目标“out/target/product/olympus/system/lib/libexfat.so”。 停止。
make: *** 正在等待未完成的任务....
target thumb C: libfuse <= bootable/recovery/fuse/ulockmgr.c
external/stlport/stlport/stl/_iostream_string.h: In constructor 'std::priv::__basic_iostring<_CharT>::__basic_iostring() [with _CharT = wchar_t]':
external/stlport/stlport/stl/_iostream_string.h:41: warning: '<anonymous>' is used uninitialized in this function
external/stlport/stlport/stl/_iostream_string.h:108: note: '<anonymous>' was declared here
If someone can help me, it is my pleasure,thanks!
sorry to my english!!

Related

[Q] Build Error, need help?

Setup my build environment according to this post
http://forum.xda-developers.com/showthread.php?t=2639611
and trying to build this ROM
https://github.com/CarbonDev/android
I got a build error mid way
HTML:
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::setColor(uint32 _t)':
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp:105:13: error: 'struct mdp_overlay' has no member named 'bg _color'
make: *** [/root/carbon/out/target/product/hammerhead/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] E rror 1
make: *** Waiting for unfinished jobs....
target thumb C++: liboverlay <= hardware/qcom/display/msm8974/liboverlay/overlayMdssRot.cpp
make: *** wait: No child processes. Stop.
I google and got this suggesting
Try switching hardware/qcom/display to cyanogenmod 's version
What file do I edit to change this?
Thanks.

[Q] Carbon Build Errors

Hey guys. So I'm trying to build CarbonRom for my device. I editing the device specific sources of my device to be compatible with carbon, but maybe I missed something. I get this error when trying to build.
target thumb C: bml_over_mtd <= bootable/recovery/mtdutils/bml_over_mtd.c
make: *** No rule to make target `system/media/bootanimation.zip', needed by `/home/epicboy/carbon/out/target/product/vibrantmtd/'. Stop.
make: *** Waiting for unfinished jobs....
bootable/recovery/mtdutils/bml_over_mtd.c: In function 'bml_over_mtd_write_block':
bootable/recovery/mtdutils/bml_over_mtd.c:548:3: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' [-Wformat]
bootable/recovery/mtdutils/bml_over_mtd.c:553:2: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' [-Wformat]
external/javasqlite/src/main/native/sqlite_jni.c: In function 'Java_SQLite_Database_stmt_1prepare':
external/javasqlite/src/main/native/sqlite_jni.c:3597:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Click to expand...
Click to collapse
Any ideas how to fix these issues?

Build for GT-P52109

Hello, I tried to build ubuntu touch for Galaxy TAB3 10.5 (santos10wifi : gt-p5210)
I need help about an error message because I don't understand where is the error.
Code:
Install: /home/jimy/Desktop/phablet/out/host/linux-x86/lib/libz-host.so
Import includes file: /home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/import_includes
target C++: InputDispatcher_test <= frameworks/base/services/input/tests/InputDispatcher_test.cpp
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/../include/limits.h:143,
from external/stlport/stlport/limits.h:30,
from frameworks/base/services/input/tests/../InputDispatcher.h:34,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:17:
/usr/include/bits/local_lim.h:64:0: warning: "PTHREAD_KEYS_MAX" redefined [enabled by default]
In file included from bionic/libc/include/limits.h:86:0,
from /usr/include/../include/limits.h:123,
from external/stlport/stlport/limits.h:30,
from frameworks/base/services/input/tests/../InputDispatcher.h:34,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:17:
bionic/libc/include/sys/limits.h:181:0: note: this is the location of the previous definition
In file included from /usr/include/../include/wchar.h:884:0,
from external/stlport/stlport/stl/_cwchar.h:68,
from external/stlport/stlport/stl/_limits.h:36,
from external/stlport/stlport/limits:29,
from external/gtest/include/gtest/gtest.h:54,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:19:
/usr/include/bits/wchar2.h:448:3: error: #error "Assumed value of MB_LEN_MAX wrong"
In file included from external/stlport/stlport/stl/_cwchar.h:68:0,
from external/stlport/stlport/stl/_limits.h:36,
from external/stlport/stlport/limits:29,
from external/gtest/include/gtest/gtest.h:54,
from frameworks/base/services/input/tests/InputDispatcher_test.cpp:19:
/usr/include/../include/wchar.h: In function 'int wctob(wint_t)':
/usr/include/../include/wchar.h:395:50: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
build/core/binary.mk:432: recipe for target '/home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/InputDispatcher_test.o' failed
make: *** [/home/jimy/Desktop/phablet/out/target/product/p5210/obj/EXECUTABLES/InputDispatcher_test_intermediates/InputDispatcher_test.o] Error 1
Could someone help me ?

Im trying to build cm 13 but i got this error pls help

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/condor/cm.mk]]: "vendor/motorola/msm8610-common/msm8610-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_condor'
** Do you have the right repo manifest?
try this repo https://github.com/Moto8610/proprietary_vendor_motorola
Thnx i will try it.
Do i need to remove the entire cm repo folder or i can remove the devices synced repo and sync again.
GNVM said:
Do i need to remove the entire cm repo folder or i can remove the devices synced repo and sync again.
Click to expand...
Click to collapse
Are you building from your own device tree? Or ashwin007's device tree?
From ashwins tree
That issue is solved now i get these errors
Code:
external/zip/src/zip.c:1287:9: warning: unused parameter 'unzippath' [-Wunused-parameter]
char *unzippath;
^
external/zip/src/zip.c:1434:11: warning: explicitly assigning value of variable of type 'char *' to itself [-Wself-assign]
zippath = zippath;
~~~~~~~ ^ ~~~~~~~
external/zip/src/zip.c:1799:9: warning: explicitly assigning value of variable of type 'const char *' to itself [-Wself-assign]
zfn = zfn;
~~~ ^ ~~~
external/zip/src/zip.c:1850:9: warning: unused parameter 'out_path' [-Wunused-parameter]
char *out_path;
^
external/zip/src/zip.c:698:12: warning: unused function 'help_extended' [-Wunused-function]
local void help_extended()
^
5 warnings generated.
target arm C: zip <= external/zip/src/unix/unix.c
make: *** No rule to make target `vendor/motorola/msm8610-common/proprietary/vendor/lib/libmm-hdcpmgr.so', needed by `/home/gnvm-dev/bin/cm13.0/out/target/product/condor/system/vendor/lib/libmm-hdcpmgr.so'. Stop.
make: *** Waiting for unfinished jobs....
external/zip/src/unix/unix.c:571:12: warning: unused parameter 'z_utim' [-Wunused-parameter]
iztimes *z_utim;
^
1 warning generated.
make: Leaving directory `/home/gnvm-dev/bin/cm13.0'
#### make failed to build some targets (09:21 (mm:ss)) ####
I have found the solution but i got a new error.
Code:
target SharedLib: memtrack.msm8610 (/home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/LINKED/memtrack.msm8610.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/memtrack_msm.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/kgsl.o: file is empty
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/LINKED/memtrack.msm8610.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/gnvm-dev/bin/cm13.0'
#### make failed to build some targets (01:25:33 (hh:mm:ss)) ####

Compiling cyanogenmod?

Hello all. First I must apologize to the moderators if theres a better place for this question. I looked but couldn't find a place for code compiling.
I'm trying to compile cyanogenmod 12 from source. I had to copy a copy of default.xml to a different location to get the compilation to start.
I got no fatal errors till an hour and a half in where I get this...
Code:
target arm C: zip <= external/zip/src/trees.c
make: *** No rule to make target 'vendor/lge/e980/proprietary/lib/hw/camera.msm8960.so', needed by '/root/android/system/out/target/product/e980/system/lib/hw/camera.msm8960.so'. Stop.
make: *** Waiting for unfinished jobs....
target arm C: zip <= external/zip/src/unix/unix.c
external/zip/src/unix/unix.c: In function 'filetime':
external/zip/src/unix/unix.c:436:3: warning: pointer targets in passing argument 1 of 'unix2dostime' differ in signedness [-Wpointer-sign]
return unix2dostime(&s.st_mtime);
^
In file included from external/zip/src/unix/unix.c:14:0:
external/zip/src/unix/../zip.h:695:8: note: expected 'time_t *' but argument is of type 'long unsigned int *'
ulg unix2dostime OF((time_t *));
^
make: Leaving directory '/root/android/system'
#### make failed to build some targets (01:27:25 (hh:mm:ss)) ####
Can anyone please tell me whats wrong?
I'm 3 days into this and i feel like I'm getting real close.
Please let me know if theres any info I can provide.
Thanx in advance....

Categories

Resources