Hi guys, Anyone else having difficulties compiling libcameraservice.so ? I am trying to compile it on a ARM5 against prop. libcamera.so and prop. liboemcamera.so
Compiler: prebuilt/$(HOST_PREBUILT_TAG)/toolchain/arm-eabi-4.4.3/bin/arm-eabi- Whatever I try I get: target SharedLib: libcameraservice (out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so) out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: In function `android::CameraService::getCameraInfo(int, android::CameraInfo*)': CameraService.cpp:(.text._ZN7android13CameraService13getCameraInfoEiPNS_10CameraInfoE+0x10): undefined reference to `HAL_getCameraInfo' out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: In function `android::CameraService::CameraService()': CameraService.cpp:(.text._ZN7android13CameraServiceC1Ev+0x7a): undefined reference to `HAL_getNumberOfCameras' out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: In function `android::CameraService::CameraService()': CameraService.cpp:(.text._ZN7android13CameraServiceC2Ev+0x72): undefined reference to `HAL_getNumberOfCameras' out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o: In function `android::CameraService::connect(android::sp<android::ICameraClient> const&, int)': CameraService.cpp:(.text._ZN7android13CameraService7connectERKNS_2spINS_13ICameraClientEEEi+0x15e): undefined reference to `HAL_openCameraHardware' CameraService.cpp:(.text._ZN7android13CameraService7connectERKNS_2spINS_13ICameraClientEEEi+0x184): undefined reference to `HAL_getCameraInfo' collect2: ld returned 1 exit status make: *** [out/target/product/hero/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so] Error 1 BoardConfig: USE_CAMERA_STUB := false -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting