Build for GT-P52109 - Ubuntu Touch Q&A, Help & Troubleshooting

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 ?

Related

[DEV] CM Eclair for Passion dies on BusyBox

I have a build environment that works fine when building Froyo, but when I pull down the Eclair repo from Cyanogen and try to build it for my Passion/NexusOne, it dies on BusyBox. Even if I fix the BusyBox errors below by hand modifying the code, my build still ends at "kernel-msm"... am I missing something? I have followed the instructions from the Cyanogen Wiki to a tee multiple times now, and no dice.
Thanks!
debug output:
host Executable: yuv420sp2rgb (out/host/linux-x86/obj/EXECUTABLES/yuv420sp2rgb_intermediates/yuv420sp2rgb)
true
host Executable: zipalign (out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign)
target StaticLib: libc (out/target/product/passion/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
true
host SharedLib: libacc (out/host/linux-x86/obj/lib/libacc.so)
target thumb C: libbusybox <= external/busybox/shell/ash.c
target thumb C: libbusybox <= external/busybox/shell/math.c
external/busybox/shell/ash.c: In function 'subevalvar':
external/busybox/shell/ash.c:6163: warning: pointer of type 'void *' used in arithmetic
external/busybox/shell/ash.c:6324: warning: pointer of type 'void *' used in arithmetic
external/busybox/shell/ash.c:6326: warning: pointer of type 'void *' used in arithmetic
external/busybox/shell/ash.c: In function 'printlim':
external/busybox/shell/ash.c:12714: error: 'rlim_t' undeclared (first use in this function)
external/busybox/shell/ash.c:12714: error: (Each undeclared identifier is reported only once
external/busybox/shell/ash.c:12714: error: for each function it appears in.)
external/busybox/shell/ash.c:12714: error: expected ';' before 'val'
external/busybox/shell/ash.c:12716: error: 'val' undeclared (first use in this function)
external/busybox/shell/ash.c: In function 'ulimitcmd':
external/busybox/shell/ash.c:12731: error: 'rlim_t' undeclared (first use in this function)
external/busybox/shell/ash.c:12731: error: expected ';' before 'val'
external/busybox/shell/ash.c:12792: error: 'val' undeclared (first use in this function)
make: *** [out/target/product/passion/obj/STATIC_LIBRARIES/libbusybox_intermediates/shell/ash.o] Error 1
make: *** Waiting for unfinished jobs....
cd external/busybox
git checkout d0194cfc47a71a65e049
Much obliged, Maxisma. That did it!
No problem ;-)
it should be fixed now. We made a Froyo branch.

[Help] Building cm10.1 - error

