[FFmpeg-devel] dependency problems

Luca lucabe72
Sun Dec 14 17:43:54 CET 2008


On Sun, 2008-12-14 at 15:25 +0100, Diego Biurrun wrote:
[...]
> > I am not saying that this is a problem, but I did not know that building
> > from a subdir is unsupported, and I think this is not documented.
> > 
> > I apologise if I am missing some documentation, but I think that this
> > silent failure without any notice is is the problem: I was going to
> > commit a broken patch because of this (I entered libavformat, I modified
> > rtp.h and some .c files, I did "make" and I saw no failure, and I was
> > going to do "svn commit"... But I forgot to modify a .c file, and my
> > patch was broken. Fortunately, for some reason I ran "make" from the
> > main directory and I noticed the problem). 
> 
> To be honest, you should not just run make in the subdirectory.

That's ok; now that I know this problem with dependency generation, I'll
try to remember to avoid running make in subdirectories.


> It's a trained reflex people got from recursive make implementations IMO.  You
> should run make from the root, some linking problems will only show up
> when you link together binaries ...

I just changed the name of a data type defined in a private header, that
is not used outside libavformat. This should not result in a linking
problem...


			Luca





More information about the ffmpeg-devel mailing list