|
From: Rich C. <rc...@wi...> - 2011-09-17 21:03:59
|
Hi Maynard, This is an error in memcheck/tests/x86-linux/scalar.h Change memcheck/tests/x86-linux/scalar.h --- memcheck/tests/x86-linux/scalar.h (revision 12034) +++ memcheck/tests/x86-linux/scalar.h (working copy) @@ -9,7 +9,7 @@ #include <sys/stat.h> #include <sys/ptrace.h> #include <sys/types.h> -#include <linux/mman.h> +#include <sys/mman.h> I've opened bug 282238 to track and fix the issue. Rich On Thu, 15 Sep 2011 17:53:40 -0500 Maynard Johnson <may...@us...> wrote: > Hi, > I don't often build and run valgrind on x86 platforms, but today I checked out > the latest valgrind code on an Intel Xeon processor running SLES 10 SP2. The > valgrind code itself builds fine, but 'make check' fails in > memcheck/tests/x86-linux with the following error: > > make[1]: Entering directory `/home/mpj/vg-09.12.2011/memcheck/tests/x86-linux' > make[1]: `bug133694' is up to date. > make[1]: `int3-x86' is up to date. > if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include > -I../../../coregrind -I../../../include -I../../../VEX/pub -DVGA_amd64=1 > -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -Winline -Wall > -Wshadow -g -m32 -mmmx -msse -Wno-long-long -Wno-pointer-sign > -fno-stack-protector -MT scalar.o -MD -MP -MF ".deps/scalar.Tpo" -c -o scalar.o > scalar.c; \ > then mv -f ".deps/scalar.Tpo" ".deps/scalar.Po"; else rm -f ".deps/scalar.Tpo"; > exit 1; fi > In file included from /usr/include/linux/timex.h:58, > from /usr/include/linux/sched.h:11, > from /usr/include/linux/mm.h:4, > from /usr/include/linux/mman.h:5, > from scalar.h:12, > from scalar.c:4: > /usr/include/linux/time.h:12: error: redefinition of ?struct timespec? > /usr/include/linux/time.h:18: error: redefinition of ?struct timeval? > In file included from /usr/include/asm/timex.h:6, > from /usr/include/linux/timex.h:61, > blah, blah, blah -- ad nauseum > > > Is this a known problem? I don't have any build problems on other platforms > (ppc64, amd64). I don't have another x86 system available with a newer distro > to see if I would have the same problem. Anyone else out there seeing this? > > -Maynard > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers -- Rich Coe rc...@wi... |