|
From: Olly B. <ol...@su...> - 2003-06-19 09:48:55
|
On Thu, Jun 19, 2003 at 09:03:51AM +0100, Nicholas Nethercote wrote:
> On Wed, 18 Jun 2003, Michael Labhard wrote:
>
> > So downloaded from CVS but it would not build.
> > vg_constants.h:35:31: vg_constants_skin.h: No such file or directory
>
> That's strange... do you have a file named include/vg_constants_skin.h?
> Maybe your checkout from SourceForge was somehow incomplete? I can't
> think of any other reason why this might happen.
I ran into this recently. The problem is that valgrind needs automake
1.6 or newer - AM_CCASFLAGS is ignored by automake 1.4 and 1.5, and so
the vg_dispatch.S is built without the -I switches in add_includes:
gcc -mpreferred-stack-boundary=2 -c `test -f vg_dispatch.S || echo './'`vg_dispatch.S
The easiest fix is to insist on a newer automake - add this line to
coregrind/Makefile.am (putting it first is conventional):
AUTOMAKE_OPTIONS = 1.6
Cheers,
Olly
|