[Galaxy S III Android Development] pix106:
In my manfest, i remove darwin projects, and then add the lines quoted in th previous post.

The error is :

13:02:58 [ 82% 27410/33330] target thumb C: libsecril-shim <= device/samsung/i9300/libsecril-shim/secril-shim.c
13:02:58 FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang -I device/samsung/i9300/include -I device/samsung/i9300/libsecril-shim -I /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates -I /home/seb/android/android_out/cm-14.0/target/product/i9300/gen/SHARED_LIBRARIES/libsecril-shim_intermediates -I libnativehelper/include/nativehelper \$(cat /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril/include -isystem /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -DEXYNOS4_ENHANCEMENTS -DEXYNOS4X12_ENHANCEMENTS -DFORCE_SCREENSHOT_CPU_PATH -DDISABLE_ASHMEM_TRACKING -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fPIC -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.d -o /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.o device/samsung/i9300/libsecril-shim/secril-shim.c ) && (cp /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.d /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.d >> /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.P; rm -f /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/SHARED_LIBRARIES/libsecril-shim_intermediates/secril-shim.d )"
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:58:6: warning: implicit declaration of function 'CC_UNLIKELY' is invalid in C99 [-Wimplicit-function-declaration]
13:02:58 if (CC_UNLIKELY(!MAX_TIMEOUT)) {
13:02:58 ^
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:63:43: error: expected ')'
13:02:58 RLOGD("%s: MAX_TIMEOUT is currently 0x%" PRIX32, __FUNCTION__, *MAX_TIMEOUT);
13:02:58 ^
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:63:2: note: to match this '('
13:02:58 RLOGD("%s: MAX_TIMEOUT is currently 0x%" PRIX32, __FUNCTION__, *MAX_TIMEOUT);
13:02:58 ^
13:02:58 system/core/include/log/log.h:332:35: note: expanded from macro 'RLOGD'
13:02:58 ((void)__android_log_buf_print(LOG_ID_RADIO, ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__))
13:02:58 ^
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:64:6: warning: implicit declaration of function 'CC_LIKELY' is invalid in C99 [-Wimplicit-function-declaration]
13:02:58 if (CC_LIKELY(*MAX_TIMEOUT == 0x7FFFFFFF)) {
13:02:58 ^
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:66:47: error: expected ')'
13:02:58 RLOGI("%s: MAX_TIMEOUT was changed to 0x0%" PRIX32, __FUNCTION__, *MAX_TIMEOUT);
13:02:58 ^
13:02:58 device/samsung/i9300/libsecril-shim/secril-shim.c:66:3: note: to match this '('
13:02:58 RLOGI("%s: MAX_TIMEOUT was changed to 0x0%" PRIX32, __FUNCTION__, *MAX_TIMEOUT);
13:02:58 ^
13:02:58 system/core/include/log/log.h:347:35: note: expanded from macro 'RLOGI'
13:02:58 ((void)__android_log_buf_print(LOG_ID_RADIO, ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__))
13:02:58 ^
13:02:58 2 warnings and 2 errors generated.
13:02:58 [ 82% 27410/33330] build /home/seb/android/android_out/cm-14.0/target/product/i9300/obj/lib/libmediandk.so.toc
13:02:58 [ 82% 27410/33330] target thumb C++: libsoundpool <= frameworks/base/media/jni/soundpool/SoundPool.cpp
13:03:01 [ 82% 27410/33330] target thumb C++: libopenjdkjvm <= art/runtime/openjdkjvm/OpenjdkJvm.cc
13:03:01 ninja: build stopped: subcommand failed.
13:03:06 build/core/ninja.mk:151 : la recette pour la cible « ninja_wrapper » a échouée
13:03:06 make: *** [ninja_wrapper] Erreur 1
13:03:06 make : on quitte le répertoire « /media/sdb4/android/cm-14.0 »
13:03:07
13:03:07 #### make failed to build some targets (38:43 (mm:ss)) ####