Hi I had this problem on old versions of RedHat iirc. The problem is with a mis-built libmpich.a, which is not relocatable. Either you need to disable building for MPI when you configure Valgrind, or use a version of Linux with a relocatable libmpich.a (or .so).
A+ Paul ----- Original Message ----- From: "Tomas Van Oyen" <tomas.vano...@ugent.be> To: valgrind-users@lists.sourceforge.net Sent: Thursday, 25 November, 2010 10:56:45 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [Valgrind-users] installation problems Dear all, my apologies for the 'low-level' question but I seem to be unable to install Valgrind. I get the following error message when I try to build Valgrind by ./configure --prefix=~/valg make The error-message is: ................ libmpiwrap.c:733: warning: cast from pointer to integer of different size libmpiwrap.c: In function ?maybe_complete?: libmpiwrap.c:1360: warning: format ?%p? expects type ?void *?, but argument 5 has type ?MPI_Request? mv -f .deps/libmpiwrap_amd64_linux_so-libmpiwrap.Tpo .deps/libmpiwrap_amd64_linux_so-libmpiwrap.Po mpicc -g -O -fno-omit-frame-pointer -Wall -fpic -m64 -fpic -shared -o libmpiwrap-amd64-linux.so libmpiwrap_amd64_linux_so-libmpiwrap.o /usr/bin/ld: /usr/local/lib/libmpich.a(comm_rank.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libmpich.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libmpiwrap-amd64-linux.so] Error 1 make[2]: Leaving directory `/vm/coherens/valgrind/valgrind-3.6.0/mpi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vm/coherens/valgrind/valgrind-3.6.0' make: *** [all] Error 2 ir15v099:/vm/coherens/valgrind/valgrind-3.6.0 Any help truly appreciated! Tomas !--------------------------------------------------------------- ! Tomas Van Oyen, ! Post Doctoral Researcher, ! Coastal Engineering - Ghent University. ! ! Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM ! Phone: +32 (0)9 264 54 86 ! Fax: +32 (0)9 264 58 37 ! Skype: tomasvanoyen !--------------------------------------------------------------- ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users