[Q] - Ubuntu Touch Q&A, Help & Troubleshooting

hey guys how do i sort this out
No private recovery resources for TARGET_DEVICE
full code
Code:
============================================
build/core/base_rules.mk:525: system/core/mkbootimg/Android.mk: Module "unpackbootimg" has useless module tags: eng. It will be installed anyway.
No private recovery resources for TARGET_DEVICE p920
device/lge/p920/uboot-bootimg.mk:73: We are here.
make: *** No rule to make target `full_p920'. Stop.

Related

[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] qdMetaData.o error when building CM10.2

hey all,
when I compile the CM10.2, appeared an error and aborted.
and I couldn't find any useful link via google.
error tip is Chinese.
Code:
make: *** 没有规则可以创建“/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o”需要的目标“/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr”。 停止。
make: *** 正在等待未完成的任务....
English version is about:
Code:
make: *** No rule to make target "/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o" needed by "/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr". Stop.

[Q] Help with CM10.2 compilation errors (from source)

Hope this is the correct forum for this, tried under the HTC One X evita Q/A forum but was told it fits better here.
Hey all, so I've built out a development environment and have followed tutorials on how to build CM10.2 from source. I would consider myself an advanced Linux user and things have been going well with the exception of these compliation errors. Any help troubleshooting these would be greatly appreciated.
Code:
target thumb C++: libc <= bionic/libc/bionic/pthread_debug.cpp
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++ [enabled by default]
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/c0pp3r/android/cm10.2/kernel/htc/msm8960'
make: *** [/home/c0pp3r/android/cm10.2/out/target/product/evita/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
bionic/libc/bionic/pthread_debug.cpp:545:13: warning: 'void hashmap_removeEntry(HashTable*, HashEntry*)' defined but not used [-Wunused-function]
[email protected]:/home/c0pp3r/android/cm10.2#

[Q] Help needed with compiling an A31 kernel

EDIT3: I was sorta' right about the source package being somewhat temperamental. Managed to build the modules sans kernel, but doing both at the same time leads to the errors below. Also, renaming uImage to vmlinux and then shoving it in boot.img along with the compiled modules resulted in the tab being stuck on the boot logo.
EDIT2: I dunno if the build package was being temperamental or something, but ticking out the tvp5150 module seems to have done the trick.
EDIT: Managed to get further with building, but while I get a vmlinux image, it still ends with a mismatch error with modules. Coud this have something to do with the source tarball being stripped and not the full one?
Code:
Building modules, stage 2.
MODPOST 67 modules
WARNING: could not find drivers/input/touchscreen/.libAW5306.cmd for drivers/input/touchscreen/libAW5306
ERROR: "vfe_gpio_write" [drivers/media/video/tvp5150.ko] undefined!
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
So, I kinda' figured out on how to cobble up a kernel for the A31s, but upon attempting to build one based on the source taken from http://dl.linux-sunxi.org/SDK/A31/a31_hummbingbird_V3.3_v2_kfb_0k.tar.gz
While I managed to load up the default config and stuff, building it using the command make ARCH=arm CROSS_COMPILE=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- results in this:
Code:
In file included from drivers/media/video/sunxi-vfe/camera_detector/camera_detector.h:4:0,
from drivers/media/video/sunxi-vfe/config.c:10:
drivers/media/video/sunxi-vfe/camera_detector/camera_includes.h:41:25: error: redefinition of typedef '__hdle'
drivers/media/video/sunxi-vfe/flash_light/../vfe_os.h:29:22: note: previous declaration of '__hdle' was here
make[4]: *** [drivers/media/video/sunxi-vfe/config.o] Error 1
make[3]: *** [drivers/media/video/sunxi-vfe] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
ANy thoughts or advice on how to make this work, let alone boot?

Custom OS Build Failure ( no rule to make target for kernel )

I have a ROM that I am trying to build and it is based off of CyanogenMod 12.1, but I am having trouble getting an initial build working. I keep running into the following error.
Code:
No private recovery resources for TARGET_DEVICE hammerhead
make: *** No rule to make target 'out/target/product/hammerhead/kernel', needed by 'out/target/product/hammerhead/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
It seems pretty obvious that it can't figure out how to build the kernel, but I am uncertain how that is hooked into the build system. Is there any good resources I can look at to find out how to build the kernel or integrate it into the build process. So many makefiles and python scripts, I am a little lost
I have the "CyanogenMod/android_kernel_lge_hammerhead" synced to "kernel/lge/hammerhead" but all the resources I have found so far don't provide much insight after that.
Thank you in advance for your help

Categories

Resources