[Ubuntu Touch Q&A, Help & Troubleshooting] ggrnd0:
On compiling hardware/samsung/libalsa-intf/amix.c for my i9505 (UT based on cm 10.1) i got this

target thumb C: alsaucm_test <= hardware/samsung/libalsa-intf/alsaucm_test.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/samsung/libalsa-intf/alsa_ucm.c
target thumb C: amix <= hardware/samsung/libalsa-intf/amix.c
target thumb C: aplay <= hardware/samsung/libalsa-intf/aplay.c
target Symbolic: applypatch (/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/symbols/system/bin/applypatch)
target thumb C: arec <= hardware/samsung/libalsa-intf/arec.c
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_get':
hardware/samsung/libalsa-intf/alsa_mixer.c:403:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:409:5: error: passing argument 5 of 'mixer_ctl_read_tlv' from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_mixer.c:311:5: note: expected 'unsigned int *' but argument is of type 'unsigned int **'
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_mulvalues':
hardware/samsung/libalsa-intf/alsa_mixer.c:546:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:546:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set':
hardware/samsung/libalsa-intf/alsa_mixer.c:601:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:615:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:621:27: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'set_volume_simple':
hardware/samsung/libalsa-intf/alsa_mixer.c:721:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c:721:43: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_mixer.c: In function 'mixer_ctl_set_value':
hardware/samsung/libalsa-intf/alsa_mixer.c:771:5: error: pointer targets in passing argument 1 of 'is_volume' differ in signedness [-Werror=pointer-sign]
hardware/samsung/libalsa-intf/alsa_mixer.c:78:12: note: expected 'const char *' but argument is of type 'unsigned char *'
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/samsung/libalsa-intf/alsa_pcm.c:540:22: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/samsung/libalsa-intf/alsa_pcm.c:599:26: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
cc1: all warnings being treated as errors
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/samsung/libalsa-intf/alsa_pcm.c:659:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/samsung/libalsa-intf/alsa_pcm.c:798:8: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_pcm.c:827:11: error: return makes integer from pointer without a cast [-Werror]
target thumb C++: audiod <= hardware/samsung/audiod/audiod_main.cpp
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] Ошибка 1
make: *** Ожидание завершения заданий...
hardware/samsung/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/samsung/libalsa-intf/alsa_pcm.c:910:9: error: return makes pointer from integer without a cast [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:131:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:155:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c:179:15: error: assignment from incompatible pointer type [-Werror]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/samsung/libalsa-intf/alsa_ucm.c:942:65: error: comparison between pointer and integer [-Werror]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] Ошибка 1
hardware/samsung/libalsa-intf/aplay.c:58:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c:59:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/aplay.c: In function 'play_file':
hardware/samsung/libalsa-intf/aplay.c:255:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/aplay.c:34:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/aplay.c:256:13: error: ordered comparison of pointer with integer zero [-Werror=extra]
hardware/samsung/libalsa-intf/aplay.c:257:9: error: return makes integer from pointer without a cast [-Werror]
hardware/samsung/libalsa-intf/aplay.c:378:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:390:18: error: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:391:18: error: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:405:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:410:14: error: format '%d' expects argument of type 'int', but argument 3 has type 'u_int8_t *' [-Werror=format]
hardware/samsung/libalsa-intf/aplay.c:524:31: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:541:35: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c: In function 'main':
hardware/samsung/libalsa-intf/aplay.c:750:37: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/aplay.c:752:15: error: comparison is always false due to limited range of data type [-Werror=type-limits]
hardware/samsung/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/samsung/libalsa-intf/alsa_ucm.c:3886:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/alsa_ucm.c:3904:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/aplay_intermediates/aplay.o] Ошибка 1
hardware/samsung/libalsa-intf/arec.c:55:8: error: type defaults to 'int' in declaration of 'debug' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:56:8: error: type defaults to 'int' in declaration of 'pcm_flag' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c:57:8: error: type defaults to 'int' in declaration of 'duration' [-Werror=implicit-int]
hardware/samsung/libalsa-intf/arec.c: In function 'record_file':
hardware/samsung/libalsa-intf/arec.c:212:5: error: passing argument 2 of 'pcm_open' discards 'const' qualifier from pointer target type [-Werror]
In file included from hardware/samsung/libalsa-intf/arec.c:37:0:
hardware/samsung/libalsa-intf/alsa_audio.h:132:13: note: expected 'char *' but argument is of type 'const char *'
hardware/samsung/libalsa-intf/arec.c:351:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:355:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:381:52: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:405:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:423:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
hardware/samsung/libalsa-intf/arec.c:435:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_ucm.o] Ошибка 1
cc1: all warnings being treated as errors
make: *** [/home/ggrnd0/.ubuntu-touch/i9505/src/phablet-dev-bootstrap/001/out/target/product/jfltexx/obj/EXECUTABLES/arec_intermediates/arec.o] Ошибка 1
Downloading ubuntu-touch-generic-initrd version 0.56
8395 блок
make: *** wait: Нет дочерних процессов. Останов.

what is error reason? and how to solve this??

My .repo/local_manifests/roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_qcom_audio-caf" path="hardware/samsung" remote="github" revision="cm-10.1" />
</manifest>