|
From: Cao, L. \(STP\) <Lih...@gu...> - 2005-08-09 22:41:42
|
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=3D1 -DVGO_linux=3D1 = -DVGP_x86_linux=3D1 -mpreferred-stack-boundary=3D2 = -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 |