[FFmpeg-devel] dependency problems

Diego Biurrun diego
Sun Dec 14 15:26:49 CET 2008


On Sun, Dec 14, 2008 at 03:16:08PM +0100, Michael Niedermayer wrote:
> On Sun, Dec 14, 2008 at 01:35:22PM +0100, Diego Biurrun wrote:
> > 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...
> 
> would it work if the d files contained absolute paths?

Absolute as in /path/to/some/header.h?  Probably yes, but this would
have other issues.

Diego




More information about the ffmpeg-devel mailing list