[FFmpeg-devel] out-of-source build issues.

Måns Rullgård mans
Wed Mar 5 22:31:31 CET 2008

Gonzalo Garramu?o <ggarra at advancedsl.com.ar> writes:

> $ make
> gcc -fPIC -I/usr/local/include -fomit-frame-pointer -pthread -g
> ....
> (snipped for sanity )
> /home/gga/code/PD/libraries/ffmpeg-trunk/libavutil/adler32.o: file not
> recognized: File format not recognized
> collect2: ld returned 1 exit status
> make[1]: *** [libavutil.so.49] Error 1
> make[1]: Leaving directory
> `/home/gga/code/PD/libraries/ffmpeg-trunk/build-x86_x64/libavutil'
> make: *** [lib] Error 2
> make: *** Waiting for unfinished jobs....
> As you can see, even thou I am building out of source, the make system
> picks .o files from the in-source build (which, in this case as I mixed 
> platforms, breaks).
> With autotools, cmake, etc. traditionally an out-of-source build picks 
> *only* .h and .c files in-source.  All dependencies, obj and aux files 
> are to be looked out of source.  There's never any possibility of overlaps.


See, all you had to do was point at a problem, and it got fixed.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list