[Android Q&A, Help & Troubleshooting] CallMeVentus:
Hello everyone in XDA :)

I've decided to take the plunge with a group of friends to make an AOSP ROM for the Galaxy Ace (Codenamed Cooper) and it's not exactly as smooth-sailing as I thought.

I used to make generic builds last time , but ditched it because of the various errors that were induced.

So this time I decided to grab different Cooper sources from GitHub, mostly from coolya and Cyanogenmod.

I then realised that the AOSP doesn't have much files for an ARMv6-VFP device.

So I replaced android/frameworks/base completely with Cyanogenmod's android/frameworks/base.

And now I've been getting this error using:

make -j16 otapackage

frameworks/base/libs/ui/GraphicBuffer.cpp: In member function 'android::status_t android::GraphicBuffer::reallocate(uint32_t, uint32_t, android::PixelFormat, uint32_t)':
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
target thumb C++: libui <= frameworks/base/libs/ui/GraphicBufferMapper.cpp
target thumb C++: libui <= frameworks/base/libs/ui/GraphicLog.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyLayoutMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyCharacterMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Input.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputDispatcher.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputManager.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputReader.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputTransport.cpp
target thumb C++: libui <= frameworks/base/libs/ui/IOverlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Overlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/PixelFormat.cpp
frameworks/base/libs/ui/Overlay.cpp: In member function 'android::status_t android::Overlay::setFd(int)':
frameworks/base/libs/ui/Overlay.cpp:98: error: 'struct overlay_data_device_t' has no member named 'setFd'
make: *** [out/target/product/cooper/obj/SHARED_LIBRARIES/libui_intermediates/Overlay.o] Error 1
make: *** Waiting for unfinished jobs....
root@lol-Aspire:~/android#

If I used

make -j16

It would give a different error:

Install: out/host/linux-x86/framework/guavalib.jar
host Prebuilt: org-openide-util (out/host/common/obj/JAVA_LIBRARIES/org-openide-util_intermediates/javalib.jar)
host Prebuilt: org-netbeans-api-visual (out/host/common/obj/JAVA_LIBRARIES/org-netbeans-api-visual_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/idegen.jar
host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jdiff.jar
Install: out/host/linux-x86/framework/jsr305lib.jar
host Prebuilt: jython (out/host/common/obj/JAVA_LIBRARIES/jython_intermediates/javalib.jar)
host Prebuilt: kxml2-2.3.0 (out/host/common/obj/JAVA_LIBRARIES/kxml2-2.3.0_intermediates/javalib.jar)
make: *** No rule to make target `out/host/linux-x86/framework/layoutlib_api-prebuilt.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar'. Stop.
make: *** Waiting for unfinished jobs....

Did I do anything wrong?