[Q] Error in webkit AOSP Gingerbread compilation - Android

Install: out/target/product/beni/system/lib/libjni_pinyinime.so
Install: out/target/product/beni/system/lib/libjnigraphics.so
Install: out/target/product/beni/system/lib/libmedia_jni.so
Copying out/target/product/beni/obj/STATIC_LIBRARIES/libv8_intermediates/js2c.py
Copying out/target/product/beni/obj/STATIC_LIBRARIES/libv8_intermediates/jsmin.py
Copying out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/js2c.py
Copying out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/jsmin.py
Install: out/host/linux-x86/bin/mksnapshot
target Non-prelinked: libmock_ril (out/target/product/beni/symbols/system/lib/libmock_ril.so)
Install: out/target/product/beni/system/lib/libmock_ril.so
Install: out/target/product/beni/system/lib/libpagemap.so
Install: out/target/product/beni/system/lib/libreference-cdma-sms.so
Install: out/target/product/beni/system/lib/libreference-ril.so
Install: out/target/product/beni/system/lib/librpc.so
Install: out/target/product/beni/system/lib/libRS.so
Install: out/target/product/beni/system/lib/librs_jni.so
target Non-prelinked: librtp_jni (out/target/product/beni/symbols/system/lib/librtp_jni.so)
Install: out/target/product/beni/system/lib/librtp_jni.so
Install: out/target/product/beni/system/lib/libsoundpool.so
target Non-prelinked: libsqlite_jni (out/target/product/beni/symbols/system/lib/libsqlite_jni.so)
Install: out/target/product/beni/system/lib/libsqlite_jni.so
Install: out/target/product/beni/system/lib/libsrec_jni.so
Install: out/target/product/beni/system/lib/libstagefrighthw.so
Install: out/target/product/beni/system/lib/libterm.so
Install: out/target/product/beni/system/lib/libthread_db.so
Install: out/target/product/beni/system/lib/libttspico.so
Install: out/target/product/beni/system/lib/libttssynthproxy.so
Install: out/host/linux-x86/bin/bison
target thumb C++: libwebcore <= external/webkit/WebCore/css/CSSStyleSelector.cpp
external/webkit/WebCore/css/CSSStyleSelector.cpp:109:22: error: WMLNames.h: No such file or directory
external/webkit/WebCore/css/CSSStyleSelector.cpp: In function 'const WebCore::AtomicString* WebCore::linkAttribute(WebCore::Node*)':
external/webkit/WebCore/css/CSSStyleSelector.cpp:858: error: 'WMLNames' has not been declared
external/webkit/WebCore/css/CSSStyleSelector.cpp: In member function 'void WebCore::CSSStyleSelector::adjustRenderStyle(WebCore::RenderStyle*, WebCore::Element*)':
external/webkit/WebCore/css/CSSStyleSelector.cpp:1614: error: 'WMLNames' has not been declared
external/webkit/WebCore/css/CSSStyleSelector.cpp:1615: error: 'WMLNames' has not been declared
make: *** [out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/css/CSSStyleSelector.o] Error 1
Click to expand...
Click to collapse
Please help me to solve this problem
Compiling AOSP gingerbread for Samsung Galaxy Fit

Related

[Question]Compiling AOSP gingerbread , RIL.java error

I am compiling the AOSP Gingerbread 2.3.7 for Samsung Galaxy Fit. I have made a successful build but now i am fixing the RIL for the incoming Calls. I am using the cyanogenmod 7.2 sources to patch the AOSP source , but i am getting these errors
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
Please help me and please fix this problem.

[Q] [AOSP Gingerbread][Help]Compiling RIL.java

I am compiling AOSP GIngerbread 2.3.7 for Samsung Galaxy Fit. I am using the Cyanogenmod 7.2 to patch the incoming call bug in the AOSP but unfortunaltely the last error which i am recieving is this while compiling
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
There is a humble request for all the devs is to help me out in the project

[Q]why ROM won't compile? [Mac](beginner)

