[vlc] Re: Problems to upgrade from 0.7.2

Benjamin Pracht bigben+spam at videolan.org
Thu Apr 21 16:25:29 CEST 2005


On Thu, Apr 21, 2005, Josef Wolf wrote :
> Well, "./configure --help" says dvbpsi support is enabled by default.  I
> just checked configure's output:
> 
>   checking for dvbpsi/dr.h... no
>   configure: WARNING: cannot find libdvbpsi headers
> 
> I can't locate dvbpsi directory nor a dr.h file on the whole computer.
> Should they be part of the distribution?  vlc-0.7.2 gives the same warning,
> but works pretty good with TS streams.

VLC 0.7.0 included 2 ts demux. The standard one, that already depended
on libdvbpsi, and a legacy much less featured one that could be compiled
without this lib. 

Since a major API change occured between 0.7.x and 0.8.0, all the
demuxes had to be partly rewritten. The legacy ts demux (that was BTW
unable to read lots of ts streams) was dropped at that time.

> 
> Anyway, I checked out and installed newest libdvbpsi from svn.  Works now
> with vlc-0.8.1.  With svn HEAD, I get a different error:
> 
> 
> Making all in ffmpeg
> make[5]: Entering directory `/m/spool/tmp/build-local/vlc-trunk/modules/codec/ffmpeg'
> make[6]: Entering directory `/m/spool/tmp/build-local/vlc-trunk/modules/codec/ffmpeg'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags builtin ffmpeg` -Wsign-compare -Wall  -pipe -MT libffmpeg_a-ffmpeg.o -MD -MP -MF ".deps/libffmpeg_a-ffmpeg.Tpo" \
>   -c -o libffmpeg_a-ffmpeg.o `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \
> then mv -f ".deps/libffmpeg_a-ffmpeg.Tpo" ".deps/libffmpeg_a-ffmpeg.Po"; \
> else rm -f ".deps/libffmpeg_a-ffmpeg.Tpo"; exit 1; \
> fi
> ffmpeg.c:794: error: `CODEC_ID_INDEO2' undeclared here (not in a function)
> ffmpeg.c:794: error: initializer element is not constant
> ffmpeg.c:794: error: (near initialization for `codecs_table[125].i_codec')
> ffmpeg.c:795: error: initializer element is not constant
> ffmpeg.c:795: error: (near initialization for `codecs_table[125]')
> ffmpeg.c:796: error: `CODEC_ID_INDEO2' undeclared here (not in a function)
> ffmpeg.c:796: error: initializer element is not constant
> ffmpeg.c:796: error: (near initialization for `codecs_table[126].i_codec')
> ffmpeg.c:797: error: initializer element is not constant
> ffmpeg.c:797: error: (near initialization for `codecs_table[126]')
> ffmpeg.c:806: error: initializer element is not constant
> ffmpeg.c:806: error: (near initialization for `codecs_table[127]')
> [ ... ]
> 

That's a bug in some version check of ffmpeg, that was included a few
days ago when support for some new ffmpeg codecs was added. A quick fix
is to upgrade ffmpeg to the current cvs.

-- 
BigBen

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list