[Ffmpeg-devel] Undefined reference to mpegts_parse_open/close/packet

Unga unga888
Tue Oct 3 16:36:10 CEST 2006


--- Diego Biurrun <diego at biurrun.de> wrote:

> On Fri, Sep 29, 2006 at 09:48:26PM -0700, Unga
> wrote:
> > 
> > I tried to compile the latest SVN version of
> ffmpeg on
> > Linux but it develop following compilation error:
> > 
> > gcc -L./libavformat -L./libavcodec -L./libavutil
> > -Wl,--warn-common   -pthread -rdynamic
> -export-dynamic -Wl,--as-needed
> > -Wl,-rpath-link,/usr/src/ffmpeg/ffmpeg/libavcodec
> > -Wl,-rpath-link,/usr/src/ffmpeg/ffmpeg/libavformat
> > -Wl,-rpath-link,/usr/src/ffmpeg/ffmpeg/libavutil
> -g
> > -L./libswscale -o ffmpeg_g ffmpeg.o cmdutils.o
> > -lavformat -lavcodec -lavutil -lm -lz -lvorbis
> > -lvorbisenc -logg -logg -ldc1394_control -lraw1394
> -ldl -lswscale
> > ./libavformat/libavformat.so: undefined reference
> to `mpegts_parse_open'
> > ./libavcodec/libavcodec.so: undefined reference to
> `ff_snow_inner_add_yblock'
> > ./libavformat/libavformat.so: undefined reference
> to `mpegts_parse_close'
> > ./libavformat/libavformat.so: undefined reference
> to `mpegts_parse_packet'
> > collect2: ld returned 1 exit status
> > make: *** [ffmpeg_g] Error 1
> > 
> > The configuration line used was:
> > ./configure --disable-encoders --disable-decoders
> --disable-muxers \
> > --disable-demuxers --disable-parsers \
> > --prefix=/usr --enable-pthreads --enable-libogg \
> > --enable-vorbis --disable-debug --enable-dc1394
> --enable-swscaler \
> > --enable-pp --enable-gpl --disable-altivec
> --enable-shared \
> > --enable-encoder=oggvorbis
> --enable-decoder=oggvorbis --enable-muxer=oggvorbis
> \
> > --enable-demuxer=oggvorbis
> --enable-parser=oggvorbis
> 
> Compilation failure fixed, rtp.o needs mpegts.o.
> 

Diego, thank you very much for fixing the compilation
error. Now it doesn't give a compilation error for the
configuration line mentioned in this thread but I
still did not try for all encoders, decoders, etc.
that I want. I also want to thank others who commented
for this thread.

Best Regards
Unga
 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the ffmpeg-devel mailing list