|
From: Dan K. <da...@ke...> - 2003-10-09 16:58:58
|
John Roberts wrote: > 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). > ... > ../../valgrind-20030725/coregrind/vg_intercept.c:284: sizeof applied to an > incomplete type I bet the problem is vg_intercept.c should include <sys/time.h>, but doesn't always. Try this patch and let us know if it helps. --- valgrind-20030725/coregrind/vg_intercept.c.old Thu Oct 9 09:09:38 2003 +++ valgrind-20030725/coregrind/vg_intercept.c Thu Oct 9 09:10:24 2003 @@ -65,7 +65,7 @@ #include <sys/poll.h> #include <sys/socket.h> #include <sys/uio.h> -#ifdef GLIBC_2_1 +#ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |