Ok i'm trying to compile gingerbread, and got stuck.
host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so)
/usr/bin/ld: skipping incompatible out/host/linux-x86/obj/lib/libneo_util.so when searching for -lneo_util
/usr/bin/ld: cannot find -lneo_util
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libneo_cgi.so] 错误 1
I'm building fine using Ubuntu 10.04 32bit..
thk~~~
Has been resolved
Hey, can u tell me about compiling kernel that make u don't stuck on logo?
Related
Hey guys I have another question about my first attempt at building from source. when I run
make -j`grep 'processor' /proc/cpuinfo | wc -l` CYANOGEN_WITH_GOOGLE=true bacon
Click to expand...
Click to collapse
The make command runs for a bit and does its thing and then I get an error
target Dex: VisualizationWallpapers
target Package: VisualizationWallpapers (out/target/product/sholes/obj/APPS/VisualizationWallpapers_intermediates/package.apk)
'out/target/common/obj/APPS/VisualizationWallpapers_intermediates/classes.dex' as 'classes.dex'...
Install: out/target/product/sholes/system/app/VisualizationWallpapers.apk
Copying: out/target/common/obj/APPS/VoiceDialer_intermediates/classes-full-names.jar
Copying: out/target/common/obj/APPS/VoiceDialer_intermediates/classes.jar
target Dex: VoiceDialer
target Package: VoiceDialer (out/target/product/sholes/obj/APPS/VoiceDialer_intermediates/package.apk)
'out/target/common/obj/APPS/VoiceDialer_intermediates/classes.dex' as 'classes.dex'...
Install: out/target/product/sholes/system/app/VoiceDialer.apk
target Executable: CameraServiceTest (out/target/product/sholes/obj/EXECUTABLES/CameraServiceTest_intermediates/LINKED/CameraServiceTest)
/home/andrew/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: libril_rds.so, needed by out/target/product/sholes/obj/lib/libmoto_gps.so, not found (try using -rpath or -rpath-link)
/home/andrew/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: libnmea.so, needed by out/target/product/sholes/obj/lib/libmoto_gps.so, not found (try using -rpath or -rpath-link)
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `RdsSetupRemoteConnection'
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `RdsUtilCreateMsg'
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `nmea_parse_sentence'
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `RdsUtilSendMsg'
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `nmea_parse_error_string'
out/target/product/sholes/obj/lib/libmoto_gps.so: undefined reference to `RdsReadServerRsp'
collect2: ld returned 1 exit status
make: *** [out/target/product/sholes/obj/EXECUTABLES/CameraServiceTest_intermediates/LINKED/CameraServiceTest] Error 1
andrewUbuntu: ~/android/system
Click to expand...
Click to collapse
Bueller? anyone?
Seems like the extract-files.sh did not work.
The libraries missing are breaking the build.
Ensure the extract-files.sh was done properly.
Please disregard my previous post.
Seems like there are a couple inconsistencies on the sholes vendor tree. I am experiencing the same issue now. Checking.
Will let you know what I found.
I was partially right about the extract-files.sh
First, go to /home/andrew/android/vendor/motorola/sholes and edit the BoardConfig.mk file. The line for the GPS libraries must have three files (separated by spaces) libmoto_gps, libnmea and libril_rds. From your post, yours only has the libmoto_gps.
Second, check if /home/andrew/android/vendor/motorola/sholes/proprietary contains the file pppd_ril. If the file is not there, you must use any file explorer with root to copy it from /system/bin on the phone to /home/andrew/android/vendor/motorola/sholes/proprietary in your computer.
Try the build again.
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..
I'm trying to compile Boot to Gecko for Galaxy Mini (tass) and am getting the following error. Can anyone help or porting?
I'm using Ubuntu 12.10 and following the information page at Mozilla: https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Porting
Already thankful.
Code:
target SharedLib: libz (out/target/product/tass/obj/SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so)
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcamera-tass
collect2: ld returned 1 exit status
make: ** [out/target/product/tass/obj/SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so] Erro 1
real 0m29.389s
user 0m7.836s
sys 0m3.196s
> Build failed! <
Sorry for bad english, I'm Brazilian.
Hey.
I was trying to build CM11 for i9295 following the recipe http://forum.xda-developers.com/showthread.php?t=2658534
I installed fresh ubuntu 14.04, added all the build environment, installed updated java and then executed 'brunch jactiveltexx'.
Unfortunately my build didn't succeed. after few hours of compilation it failed complaining about some emtpy zip file. Could you advise me on what could be wrong? It is a fresh sync.
Here comes my build crash-log.
cheers
- M.
UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.zip.ZipFile.<init>(ZipFile.java:159)
at com.android.dx.cf.direct.ClassPathOpener.processAr chive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOn e(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(C lassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main. java:596)
at com.android.dx.command.dexer.Main.processAllFiles( Main.java:498)
at com.android.dx.command.dexer.Main.runMonoDex(Main. java:264)
at com.android.dx.command.dexer.Main.run(Main.java:23 0)
at com.android.dx.command.dexer.Main.main(Main.java:1 99)
at com.android.dx.command.Main.main(Main.java:103)
1 error; aborting
make: *** [/home/marcin/android/system/out/target/common/obj/APPS/Mms_intermediates/classes-with-local.dex] Error 1
make: *** Waiting for unfinished jobs....
Use Java from Oracle, not openJDK
Hi
I have partially overcome problem with compilation.
I realized that I'm using wrong JDK.
After following this (ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/) I got the right one.
Unfortunately build still fails. This time I fail to figure what actually went wrong. Repo is synced, everything is updated. Could somebody have a look on this:
gist.github.com/anonymous/f98c0c948c5dbf857160
cheers
- M.
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 ?