[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Flo0008:
Error during compiling Carbon-Rom :(

florian@florian-desktop:~/android/carbon4.4$ make -j7 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CARBON_VERSION="CARBON-KK-UNOFFICIAL"-20140417-2148
TARGET_PRODUCT=carbon_janice
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/florian/android/carbon4.4/out
============================================
/home/florian/android/carbon4.4/out/target/product/janice/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES hardware/broadcom/wlan/bcmdhd/config/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf ignored.
PRODUCT_COPY_FILES hardware/broadcom/wlan/bcmdhd/config/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/common/gps/gps.conf_EU_SUPL:system/etc/gps.conf ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/obj/lib/libril.so'
build/core/dynamic_binary.mk:117: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/obj/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libFFTEm.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libFFTEm.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libexpat.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libexpat.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libpower.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libpower.so'
build/core/Makefile:44: warning: overriding commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libstlport.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/florian/android/carbon4.4/out/target/product/janice/system/lib/libstlport.so'
No private recovery resources for TARGET_DEVICE janice
build/core/tasks/kernel.mk:175: warning: overriding commands for target `TARGET_KERNEL_BINARIES'
device/samsung/u8500-common/shbootimg.mk:26: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES'
make -C kernel/samsung/u8500 O=/home/florian/android/carbon4.4/out/target/product/janice/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/florian/android/carbon4.4/prebuilts/misc/linux-x86/ccache/ccache /home/florian/android/carbon4.4/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_i9070_defconfig
make[1]: Entering directory `/home/florian/android/carbon4.4/kernel/samsung/u8500'
target Symbolic: libdl (/home/florian/android/carbon4.4/out/target/product/janice/symbols/system/lib/libdl.so)
make: Circular /home/florian/android/carbon4.4/out/target/product/janice/recovery/root.ts <- /home/florian/android/carbon4.4/out/target/product/janice/kernel dependency dropped.
Target buildinfo: /home/florian/android/carbon4.4/out/target/product/janice/system/build.prop
target R.java/Manifest.java: BasicDreams (/home/florian/android/carbon4.4/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp)
Copying: /home/florian/android/carbon4.4/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/florian/android/carbon4.4/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/emma_out/lib/classes-jarjar.jar
Target buildinfo from: device/samsung/janice/system.prop
target R.java/Manifest.java: BlueBalls (/home/florian/android/carbon4.4/out/target/common/obj/APPS/BlueBalls_intermediates/src/R.stamp)
target thumb C++: libui <= frameworks/native/libs/ui/FramebufferNativeWindow.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/GLConsumer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/GraphicBufferAlloc.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/GuiConfig.cpp
In file included from frameworks/native/libs/ui/FramebufferNativeWindow.cpp:32:0:
frameworks/native/include/ui/FramebufferNativeWindow.h:17:0: error: unterminated #ifndef
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:75:1: error: 'FramebufferNativeWindow' does not name a type
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:172:1: error: 'FramebufferNativeWindow' does not name a type
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:188:10: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'android::status_t android::setUpdateRectangle(const android::Rect&)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:190:10: error: 'mUpdateOnDemand' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:193:12: error: 'fbDev' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:196:10: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'android::status_t android::compositionComplete()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:198:9: error: 'fbDev' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:204:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::setSwapInterval(ANativeWindow*, int)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:207:46: error: 'getSelf' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:211:6: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'void android::dump(android::String8&)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:212:9: error: 'fbDev' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:222:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:222:54: error: non-member function 'int android::getCurrentBufferIndex()' cannot have cv-qualifier
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::getCurrentBufferIndex()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:224:24: error: 'mutex' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:225:23: error: 'mCurrentBufferIndex' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:229:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::dequeueBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer**)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:233:56: error: 'dequeueBuffer' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:244:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::dequeueBuffer(ANativeWindow*, ANativeWindowBuffer**, int*)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:247:5: error: 'FramebufferNativeWindow' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:247:30: error: 'self' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:247:51: error: 'getSelf' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:275:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:281:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::queueBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer*)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:284:42: error: 'queueBuffer' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:287:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::queueBuffer(ANativeWindow*, ANativeWindowBuffer*, int)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:290:5: error: 'FramebufferNativeWindow' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:290:30: error: 'self' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:290:51: error: 'getSelf' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:325:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::query(const ANativeWindow*, int, int*)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:328:11: error: 'FramebufferNativeWindow' does not name a type
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:329:24: error: 'self' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: At global scope:
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:361:5: error: 'FramebufferNativeWindow' has not been declared
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'ANativeWindow* android_createDisplaySurface()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:396:5: error: 'FramebufferNativeWindow' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:396:30: error: 'w' was not declared in this scope
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:397:13: error: expected type-specifier before 'FramebufferNativeWindow'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:397:13: error: expected ';' before 'FramebufferNativeWindow'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:400:35: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class android::sp'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:400:35: error: expected a type, got 'FramebufferNativeWindow'
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:400:40: error: invalid type in declaration before '(' token
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:404:1: error: control reaches end of non-void function [-Werror=return-type]
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::queueBuffer_DEPRECATED(ANativeWindow*, ANativeWindowBuffer*)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:285:1: error: control reaches end of non-void function [-Werror=return-type]
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'int android::getCurrentBufferIndex()':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:227:1: error: control reaches end of non-void function [-Werror=return-type]
frameworks/native/libs/ui/FramebufferNativeWindow.cpp: In function 'android::status_t android::setUpdateRectangle(const android::Rect&)':
frameworks/native/libs/ui/FramebufferNativeWindow.cpp:194:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
target thumb C++: libgui <= frameworks/native/libs/gui/IDisplayEventConnection.cpp
make: *** [/home/florian/android/carbon4.4/out/target/product/janice/obj/SHARED_LIBRARIES/libui_intermediates/FramebufferNativeWindow.o] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/florian/android/carbon4.4/out/target/product/janice/obj/KERNEL_OBJ/Makefile
In file included from frameworks/native/libs/gui/GLConsumer.cpp:32:0:
frameworks/native/include/gui/GLConsumer.h: In constructor 'android::GLConsumer::GLConsumer(const android::sp<android::IGraphicBufferConsumer>&, uint32_t, uint32_t, bool, bool)':
frameworks/native/include/gui/GLConsumer.h:473:9: warning: 'android::GLConsumer::mCurrentTexture' will be initialized after [-Wreorder]
In file included from frameworks/native/libs/gui/GLConsumer.cpp:32:0:
frameworks/native/include/gui/GLConsumer.h:449:9: warning: 'int android::GLConsumer::mNextBlitSlot' [-Wreorder]
frameworks/native/libs/gui/GLConsumer.cpp:119:1: warning: when initialized here [-Wreorder]
frameworks/native/libs/gui/GLConsumer.cpp:156:154: error: 'mBlitEngin' was not declared in this scope
make: *** [/home/florian/android/carbon4.4/out/target/product/janice/obj/SHARED_LIBRARIES/libgui_intermediates/GLConsumer.o] Error 1
#
# configuration written to .config
#
make[1]: Leaving directory `/home/florian/android/carbon4.4/kernel/samsung/u8500'
florian@florian-desktop:~/android/carbon4.4$

Hope [MENTION=5464206]Tesla-MADAL93[/MENTION], [MENTION=4480917]Alberto97[/MENTION] has an idea?

Thanks