[FFmpeg-devel] the build system breaks the make of "examples"

Diego Biurrun diego
Tue Mar 31 15:46:21 CEST 2009


On Tue, Mar 31, 2009 at 03:37:36PM +0800, avcoder wrote:
> 
> On Tue, Mar 31, 2009 at 11:42 AM, avcoder <ffmpeg at gmail.com> wrote:
> >
> > It seems that "lib.a" is unexpected.
> >
> > Diego, Could you take a look on this issue?
> > --------------------------------------------------------
> > $ make examples
> >
> > gcc -DHAVE_AV_CONFIG_H -I. -I"/f/omnicoder/ffmpeg" -D_ISOC99_SOURCE
> > -D_POSIX_C_SOURCE=200112 -I/usr/local/include -I/usr/local/include/SDL
> > -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall
> > -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
> > -O3 -fno-math-errno -fno-signed-zeros ? ? ? ?-c -o
> > libavformat/output-example.o libavformat/output-example.c
> > gcc -L"/f/omnicoder/ffmpeg"/libavdevice
> > -L"/f/omnicoder/ffmpeg"/libavformat -L"/f/omnicoder/ffmpeg"/libavcodec
> > -L"/f/omnicoder/ffmpeg"/libavutil -L"/f/omnicoder/ffmpeg"/libswscale
> > -L/usr/local/lib -Wl,--warn-common -Wl,--as-needed
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libpostproc
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libswscale
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libavfilter
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libavdevice
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libavformat
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libavcodec
> > -Wl,-rpath-link,"/f/omnicoder/ffmpeg"/libavutil -Wl,-Bsymbolic -o
> > libavformat/output-example.exe libavformat/output-example.o
> > libavdevice/libavdevice.a libavformat/libavformat.a
> > libavcodec/libavcodec.a libavutil/libavutil.a libswscale/libswscale.a
> > lib.a -lavdevice -lavformat -lavcodec -lavutil -lswscale -lz -lbz2 -lm
> > ?-lws2_32
> >
> > gcc.exe: lib.a: No such file or directory
> > make: *** [libavformat/output-example.exe] Error 1
> 
> Note: FFmpeg is configured by following:
> 
> ./configure --prefix=e:/ffmpeg_build/r18254 --enable-memalign-hack
> --enable-static --disable-shared --disable-devices --disable-encoders
> --disable-decoders --enable-decoder=aac --enable-decoder=h264
> --enable-decoder=mp3 --enable-decoder=msmpeg4v3 --enable-decoder=wmv3
> --enable-decoder=vc1 --enable-decoder=wmav1 --enable-decoder=wmav2
> --disable-parsers --enable-parser=aac --enable-parser=h264
> --enable-parser=mpegaudio --enable-parser=vc1 --disable-bsfs
> --disable-protocols --enable-protocol=file --disable-muxers
> --disable-demuxers --enable-demuxer=asf --enable-demuxer=mov
> --enable-ffplay --disable-ffmpeg --enable-w32threads
> --disable-avisynth --disable-avfilter --disable-avfilter-lavf
> --extra-cflags="-I/usr/local/include -I/usr/local/include/SDL"
> --extra-ldflags=-L/usr/local/lib

Unreproducible here.

Diego

P.S.: Don't top-post.



More information about the ffmpeg-devel mailing list