|
From: Nicholas N. <nj...@ca...> - 2004-08-09 14:13:47
|
On Fri, 30 Jul 2004, Daniel Blueman wrote: > I have been experiencing problems building valgrind 2.1.2 with RedHat Linux > 7.3 IA32 - valgrind 2.0.0 works fine. > > The system is a stock install with updated kernel (2.4.20-28.7) and > kernel-source, with glibc-2.2.5-34 and glibc-kernheaders-2.4-7.14. The > /usr/include/linux/timex.h header file is including the arch-specific msr.h > file. > --- [partial logs] > > 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 /usr/include/linux/timex.h:152, > from vg_unsafe.h:65, > from vg_syscalls.c:35: > /usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory > make[4]: *** [vg_syscalls.o] Error 1 > make[4]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/valgrind-2.1.2/coregrind' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/valgrind-2.1.2' > make: *** [all] Error 2 Looks like a kernel header bug, it might be fixed in a more recent kernel. This one looks familiar, but I can't really remember; you might be able to find details by searching the bugs database (see valgrind.kde.org/bugs.html). N |