|
From: Julian S. <js...@ac...> - 2008-07-30 06:52:27
|
The build system is getting confused by your MPI implementation. Try rerunning configure with --with-mpicc=any_bogus_name_will_do and see if that helps. J On Wednesday 30 July 2008 08:36, Vrijendra Gokhale wrote: > Hi Folks, > > I get following error on a make: > > --snip-- > mpicc -g -O -fno-omit-frame-pointer -Wall -fpic -shared -m64 \ > -I../include \ > -o libmpiwrap-AMD64_LINUX.so libmpiwrap.c > /usr/bin/ld: /usr/lib64/libmpi.a(laminit.o): relocation R_X86_64_32S against > `lam_mpi_comm_world' can not be used when making a shared object; recompile > with -fPIC > /usr/lib64/libmpi.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > mpicc: No such file or directory > make[2]: *** [libmpiwrap-AMD64_LINUX.so] Error 1 > make[2]: Leaving directory `/root/vrigo/valgrind/valgrind-3.3.1/auxprogs' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/vrigo/valgrind/valgrind-3.3.1' > make: *** [all] Error 2 > --snip-- > > I have downloaded the valgrind-3-3-1.tar.bz2 > from //www.valgrind.org/downloads/valgrind-3.3.1.tar.bz2, run configure > without any options and did a make (also without any options)? > > Can someone please help? > > My system is a RHEL4 on Intel Xeon. > > --snip-- > [root@thorpc251 valgrind-3.3.1]# cat /etc/redhat-release > Red Hat Enterprise Linux AS release 4 (Nahant Update 3) > [root@thorpc251 valgrind-3.3.1]# cat /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 3 > model name : Intel(R) Xeon(TM) CPU 2.80GHz > stepping : 4 > cpu MHz : 2793.085 > cache size : 1024 KB > physical id : 0 > siblings : 2 > --snip-- > > thanks! > > Vrijendra > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |