[Galaxy S II Android Development] gianluca.cecchi:
mixer.o error during compile

Hello,

during compilation, after about 4 hours, using Lysergic current repos and mixing with Scott one I get this error related to

audio.primary.exynos4_intermediates/mixer.o

Is there any customization missing you made?

Thanks in advance,

Gianluca

device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c:626:89: warning: unused parameter 'effect' [-Wunused-parameter]
static int audio_in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
^
device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c: In function 'audio_in_remove_audio_effect':
device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c:633:68: warning: unused parameter 'stream' [-Wunused-parameter]
static int audio_in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
^
device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c:633:92: warning: unused parameter 'effect' [-Wunused-parameter]
static int audio_in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
^
device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c: In function 'audio_hw_open_input_stream':
device/samsung/galaxys2-common/tinyalsa_audio/audio_in.c:679:50: warning: unused parameter 'handle' [-Wunused-parameter]
audio_io_handle_t handle,
^
target thumb C: audio.primary.exynos4 <= device/samsung/galaxys2-common/tinyalsa_audio/audio_ril_interface.c
device/samsung/galaxys2-common/tinyalsa_audio/audio_ril_interface.c: In function 'audio_ril_interface_set_mic_mute':
device/samsung/galaxys2-common/tinyalsa_audio/audio_ril_interface.c:74:75: warning: unused parameter 'ril_interface' [-Wunused-parameter]
int audio_ril_interface_set_mic_mute(struct tinyalsa_audio_ril_interface *ril_interface, bool state)
^
device/samsung/galaxys2-common/tinyalsa_audio/audio_ril_interface.c:74:95: warning: unused parameter 'state' [-Wunused-parameter]
int audio_ril_interface_set_mic_mute(struct tinyalsa_audio_ril_interface *ril_interface, bool state)
^
target thumb C: audio.primary.exynos4 <= device/samsung/galaxys2-common/tinyalsa_audio/mixer.c
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_config_start':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:279:44: error: 'AUDIO_CHANNEL_OUT_SURROUND' undeclared (first use in this function)
config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_SURROUND;
^
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:279:44: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_set_route_ctrl':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:731:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0 ; i < mixer_ctl_get_num_values(ctl) ; i++) {
^
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_set_route_write':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:745:59: warning: unused parameter 'mixer' [-Wunused-parameter]
int tinyalsa_mixer_set_route_write(struct tinyalsa_mixer *mixer,
^
make: *** [/home/gianluca/cm12_custom/out/target/product/i9100/obj/SHARED_LIBRARIES/audio.primary.exynos4_intermediates/mixer.o] Error 1