[Galaxy S Plus I9001 Android Development] andres_a:
Hi everyone,

Sorry for the noob question but is there something chaged in the CM9 build procedure?

I'm on Ubuntu 12.04 64bit, so I've used parts of CM9 building wiki regarding prerequisites for 64bit linux, then followed this guide by vpupkin:

http://xdaforums.com/showpost.php?p=24959223&postcount=1751

In addition to the arco68's packages that vpupkin recommends I added also the msm7x30 kernel to the local_manifest.xml.

And tried to build with the following command from cm9 tree root:

source ./build/envsetup.sh

brunch full_ariesve-eng

Result was the following error:

Notice file: hardware/libhardware_legacy/NOTICE -- out/target/product/ariesve/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Copy: out/target/product/ariesve/obj/lib/libaudioalsa.so
Copy: out/target/product/ariesve/obj/lib/libcamera.so
target thumb C++: camera.msm7x30 <= device/samsung/ariesve/camerahal/cameraHAL.cpp
device/samsung/ariesve/camerahal/cameraHAL.cpp:31:27: error: ui/OverlayHtc.h: No such file or directory
Notice file: hardware/qcom/display/libcopybit/NOTICE -- out/target/product/ariesve/obj/NOTICE_FILES/src//system/lib/hw/copybit.msm7x30.so.txt
device/samsung/ariesve/camerahal/cameraHAL.cpp: In function 'camera_memory_t* wrap_memory_data(priv_camera_device_t*, const android::sp<android::IMemory>&)':
device/samsung/ariesve/camerahal/cameraHAL.cpp:268: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'ssize_t'
device/samsung/ariesve/camerahal/cameraHAL.cpp: In function 'int camera_set_preview_window(camera_device*, preview_stream_ops*)':
device/samsung/ariesve/camerahal/cameraHAL.cpp:488: error: invalid use of incomplete type 'struct android::Overlay'
device/samsung/ariesve/camerahal/CameraHardwareInterface.h:29: error: forward declaration of 'struct android::Overlay'
make: *** [out/target/product/ariesve/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/cameraHAL.o] Error 1
make: *** Waiting for unfinished jobs....
andres@dv6-aa:~/android/cyanogenmod$

Do I understand correctly that I forgot to pull some package that contains ui/OverlayHtc.h?

Can anyone help with locating this one?

One more question - I don't understand how to build kernel separately or include the kernel build into the full build - there is a note that build uses prebuilt kernel and that's deprecated. Just make oldconfig in kernel tree spits a lot of errors so I suspect there shall be some simple way to do it properly that I've missed :)

Thanks in advance

@texten, thanks, I'll try to search more myself first before trying to pm anyone, that'll be last resort :)

Update:

Tried to use arco's android_frameworks_base also. Result is the same :(

At the moment my local_manifest.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="arco" fetch="https://github.com/arco"/>
<project path="device/samsung/ariesve" name="android_device_samsung_ariesve" remote="arco" revision="ics" />
<project path="kernel/ariesve" name="samsung-kernel-ariesve" remote="arco" revision="ics" />
<project path="kernel/msm7x30" name="samsung-kernel-msm7x30" remote="arco" revision="ics" />
<project path="vendor/samsung/ariesve" name="android_vendor_samsung_ariesve" remote="arco" revision="ics" />
<project path="vendor/samsung/ancora" name="android_vendor_samsung_ancora" remote="arco" revision="ics" />
<project path="frameworks/base" name="android_frameworks_base" remote="arco" revision="ics" />
</manifest>

PS Google is amazingly fast at indexing xda-developers :)

Few minutes after posting post is already in the index