[Ffmpeg-devel] Problem building from snapshots

Sibnath GHOSH sibnath.ghosh
Thu Apr 19 16:17:34 CEST 2007


version.h was not present in the latest release. I downloaded it, but did
not find version.h. Its generated when you build it. In the latest release
its giving #define FFMPEG_VERSION "SVN-rUNKNOWN".


-----Original Message-----
From: ffmpeg-devel-bounces at mplayerhq.hu
[mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of Michel Bardiaux
Sent: Thursday, April 19, 2007 4:11 PM
To: FFmpeg development discussions and patches
Subject: Re: [Ffmpeg-devel] Problem building from snapshots

Diego Biurrun wrote:
> On Thu, Apr 19, 2007 at 03:34:42PM +0200, Michel Bardiaux wrote:
>> If you download the 'bare sources' snapshot and do a 'make 
>> distclean', version.h is removed, and configure makes it UNKNOWN.
> Dunno what you refer to by "it", but configure does nothing to 
> version.h.
>> When the svn metadata are not present, version.sh should not be removed. 
>> by make distclean.
> version.sh is not removed by make distclean, version.h is.
> The information I gather from this confused report does not lead me to 
> a reproducible problem.  It's all working fine and dandy here...

Yes, definitely not one of my best shows! Once more with feeling:

* download the 'bare sources' snapshot
* make distclean
=> version.h is removed
* configure
* make
=> new version.h with -rUNKNOWN

Hence version.h should not be removed when it is known that version.sh
(invoked by the top Makefile) would result in a new version.h with

This does not impact my builds, but it has the unfortunate result that a
user of the 'bare sources' snapshot, following all the recommended
procedures including the distclean, ends up with an ffmpeg that reports
-rUNKNOWN, which complicates support.

Hoping this is better.

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu

More information about the ffmpeg-devel mailing list