[Ffmpeg-devel] Undefined reference to mpegts_parse_open/close/packet
Diego Biurrun
diego
Mon Oct 2 19:17:15 CEST 2006
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
More information about the ffmpeg-devel
mailing list