Hello
Im building, at least trying build 4.2.1 (cm10.1 sources) for optimus black, but after a few time of compiling i get this error:
Code:
host C++: libicuuc <= external/icu4c/common/messagepattern.cpp
host C++: libicuuc <= external/icu4c/common/patternprops.cpp
host C++: libicuuc <= external/icu4c/common/stringtriebuilder.cpp
host C++: libicuuc <= external/icu4c/common/ucharstrie.cpp
host C++: libicuuc <= external/icu4c/common/ucharstriebuilder.cpp
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:12: error: Resource at config_networkLocationProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:15: error: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:74: error: Resource at config_autoBrightnessButtonKeyboard appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:76: error: Resource at config_bluetooth_adapter_quick_switch appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:80: error: Resource at config_wifiApStartInterface appears in overlay but not in the base package; use <add-resource> to add.
make: ** [/home/duarte777/4.2/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Erro 1
make: *** A apagar ficheiro `/home/duarte777/4.2/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: ** Esperando que outros processos terminem.
Some help ?
Thank you
It tells you right there what you need to do to fix it, just fyi. But you need to add those resources into frameworks/base/core/res/res/values/config.xml. Don't quote me, but you should just be able to copy the resources(from the line numbers in overlay's config.xml) and paste them into frameworks/base/core/res/res/values/config.xml
Duarte777 said:
Hello
Im building, at least trying build 4.2.1 (cm10.1 sources) for optimus black, but after a few time of compiling i get this error:
Code:
host C++: libicuuc <= external/icu4c/common/messagepattern.cpp
host C++: libicuuc <= external/icu4c/common/patternprops.cpp
host C++: libicuuc <= external/icu4c/common/stringtriebuilder.cpp
host C++: libicuuc <= external/icu4c/common/ucharstrie.cpp
host C++: libicuuc <= external/icu4c/common/ucharstriebuilder.cpp
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:12: error: Resource at config_networkLocationProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:15: error: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:74: error: Resource at config_autoBrightnessButtonKeyboard appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:76: error: Resource at config_bluetooth_adapter_quick_switch appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:80: error: Resource at config_wifiApStartInterface appears in overlay but not in the base package; use <add-resource> to add.
make: ** [/home/duarte777/4.2/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Erro 1
make: *** A apagar ficheiro `/home/duarte777/4.2/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: ** Esperando que outros processos terminem.
Some help ?
Thank you
Click to expand...
Click to collapse
You can just delete those lines from the XML files and you good to go.....
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
x10forevers said:
You can just delete those lines from the XML files and you good to go.....
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Simplest way. thanks.
x10forevers said:
You can just delete those lines from the XML files and you good to go.....
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
after replacing i am getting this error..
Code:
Checking API: checkpublicapi-last
out/target/common/obj/PACKAGING/public_api.txt:1966: error 17: Field android.R.style.TextAppearance_Material_Widget_Button_Inverse has changed value from 16974548 to 16974565
out/target/common/obj/PACKAGING/public_api.txt:2011: error 17: Field android.R.style.ThemeOverlay_Material_Dialog has changed value from 16974550 to 16974564
out/target/common/obj/PACKAGING/public_api.txt:2012: error 17: Field android.R.style.ThemeOverlay_Material_Dialog_Alert has changed value from 16974551 to 16974566
out/target/common/obj/PACKAGING/public_api.txt:2120: error 17: Field android.R.style.Theme_Material_Light_LightStatusBar has changed value from 16974549 to 16974563

[Q] Some Trouble of TWRP touch recovery

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!!

[Q]Building AOSP on MAC compiling errors

Hi!
I have been scratching my head over this for 3 days now, no amount of googling and searching here has given me any results.
Build environment is MAC OS X Yosemite with xcode 6 and 5.1.1 command tools installed, 100 gb sparse image file to work on.
Here is the error:
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c: In function ‘load_dtqc_block’:
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:170: error: ‘fname’ undeclared (first use in this function)
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:170: error: (Each undeclared identifier is reported only once
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:170: error: for each function it appears in.)
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c: In function ‘write_padding’:
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:382: warning: comparison between signed and unsigned
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c: In function ‘main’:
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:491: warning: pointer targets in passing argument 1 of ‘__builtin___strcpy_chk’ differ in signedness
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:491: warning: pointer targets in passing argument 1 of ‘__inline_strcpy_chk’ differ in signedness
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:559: warning: comparison between signed and unsigned
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:562: warning: comparison between signed and unsigned
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:566: warning: comparison between signed and unsigned
vendor/sony/system/mkqcdtbootimg/mkqcdtbootimg.c:571: warning: comparison between signed and unsigned
make: *** [out/host/darwin-x86/obj32/EXECUTABLES/mkqcdtbootimg_intermediates/mkqcdtbootimg.o] Error 1
make: *** Waiting for unfinished jobs....
Any help is appretiated
I'm still completely lost on this matter and is driving me crazy
I hit a similar error, but with PATH_MAX as undefined. Basically what it is complaining is that fname is not defined anywhere, which is weird. Try installing Brew (for Mac) and install automake (brew install automake).
To solve my error, I had to edit the file mkqcdtbootimg.c and add these lines after all the C variable defines (right after #include "bootimg.h", in new lines):
#ifndef PATH_MAX
#define PATH_MAX 4096
I used this as a reference: http://serverfault.com/questions/9546/filename-length-limits-on-linux
dferreira said:
I hit a similar error, but with PATH_MAX as undefined. Basically what it is complaining is that fname is not defined anywhere, which is weird. Try installing Brew (for Mac) and install automake (brew install automake).
To solve my error, I had to edit the file mkqcdtbootimg.c and add these lines after all the C variable defines (right after #include "bootimg.h", in new lines):
#ifndef PATH_MAX
#define PATH_MAX 4096
I used this as a reference: http://serverfault.com/questions/9546/filename-length-limits-on-linux
Click to expand...
Click to collapse
Thanks, I´m going to test that brew thing

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)) ####

Categories

Resources