|
From: Duane R. <du...@uc...> - 2005-01-01 21:32:53
|
Hi:
I'm trying to make valgrind 2.2.0, using Fedora Core release 1 (Yarrow)
, kernel 2.4.22-1.2199.nptl.
I keep getting the following message:
In file included from vg_unsafe.h:65,
from vg_syscalls.c:35:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
from vg_unsafe.h:65,
from vg_syscalls.c:35:
/usr/include/asm/timex.h:33: error: syntax error before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error before "get_cycles"
make[4]: *** [vg_syscalls.o] Error 1
make[4]: Leaving directory `/home/duaner/misc/valgrind-2.2.0/coregrind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/duaner/misc/valgrind-2.2.0/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/duaner/misc/valgrind-2.2.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/duaner/misc/valgrind-2.2.0'
make: *** [all] Error 2
I know that Fedora Core 1 is not, strictly speaking, supported, but is there
a way around this error?
Thank you for your consideration,
duane rosenberg
|
|
From: Robert W. <rj...@du...> - 2005-01-17 18:45:21
|
> In file included from vg_unsafe.h:65, > from vg_syscalls.c:35: > /usr/include/linux/timex.h:56: error: syntax error before "and" This is a bug in FC1. timex.h has a typo - it's missing a /* to start a comment on line 56. Just modify timex.h to add that in and all should be well. Regards, Robert. |