|
From: Pankaj R. <pan...@ya...> - 2004-08-03 11:21:06
|
--- Nicholas Nethercote <nj...@ca...> wrote:
> On Tue, 3 Aug 2004, pkr wrote:
>
> > Unfortunately I cant do this as I dont have gcc
> 3.4 to compile
> > the latest one.
>
> Why do you need gcc 3.4? I use gcc 3.2.2 without
> any problems, and
> earlier ones should work too, AFAIK.
>
<from valgrind homepage START>
Relative to 2.1.1, a large number of minor problems
have been fixed, and so if you use 2.1.1 you should
try 2.1.2. Users of the last stable release, 2.0.0,
might also want to try this release. For one thing,
2.1.2 compiles with gcc-3.4.X, whereas 2.0.0 doesn't.
<from valgrind homepage END>
I did see a compile issue with gcc 3.3.2. (attached
below). I can tell u for sure that /usr/include/ files
were never touched.
Thanks
Pankaj
==============================================
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:
/usr/include/asm/timex.h:33: error: syntax error
before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error
before "get_cycles"
gmake[4]: *** [vg_syscalls.o] Error 1
gmake[4]: Leaving directory
`/disk1/pankajkr/valgrind-2.1.2/coregrind'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/disk1/pankajkr/valgrind-2.1.2/coregrind'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/disk1/pankajkr/valgrind-2.1.2/coregrind'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/disk1/pankajkr/valgrind-2.1.2'
gmake: *** [all] Error 2
[root@andlx-pankajkr valgrind-2.1.2]# gcc --version
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.
2
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
|