[FFmpeg-devel] dependency problems

Diego Biurrun diego
Sun Dec 14 13:35:22 CET 2008


On Sun, Dec 14, 2008 at 01:07:43PM +0100, Luca wrote:
> On Sun, 2008-12-14 at 03:58 +0100, Diego Biurrun wrote:
> > On Sun, Dec 14, 2008 at 12:52:16AM +0100, Luca wrote:
> > > 
> > > I just ran in this problem:
> > > luca at luca:~/Src/Video/ffmpeg$ cd libavformat/
> > > luca at luca:~/Src/Video/ffmpeg/libavformat$ touch rtp.h
> > > luca at luca:~/Src/Video/ffmpeg/libavformat$ make
> > > make: Nothing to be done for `all'.
> > > 
> > > As you can see, files including rtp.h (for example, rtp.c) are not
> > > rebuilt. If I run "make" in the ffmpeg directory (and not inside
> > > libavformat) everything is rebuilt correctly:
> > 
> > That's because the .d files contain the full relative path to the header
> > files, i.e. something like
> > 
> > libavformat/rtp.o: libavformat/rtp.h
> 
> So, I guess my question is: is this correct?
> AFAIK, no file includes "libavformat/rtp.h", so I would not expect to
> find this dependency in .d files (I would expect either rtp.h or the
> full absolute path to it).

Well, if you find a solution for it, great, but it's not really high on
my priority list...

> Or is building from libav* subdirectories unsupported?

Is this really such a problem?  You can always just run

make libavformat/libavformat.a

or similar to skip building all libs and binaries...

Diego




More information about the ffmpeg-devel mailing list