Ethereal-dev: Re: [Ethereal-dev] cvsversion.h isn't generated in MSVC Makefile. nmake

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Mon, 19 Jan 2004 21:26:10 +0100
Guy Harris wrote:


On Jan 19, 2004, at 9:57 AM, Joerg Mayer wrote:

On Mon, Jan 19, 2004 at 10:17:00AM +0100, Anders Broman (TN/EAB) wrote:

Building from todays tarball ( 2004-01-19) there i still problems :) perhaps because cvsversion.h now required by main.c in /wiretap directory, I suspect the script gets called
to late. I did the following change to make it work :


Sorry, I don't understand what you are talking about:
I didn't know we *have* a main.c in the wiretap directory.


I suspect he meant "gtk directory"; there isn't a main.c in the wiretap directory, and nothing in that directory uses cvsversion.h, but gtk/main.c does use "cvsversion.h".

The "proper" workaround ist to just issue a make cvsversion.h in the
toplevel directory.


Wasn't Olivier Biot suggesting that this be done on every make?

    http://www.ethereal.com/lists/ethereal-dev/200401/msg00414.html

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Hmmm, I've added a dependency cvsversion.h to the ethereal.exe target and the other exe's where it's needed (two days ago). So if gtk/main.c gets generated, the cvsversion.h should already be there.

On my machine, it's generating quite well, even if I made a distclean, which is removing the cvsversion.h again.

But maybe I missed a dependency, and the file must be generated even earlier.

Regards, ULFL