[Q] Problem with compiling for Paranoid - Oliver sources - Galaxy S III Mini Q&A, Help & Troubleshooting

I'm trying to compile the OliverG96 sources to work with Paranoid and i have error, maybe someone have it and know a solution?
Code:
target Dex: CalendarProvider
frameworks/opt/telephony/../../../device/samsung/golden/ril/SamsungU8500RIL.java:434: cannot find symbol
symbol : variable RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE
location: class com.android.internal.telephony.SamsungU8500RIL
case RIL_REQUEST_ENTER_DEPERSONALIZATION_CODE: ret = responseInts(p); break;
^
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: *** [/home/projects/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

Related

[Q] Compilation problem on Nexus One build

I am trying to compile Android from the source for my Nexus One. I pretty much followed all instructions from here: http://forum.xda-developers.com/showthread.php?t=899674
Though the instructions are for Gingerbread, I don't really see much of a difference for Froyo. After I do a "make -j4", the following error is thrown:
Code:
Install: out/target/product/passion/system/lib/libmedia.so
target SharedLib: libstagefright_foundation (out/target/product/passion/obj/SHARED_LIBRARIES/libstagefright_foundation_intermediates/LINKED/libstagefright_foundation.so)
target SharedLib: libstagefright_color_conversion (out/target/product/passion/obj/SHARED_LIBRARIES/libstagefright_color_conversion_intermediates/LINKED/libstagefright_color_conversion.so)
target SharedLib: libaudio (out/target/product/passion/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so)
target SharedLib: libaudiopolicy (out/target/product/passion/obj/SHARED_LIBRARIES/libaudiopolicy_intermediates/LINKED/libaudiopolicy.so)
target SharedLib: libcameraservice (out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so)
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::getCameraInfo(int, android::CameraInfo*):frameworks/base/services/camera/libcameraservice/CameraService.cpp:109: error: undefined reference to 'HAL_getCameraInfo'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::CameraService():frameworks/base/services/camera/libcameraservice/CameraService.cpp:75: error: undefined reference to 'HAL_getNumberOfCameras'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::CameraService():frameworks/base/services/camera/libcameraservice/CameraService.cpp:75: error: undefined reference to 'HAL_getNumberOfCameras'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::connect(android::sp<android::ICameraClient> const&, int):frameworks/base/services/camera/libcameraservice/CameraService.cpp:148: error: undefined reference to 'HAL_openCameraHardware'
prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: in function android::CameraService::connect(android::sp<android::ICameraClient> const&, int):frameworks/base/services/camera/libcameraservice/CameraService.cpp:154: error: undefined reference to 'HAL_getCameraInfo'
collect2: ld returned 1 exit status
make: *** [out/target/product/passion/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so] Error 1
make: *** Waiting for unfinished jobs....
Note: cts/tools/dx-tests/src/dxc/junit/opcodes/invokeinterface/jm/T_invokeinterface_1.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
compiling all jasmin (*.j)
compiling all .cfh files into .class files
generating Main_*.java files reading from cts/tools/dx-tests writing to out/host/darwin-x86/obj/EXECUTABLES/dx-tests_intermediates/mainfiles
using java src:cts/tools/dx-tests/src
Collecting all junit tests...
Time: 0.025
OK (0 tests)
Can someone please help me resolve this issue?
If you want to compile Froyo - use a different guide. Either from CM6 page or from Android SDK explanations.
You're failing on library incompatibilities, specifically Camera lib - but since I don't know, what's the source core you're running (Froyo or Gingerbread repo), it's hard to say how to fix it. If you're following the guide in your post completely and compiling GB - you probably missed the "Fix Camera" part.
My bad! You're right.. There was the fix right at the bottom of that article. Thank you for pointing it out. Everything works properly..

error compiling latest cm 7 source

Hello.
I'm tryng to compile latest cm 7 source for g1/dream but i get these errors:
Code:
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:118: cannot find symbol
symbol : variable ic_appwidget_settings_wimax_off
location: class com.android.settings.R.drawable
currentIcon = R.drawable.ic_appwidget_settings_wimax_off;
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:121: cannot find symbol
symbol : variable ic_appwidget_settings_wimax_on
location: class com.android.settings.R.drawable
currentIcon = R.drawable.ic_appwidget_settings_wimax_on;
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:130: cannot find symbol
symbol : variable ic_appwidget_settings_wimax_on
location: class com.android.settings.R.drawable
currentIcon = R.drawable.ic_appwidget_settings_wimax_on;
^
packages/apps/Settings/src/com/android/settings/widget/buttons/WimaxButton.java:132: cannot find symbol
symbol : variable ic_appwidget_settings_wimax_off
location: class com.android.settings.R.drawable
currentIcon = R.drawable.ic_appwidget_settings_wimax_off;
^
packages/apps/Settings/src/com/android/settings/widget/WidgetSettings.java:600: cannot find symbol
symbol : variable ic_appwidget_settings_wimax_on
location: class com.android.settings.R.drawable
return R.drawable.ic_appwidget_settings_wimax_on;
^
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.
5 errors
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Errore 41
make: *** Attesa per i processi non terminati....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Can someine help me? Thanks.

[need dev help] CM10.2 build error

Hello guys,
Today I tried building a rom from source for my xperia sp but i got an error and I don't know how to fix it: so I issued the command brunch huashan after everything went well and it took a minute but then it said this:
Import includes file: /home/noahvt/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libgccdemangle_intermediates/import_includes
make: *** No rule to make target `/home/noahvt/android/system/out/target/product/huashan/obj/lib/libtime_genoff.so', needed by `/home/noahvt/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libutils_intermediates/LINKED/libutils.so'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/noahvt/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libz_intermediates/import_includes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.
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.
I tried doing breakfast huashan and then brunch huashan and that removed some random errors but I still got this:
make: *** No rule to make target `/home/noahvt/android/system/out/target/product/huashan/obj/lib/libtime_genoff.so', needed by `/home/noahvt/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libutils_intermediates/LINKED/libutils.so'. Stop.
make: *** Waiting for unfinished jobs....
Can anyone help me i really want to build a rom for this phone
thanks in advance,
noahvt

For devs .. compiling boot.img error

Hi Devs ,
i've been trying to build new LS nightly .. and im using this kernel https://github.com/LiquidSmooth-Devices/android_kernel_sony_msm8974 & device tree https://github.com/LiquidSmooth-Devices/android_device_sony_honami
so i got this error
Code:
DTB combiner:
Input directory: '/home/teamliquid/Ahmed/out/target/product/honami/obj/KERNEL_OBJ/arch/arm/boot/'
Output file: '/home/teamliquid/Ahmed/out/target/product/honami/dt.img'
=> Found 0 unique DTB(s)
error: could not load device tree image '/home/teamliquid/Ahmed/out/target/product/honami/dt.img'
make: *** [/home/teamliquid/Ahmed/out/target/product/honami/boot.img] Error 1
make: *** Waiting for unfinished jobs....
any ideas ?

[Q] Headers location missing during the build process

Hi Team,
I am trying to build the ROM from AOSP Source based on 5.1.1.
Till now the build was going fine but now I am facing issue with compilation errors.
The QCOM stuff creating these error because each files in the folder hardware/qcom/display/msm8974 missing the reference to compiler header file/location.
So I don't want to amend each reference to point specifically. I know where the files are located but compiler not picking it up.
E.G: #include <media/msm_media_info.h>
All the stuff available on >> hardware/qcom/msm8x74
Can someone please guide me like which ENV variable I need to check?? or which .mk file I need to amend ??
*********************************
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp
target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp
hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:41:34: fatal error: media/msm_media_info.h: No such file or directory
#include <media/msm_media_info.h>
^
compilation terminated.
build/core/binary.mk:620: recipe for target 'out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o' failed
make: *** [out/target/product/cancro/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** Waiting for unfinished jobs....
*********************************

Categories

Resources