jueves, 8 de noviembre de 2012

FFmpeg libavdevice compilation fail on make

Tratando de Compilar ffmpeg marca el siguiente error, he seguido los pasos descritos en la pagina oficial pero el problema persiste.


Output:

bash-4.1# pwd
/root/Downloads/ffmpeg/ffmpeg
bash-4.1# gmake
CC    libavdevice/alldevices.o
In file included from libavdevice/alldevices.c:21:0:
./config.h:159:2: error: invalid preprocessing directive #defin
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:76:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/intmath.h:26:0,
                 from ./libavutil/common.h:77,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:77:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/intmath.h:42:5: warning: "HAVE_FAST_CLZ" is not defined
./libavutil/intmath.h:101:5: warning: "HAVE_FAST_CLZ" is not defined
In file included from ./libavutil/internal.h:37:0,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/timer.h:33:0,
                 from ./libavutil/internal.h:39,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/timer.h:42:0,
                 from ./libavutil/internal.h:39,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/x86/timer.h:37:7: warning: "HAVE_RDTSC" is not defined
In file included from ./libavutil/libm.h:28:0,
                 from ./libavutil/internal.h:113,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:376:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/internal.h:120:5: warning: "CONFIG_SMALL" is not defined
./libavutil/internal.h:143:5: warning: "HAVE_SYMVER_ASM_LABEL" is not defined
./libavutil/internal.h:147:7: warning: "HAVE_SYMVER_GNU_ASM" is not defined
./libavutil/internal.h:159:5: warning: "HAVE_THREADS" is not defined
./libavutil/internal.h:176:19: warning: "HAVE_MM_EMPTY" is not defined
libavdevice/alldevices.c: In function 'avdevice_register_all':
libavdevice/alldevices.c:41:1: error: 'CONFIG_ALSA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:41:1: note: each undeclared identifier is reported only once for each function it appears in
libavdevice/alldevices.c:41:1: error: 'CONFIG_ALSA_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:42:1: error: 'CONFIG_BKTR_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:43:1: error: 'CONFIG_CACA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:44:1: error: 'CONFIG_DSHOW_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:45:1: error: 'CONFIG_DV1394_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:46:1: error: 'CONFIG_FBDEV_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:47:1: error: 'CONFIG_IEC61883_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:48:1: error: 'CONFIG_JACK_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:49:1: error: 'CONFIG_LAVFI_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:50:1: error: 'CONFIG_OPENAL_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51:1: error: 'CONFIG_OSS_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51:1: error: 'CONFIG_OSS_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:52:1: error: 'CONFIG_PULSE_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:53:1: error: 'CONFIG_SDL_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54:1: error: 'CONFIG_SNDIO_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54:1: error: 'CONFIG_SNDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:55:1: error: 'CONFIG_V4L2_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:57:1: error: 'CONFIG_VFWCAP_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:58:1: error: 'CONFIG_X11GRAB_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:61:1: error: 'CONFIG_LIBCDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:62:1: error: 'CONFIG_LIBDC1394_INDEV' undeclared (first use in this function)
gmake: *** [libavdevice/alldevices.o] Error 1
Sugerencias??

--
Saludos
Publicar un comentario

Buscar en el Blog

Populares siempre