|
From: Nicholas N. <nj...@cs...> - 2005-10-10 20:38:27
|
On Mon, 10 Oct 2005, Vedire Srikanth-FSV003 wrote: > I followed the suggestion and got the latest version from the repository. > > As with 2.4.1-ppc, I had to edit configure script since line number 3863 > "kernel=`uname -r`" comes back with Solaris 2.8 and that doesn't match > either 2.6 or 2.4 . > > Then I tried to make. This is the error I get: > ------------------------ begin of log ----------------------- > ... > m_libcfile.c: In function `vgPlain_pread': > m_libcfile.c:215: parse error before `res' > m_libcfile.c:216: `res' undeclared (first use in this function) > m_libcfile.c:216: (Each undeclared identifier is reported only once > m_libcfile.c:216: for each function it appears in.) > m_libcfile.c:217: warning: control reaches end of non-void function > make[3]: *** [m_libcfile.o] Error 1 > make[3]: Leaving directory `/home/fsv003/NewValgrind/valgrind/coregrind' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/fsv003/NewValgrind/valgrind/coregrind' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/fsv003/NewValgrind/valgrind' > make: *** [all] Error 2 > > ------------------------------- end of log ------------------------- > > I'm using gcc version 2.95.3 release. Anyone have a clue why this is > failing? Valgrind's code has lots of declarations that aren't at the start of a block. GCC 2.95 can't handle these (GCC 3.0 and later can). It's on our todo list to fix this so that Valgrind will compile with GCC 2.95. Nick |