I'm a complete beginner to the ROM building world, and decided to work with a custom ROM as a base for practice.
I chose SlimBean for my Nexus 4 (mako).
I already setup up my build environment through the sources on github, started building an otapackage and somewhere down the line I think the build ran into an error I'm not sure what to do about it but I think it has to do with the kernel (that comes with the ROM?) or linaro, but here's the last bit of lines on my terminal:
Code:
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkpolicy
make[2]: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Command not found
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkfc
target Prebuilt: system_core_charger_battery_0.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_0.png_intermediates/battery_0.png)
target Prebuilt: system_core_charger_battery_1.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_1.png_intermediates/battery_1.png)
target Prebuilt: system_core_charger_battery_2.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_2.png_intermediates/battery_2.png)
target Prebuilt: system_core_charger_battery_3.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_3.png_intermediates/battery_3.png)
target Prebuilt: system_core_charger_battery_4.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_4.png_intermediates/battery_4.png)
target Prebuilt: system_core_charger_battery_5.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_5.png_intermediates/battery_5.png)
target Prebuilt: system_core_charger_battery_charge.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_charge.png_intermediates/battery_charge.png)
target Prebuilt: system_core_charger_battery_fail.png (/Volumes/android/wizard/out/target/product/mako/obj/ETC/system_core_charger_battery_fail.png_intermediates/battery_fail.png)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/checkseapp
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.slim.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.usb.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.trace.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.mako.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/init.mako.usb.rc
Copy: /Volumes/android/wizard/out/target/product/mako/root/fstab.mako
Copy: /Volumes/android/wizard/out/target/product/mako/root/ueventd.mako.rc
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/minigzip
target Prebuilt: nandroid-md5.sh (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/nandroid-md5.sh_intermediates/nandroid-md5.sh)
target Prebuilt: killrecovery.sh (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/killrecovery.sh_intermediates/killrecovery.sh)
target Prebuilt: parted (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/parted_intermediates/parted)
target Prebuilt: sdparted (/Volumes/android/wizard/out/target/product/mako/obj/RECOVERY_EXECUTABLES/sdparted_intermediates/sdparted)
Install: /Volumes/android/wizard/out/host/darwin-x86/framework/dumpkey.jar
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/monkey)
GEN /Volumes/android/wizard/out/target/product/mako/obj/KERNEL_OBJ/Makefile
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/bmgr)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/ime)
CHK include/linux/version.h
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/input)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/pm)
target Prebuilt: (/Volumes/android/wizard/out/target/product/mako/system/bin/svc)
CC scripts/mod/empty.o
/bin/sh: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: No such file or directory
make[4]: *** [scripts/mod/empty.o] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[2]: *** Waiting for unfinished jobs....
target Prebuilt: system_etcdir (/Volumes/android/wizard/out/target/product/mako/system/etc/hosts)
Install: /Volumes/android/wizard/out/host/darwin-x86/bin/aapt
make[1]: *** [sub-make] Error 2
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/Volumes/android/wizard/out/target/product/mako/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
I think it's because of this that ended the compilation:
Code:
/bin/sh: /Volumes/android/wizard/prebuilt/darwin-x86/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: No such file or directory
If it is kernel related, is there a way to not have that compiled and build the ROM so that the default AOSP kernel is compiled with the ROM? Eventually I want to do that anyway.
What is to be done about this?
I'm new to building in general but I have successfully compiled android AOSP 4.3r2.1 through linux on virtualbox on my windows machine. I prefer to work on my macbook.

error: string: No such file or directory

Hey all I'm trying to compile Dirty Unicorns Rom for the device GT-I9082 Galaxy Grand Duos...
When i start the building process I get an error as stated below:
target thumb C++: hwuitest <= frameworks/base/libs/hwui/tests/main.cpp
In file included from frameworks/base/libs/hwui/tests/../AnimationContext.h:23:0,
from frameworks/base/libs/hwui/tests/main.cpp:23:
frameworks/base/libs/hwui/tests/../TreeInfo.h:19:18: fatal error: string: No such file or directory
#include <string>
^
compilation terminated.
make: *** [/home/raghav/source/du/system/out/target/product/i9082/obj/EXECUTABLES/hwuitest_intermediates/main.o] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
For some reason the gcc/g++ compiler is unable to look for the string file in usr/include/c++/4.8
Where it exists I have verified.. Can someone please help resolve this error?
Thanks
Have you resolved this error? I am experiencing the same error.

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 ?

Categories

Resources