[FFmpeg-user] expected expression before ‘AlsaData’ during ffmpeg compile
Carl Vondrick
vondrick at MIT.EDU
Mon Jan 30 00:08:59 CET 2012
Hello,
I'm trying to compile the latest ffmpeg on a cluster. However, I
receive the error:
quickstep:~/sources/ffmpeg master$ ./configure --prefix=$HOME/install
--enable-shared
...
quickstep:~/sources/ffmpeg master$ make
CC libavdevice/alldevices.o
CC libavdevice/alsa-audio-common.o
CC libavdevice/alsa-audio-dec.o
libavdevice/alsa-audio-dec.c:135: warning: implicit declaration of
function ‘offsetof’
libavdevice/alsa-audio-dec.c:135: error: expected expression before
‘AlsaData’
libavdevice/alsa-audio-dec.c:135: error: initializer element is not
constant
libavdevice/alsa-audio-dec.c:135: error: (near initialization for
‘options[0].offset’)
libavdevice/alsa-audio-dec.c:135: error: ‘AV_OPT_TYPE_INT’ undeclared
here (not in a function)
libavdevice/alsa-audio-dec.c:136: error: expected expression before
‘AlsaData’
libavdevice/alsa-audio-dec.c:136: error: initializer element is not
constant
libavdevice/alsa-audio-dec.c:136: error: (near initialization for
‘options[1].offset’)
libavdevice/alsa-audio-dec.c:149: warning: implicit declaration of
function ‘NULL_IF_CONFIG_SMALL’
libavdevice/alsa-audio-dec.c:149: error: initializer element is not
constant
libavdevice/alsa-audio-dec.c:149: error: (near initialization for
‘ff_alsa_demuxer.long_name’)
make: *** [libavdevice/alsa-audio-dec.o] Error 1
I am running the latest copy of ffmpeg:
quickstep:~/sources/ffmpeg master$ git rev-parse HEAD
90bf7c7b41c9e78663ef3da00480f70854072932
on
quickstep:~/sources/ffmpeg master$ uname -a
Linux quickstep 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010
x86_64 GNU/Linux
Any ideas on how to get ffmpeg to compile? Google has not provided
much help here.
Thanks,
Carl
More information about the ffmpeg-user
mailing list