|
From: John R. <joh...@cr...> - 2003-10-09 16:13:59
|
Hi, I'm new to Valgrind-land and I downloaded the 20030725 snapshot and tried to build it, but got compile errors. (See end of message.) I'm running Redhat Linux 7.1 (2.4.2-2) and was using the GNUpro 03r1 compiler (a "commerical" version of gcc 3.2 -- since I'm under Redhat 7.1, it uses gnulibc2.2). Any suggestions? thanks, John Roberts joh...@cr... ---------------------------------------------------------- if gcc -DHAVE_CONFIG_H -I. -I../../valgrind-20030725/coregrind -I.. -I../../valgrind-20030725/coregrind/demangle -I../../valgrind-20030725/include -DVG_LIBDIR="\"/export/home/valgrind/lib"\" -Winline -Wall -Wshadow -O -fomit-frame-pointer -mpreferred-stack-boundary=2 -g -mpreferred-stack-boundary=2 -fno-omit-frame-pointer -MT vg_intercept.o -MD -MP -MF ".deps/vg_intercept.Tpo" \ -c -o vg_intercept.o `test -f '../../valgrind-20030725/coregrind/vg_intercept.c' || echo '../../valgrind-20030725/coregrind/'`../../valgrind-20030725/coregrind/vg_interc ept.c; \ then mv ".deps/vg_intercept.Tpo" ".deps/vg_intercept.Po"; \ else rm -f ".deps/vg_intercept.Tpo"; exit 1; \ fi ../../valgrind-20030725/coregrind/vg_intercept.c: In function `vgAllRoadsLeadToRome_poll': ../../valgrind-20030725/coregrind/vg_intercept.c:284: sizeof applied to an incomplete type ../../valgrind-20030725/coregrind/vg_intercept.c: In function `vgAllRoadsLeadToRome_select': ../../valgrind-20030725/coregrind/vg_intercept.c:562: sizeof applied to an incomplete type ../../valgrind-20030725/coregrind/vg_intercept.c:573: dereferencing pointer to incomplete type ../../valgrind-20030725/coregrind/vg_intercept.c:573: dereferencing pointer to incomplete type ../../valgrind-20030725/coregrind/vg_intercept.c:593: dereferencing pointer to incomplete type ../../valgrind-20030725/coregrind/vg_intercept.c:594: dereferencing pointer to incomplete type make[3]: *** [vg_intercept.o] Error 1 make[3]: Leaving directory `/export/home/valgrind-build/coregrind' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/valgrind-build/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/valgrind-build' make: *** [all] Error 2 |