|
From: walker <wa...@ys...> - 2005-02-16 11:38:42
|
I am using valgrind 2.2.0
and Linux:
Linux version 2.4.22-1.2174.nptl (root@nvf10bld) (gcc version 3.2.3
20030422 (Red Hat Linux 3.2.3-6))
and
GNU Make version 3.79.1
the valgrind build bombs out with 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
`/y/people/walker/downloads/valgrind-2.2.0/coregrind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/y/people/walker/downloads/valgrind-2.2.0/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/y/people/walker/downloads/valgrind-2.2.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/y/people/walker/downloads/valgrind-2.2.0'
make: *** [all] Error 2
Can anyone help?
Regards
Chris Walker
|
|
From: Dennis L. <pla...@tz...> - 2005-02-16 12:17:42
|
Am Mittwoch, den 16.02.2005, 12:41 +0000 schrieb walker: > I am using valgrind 2.2.0 > > and Linux: > Linux version 2.4.22-1.2174.nptl (root@nvf10bld) (gcc version 3.2.3 > 20030422 (Red Hat Linux 3.2.3-6)) > > and > GNU Make version 3.79.1 > > the valgrind build bombs out with 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: Is it the broken RedCrap headers again ? check line 56 in /usr/include/linux/timex.h and look for errors there, I think in the past it was some not finished comment, or missing /* at the beginning or so... if not, post the error part of timex.h but its a problem there, not in valgrind it seems... greets Dennis |
|
From: Nicholas N. <nj...@cs...> - 2005-02-16 15:28:07
|
On Wed, 16 Feb 2005, Dennis Lubert wrote: >> 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: > > Is it the broken RedCrap headers again ? check line 56 > in /usr/include/linux/timex.h and look for errors there, I think in the > past it was some not finished comment, or missing /* at the beginning or > so... if not, post the error part of timex.h but its a problem there, > not in valgrind it seems... Or you can check out the CVS HEAD where the problem is fixed. N |