[Q]Build breaks, but why ? - Android Q&A, Help & Troubleshooting

Hey,
I have today build AOSB from source. My device is not supported because of that I want to build my own build. I use a device tree thats work from my device (P880), but after a time I get a message an the build breaks.
target R.java/Manifest.java: WallpaperCropper (/home/animus7/AOSB/out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
host SharedLib: libart (/home/animus7/AOSB/out/host/linux-x86/obj/lib/libart.so)
frameworks/base/packages/SystemUI/res/values/styles.xml:225: error: Error: No resource found that matches the given name (at 'androidaddingLeft' with value '@dimen/card_header_button_padding_left').
make: *** [/home/animus7/AOSB/out/target/common/obj/APPS/SystemUI_intermediates/src/R.stamp] Fehler 1 ( Here the translation: error 1)
make: *** Warte auf noch nicht beendete Prozesse... (Here the translation: Waiting for non-completed processes ...)
[email protected]:~/AOSB$
Click to expand...
Click to collapse
Also I have take a screenshot you can see here again:

Related

Kernel 2.6.32 NEXUS

hi i was compiling 2.6.32 from the git repo
with oldconfig from my nexus one but camera doesnt work
has anyone a good 2.6.32 .config and could attach it
As said here:
http://forum.xda-developers.com/showpost.php?p=5395561&postcount=47
% export ARCH=arm
% export CROSS_COMPILE=arm-eabi- (assuming the standard android toolchain is in your path)
% make distclean
% make mahimahi_defconfig
% make
with that conf it gives
Code:
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mlittle-endian«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mabi=aapcs-linux«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mno-thumb-interwork«
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -march=
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -mtune=
make[1]: *** [kernel/bounds.s] Fehler 1
make: *** [prepare0] Fehler 2
gentoo22 said:
with that conf it gives
Code:
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mlittle-endian«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mabi=aapcs-linux«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mno-thumb-interwork«
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -march=
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -mtune=
make[1]: *** [kernel/bounds.s] Fehler 1
make: *** [prepare0] Fehler 2
Click to expand...
Click to collapse
Sounds like the build process may not be looking at the right GCC. The -m* options are specific to a particular architecture.
ok now works here but wireless doesnt
If you replace the kernel, you need to replace the wifi module as well.
The kernel build leaves it here:
drivers/net/wireless/bcm4329/bcm4329.ko
You need to copy it to /system/lib/modules/ on the device.
have done it in recovery, wile system is up it says read only filesystem with adb
then compiled in kernel not as module but doent work
Currently userspace needs the wifi driver to be a module (it expects to insmod it to start things up, etc, and gets confused if it can't). This will be fixed in some future version of Android. For now, you must replace the wifi module in /system/lib/modules if you update the kernel.
If any one makes a update.zip with the 2.6.32, please shere it here, i want to give it a try
There is already a good thread on 2.6.32 development, no need for a second.
Can I assume that in conjunction with what Brian posted on lwn.net, i.e. 2.6.32 is intended as base for Froyo, that an official ROM with this kernel will only be released when Froyo's ready (probably not on short term)?

[Q] Strange error during the compilation of AOSPA 3+

Hi,
I'm tring to compile AOSPA 3+ for Samsung Galaxy S2G (i9100g). I've compiled successful different build of CyanogenMod and so I want to compile Paranoid for my device. I've followed this guide (http://forum.xda-developers.com/showthread.php?t=1863547), but after some hours I've the following error:
Install: /home/nicola/android/system/out/host/linux-x86/framework/sdkstats.jar
Install: /home/nicola/android/system/out/host/linux-x86/framework/ddmuilib-tests.jar
Install: /home/nicola/android/system/out/host/linux-x86/framework/sqlite-jdbc-host.jar
host Java: traceview (/home/nicola/android/system/out/host/common/obj/JAVA_LIBRARIES/traceview_intermediates/classes)
Install: /home/nicola/android/system/out/host/linux-x86/framework/uiautomatorviewer.jar
host Executable: clang (/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
make: *** [/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/llvm-ndk-cc_intermediates/llvm-ndk-cc] Ucciso
make: *** Eliminazione del file "/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/llvm-ndk-cc_intermediates/llvm-ndk-cc"
make: *** Attesa per i processi non terminati....
make: *** [/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Ucciso
make: *** Eliminazione del file "/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang"
Total time elapsed: 212 minutes (12734.833216262 seconds)
Click to expand...
Click to collapse
I've searched some solution on internet but I've found nothing. Probably this error is a noob erros but I can't solve it .
Can anyone help me?

Help with simple problem

Trying to compile CM10.1 for Cube U9GT4.
Got error
Code:
device/cube/u9gt4/overlay/frameworks/base/core/res/res/xml/storage_list.xml:4: error: Error: No resource found that matches the given name (at 'storageDescription' with value '@string/storage_nand_flash').
make: *** [/home/yp/CM10/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Ошибка 1
make: *** Удаляется файл `/home/yp/CM10/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Ожидание завершения заданий...
host C++: libLLVMipo <= external/llvm/lib/Transforms/IPO/LoopExtractor.cpp
make: *** wait: Нет дочерних процессов. Останов.
Storage_list.xml from official rom.
Problem looks simple, but i cant solve it by myself. I do not know what to replace value of storageDescription

Build a ROM with custom kernel?

Hi everybody,
following the guide "How To Build CyanogenMod For Samsung Galaxy Tab 2 10.1 (Wi-Fi) ("p5110")" from cyanogenmod wiki I compiled my first ROM (CM 11.0) for my P5110.
Now I'm trying to compile the ROM with the drivers for ASIX 88xx via menuconfig. But I always got the following error:
Code:
/home/pete/android/system/kernel/samsung/espresso10/arch/arm/kernel/irq.c:45:28: fatal error: mach/sec_addon.h: No such file or directory
compilation terminated.
make[3]: *** [arch/arm/kernel/irq.o] Fehler 1
make[2]: *** [arch/arm/kernel] Fehler 2
make[1]: *** [sub-make] Fehler 2
make[1]: Verzeichnis »/home/pete/android/system/kernel/samsung/espresso10« wird verlassen
make: *** [TARGET_KERNEL_BINARIES] Fehler 2
make: *** Auf noch nicht beendete Prozesse wird gewartet …
After the successful compilation of the ROM according to the guide mentioned above I tried this:
Code:
make clean
repo sync
cd ~/android/system/kernel/samsung/espresso10
make menuconfig
Load an Alternate Configuration File: ./arch/arm/configs/cyanogenmod_p5110_defconfig
make mrproper
croot
brunch p5110
and after a while I got the error mentioned above.
Any hints?
Kind regards Pete
The following brought me a step further. Instead of
Code:
make menuconfig
I did
Code:
make ARCH=arm menuconfig
after that the Build ran through.
Now I've got the following issues:
1. It is not possible to switch on the WLAN. Wenn I move the switch to 'On' no WLANs are shown and after a short time the switch moves back to 'Off'? It works with CM-11-nightly.
2. When i try to bring up the Ethernet I got the following
Code:
ifconfig eth0 192.168.1.100
error: SIOCSIFADDR (No such device)
dmesg
[irq/206-synapti] tsp: ts_irq_handler: 0 dn. remain: 1
[irq/206-synapti] tsp: ts_irq_handler: 0 up. remain: 0
[ usbhostd] host_notifier_ usbhostd: mode 1, count 721, HIGH
Any ideas???
Regards Pete

[Q]Problems building DirtyUnicorns 5.1

Hi
I was trying to compile lollipop DU but I can't solve this error.
Code:
target SharedLib: libcryptfslollipop (/home/thunderblockit/DirtyUnicorns_OUT/target/product/y550/obj/SHARED_LIBRARIES/libcryptfslollipop_intermediates/LINKED/libcryptfslollipop.so)
bootable/recovery/crypto/lollipop/cryptfs.c:114: error: undefined reference to 'should_use_keymaster'
collect2: error: ld returned 1 exit status
make: *** [/home/thunderblockit/DirtyUnicorns_OUT/target/product/y550/obj/SHARED_LIBRARIES/libcryptfslollipop_intermediates/LINKED/libcryptfslollipop.so] Errore 1
should_use_keymaster is in cryptfs_hw.h
And cryptfs_hw is in qcom_common but it seems like makefiles of device/qcom/common aren't included in build?
How to solve?

Categories

Resources