Thread: [Alsa-user] problem when compiling alsa-plugin
Brought to you by:
perex
From: Francesco P. <fra...@ho...> - 2012-11-03 10:45:14
|
Hi everyone, i'm trying to compile alsa-plugin 1.0.25 but during the compiling i recive this error gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I/usr/include/alsa -I/usr/local/include "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -O2 -march=i486 -mtune=i686 -MT pcm_a52.lo -MD -MP -MF .deps/pcm_a52.Tpo -c pcm_a52.c -fPIC -DPIC -o .libs/pcm_a52.o pcm_a52.c: In function 'convert_data': pcm_a52.c:55:2: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4217) [-Wdeprecated-declarations] pcm_a52.c: In function 'a52_prepare': pcm_a52.c:432:2: warning: 'avcodec_alloc_context' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3431) [-Wdeprecated-declarations] pcm_a52.c:447:32: error: 'CH_LAYOUT_STEREO' undeclared (first use in this function) pcm_a52.c:447:32: note: each undeclared identifier is reported only once for each function it appears in pcm_a52.c:450:32: error: 'CH_LAYOUT_QUAD' undeclared (first use in this function) pcm_a52.c:453:32: error: 'CH_LAYOUT_5POINT1' undeclared (first use in this function) pcm_a52.c:460:2: warning: 'avcodec_open' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3577) [-Wdeprecated-declarations] pcm_a52.c: In function '_snd_pcm_a52_open': pcm_a52.c:705:2: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration] make[2]: *** [pcm_a52.lo] Error 1 make[2]: Leaving directory `/tmp/SBo/alsa-plugins-1.0.25/a52' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/SBo/alsa-plugins-1.0.25' make: *** [all] Error 2 anyone's can help me? Francesco Petronella p.s. yes, i've installed ffmpeg (version 1.0) |