|
From: Julian S. <js...@ac...> - 2005-08-09 22:53:21
|
You can build and use 3.0.0 on RH7.3 (I tested it myself, and so did Tom) but you can't use the default gcc-2.96 compiler to build it with. I have been using gcc-3.0.4 on RH7.3 and that appears to build Valgrind with no problems. J On Tuesday 09 August 2005 23:41, Cao, Lihong (STP) wrote: > I downloaded the source code for 3.0 and tried to build on my Redhat 7.3 > box. > > I got the following errors during "make" > > make all-recursive > make[1]: Entering directory `/root/valgrind-3.0.0' > Making all in include > make[2]: Entering directory `/root/valgrind-3.0.0/include' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/valgrind-3.0.0/include' > Making all in coregrind > make[2]: Entering directory `/root/valgrind-3.0.0/coregrind' > make all-recursive > make[3]: Entering directory `/root/valgrind-3.0.0/coregrind' > Making all in m_aspacemgr > make[4]: Entering directory `/root/valgrind-3.0.0/coregrind/m_aspacemgr' > if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../.. > -I../../coregrind/x86 -I../../coregrind/linux -I../../coregrind/x86-linux > -I../../include -I/root/valgrind-3.0.0/VEX/pub -DVGA_x86=1 -DVGO_linux=1 > -DVGP_x86_linux=1 -mpreferred-stack-boundary=2 -Wmissing-prototypes > -Winline -Wall -Wshadow -O -g -Wno-long-long -MT aspacemgr.o -MD -MP -MF > ".deps/aspacemgr.Tpo" -c -o aspacemgr.o aspacemgr.c; \ then mv -f > ".deps/aspacemgr.Tpo" ".deps/aspacemgr.Po"; else rm -f > ".deps/aspacemgr.Tpo"; exit 1; fi aspacemgr.c: In function > `vgPlain_setup_pointercheck': > aspacemgr.c:1284: parse error before `ldt' > aspacemgr.c:1296: `ret' undeclared (first use in this function) > aspacemgr.c:1296: (Each undeclared identifier is reported only once > aspacemgr.c:1296: for each function it appears in.) > make[4]: *** [aspacemgr.o] Error 1 > make[4]: Leaving directory `/root/valgrind-3.0.0/coregrind/m_aspacemgr' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/valgrind-3.0.0/coregrind' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/valgrind-3.0.0/coregrind' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/valgrind-3.0.0' > make: *** [all] Error 2 > > Can anyone help? Thanks a lot, > > Lihong Cao > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |