|
From: Tom H. <th...@cy...> - 2004-08-03 11:58:48
|
In message <200...@we...>
Pankaj Rathore <pan...@ya...> wrote:
> gmake[4]: Entering directory
> `/disk1/pankajkr/valgrind-2.1.2/coregrind'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle
> -I../include -I../include -I./x86
> -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline
> -Wall -Wshadow -O -fno-omit-frame-pointer
> -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT
> vg_syscalls.o -MD -MP -MF ".deps/vg_syscalls.Tpo" -c
> -o vg_syscalls.o vg_syscalls.c; \
> then mv -f ".deps/vg_syscalls.Tpo"
> ".deps/vg_syscalls.Po"; else rm -f
> ".deps/vg_syscalls.Tpo"; exit 1; fi
> 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:
It's a bug in the kernel headers which has been discussed here
several times before. If you edit /usr/include/linux/timex.h you
will see that there is a "/*" missing from that start of a comment
near the top of the file. Fix that and valgrind will compile.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|