Error compiling AOSP gingerbread for galaxy ace
===

I'm building AOSP gingerbread for galaxy ace. I have downloaded all required packages and the source. But I'm getting this error while compiling the source.
Can anyone help me with this error?

    
    infinityy@infinityy-Aspire-5738:~/WORKING_DIRECTORY$ make -j3 update-api
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=2.3.7
    TARGET_PRODUCT=cooper
    TARGET_BUILD_VARIANT=eng
    TARGET_SIMULATOR=false
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    HOST_ARCH=x86
    HOST_OS=linux
    HOST_BUILD_TYPE=release
    BUILD_ID=GWK74
    ============================================
    find: `frameworks/base/frameworks/base/docs/html': No such file or directory
    find: `out/target/common/docs/gen': No such file or directory
    find: `frameworks/base/frameworks/base/docs/html': No such file or directory
    find: `out/target/common/docs/gen': No such file or directory
    find: `frameworks/base/frameworks/base/docs/html': No such file or directory
    find: `out/target/common/docs/gen': No such file or directory
    find: `frameworks/base/frameworks/base/docs/html': No such file or directory
    find: `out/target/common/docs/gen': No such file or directory
    find: `frameworks/base/frameworks/base/docs/html': No such file or directory
    find: `out/target/common/docs/gen': No such file or directory
    build/core/Makefile:21: warning: overriding commands for target            `out/target/product/cooper/system/lib/libril.so'
    build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/cooper/system/lib/libril.so'
    build/core/Makefile:21: warning: overriding commands for target `out/target/product/cooper/obj/lib/libril.so'
    build/core/dynamic_binary.mk:141: warning: ignoring old commands for target `out/target/product/cooper/obj/lib/libril.so'
    build/core/Makefile:21: warning: overriding commands for target `out/target/product/cooper/system/usr/keylayout/qwerty.kl'
    sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for target `out/target/product/cooper/system/usr/keylayout/qwerty.kl'
    No private recovery resources for TARGET_DEVICE cooper
    make: *** No rule to make target `hardware/qcom/gps/loc_api/libloc_api-rpc/inc-    50000/loc_api_cb.h', needed by `out/target/product/cooper/obj/include/libloc_api- rpc/inc/loc_api_cb.h'.  Stop.