[mpich-discuss] make error with enable-error-checking
Pavan Balaji
balaji at mcs.anl.gov
Mon Feb 28 20:29:59 CST 2011
Hi Rohit,
On 02/28/2011 08:00 PM, Jain, Rohit wrote:
> mpich2-1.3.3rc1/configure --prefix
> /u/mpich2_debug/install/mpich2-1.3.3rc1/linux --disable-f77
> --disable-fc --disable-f90modules --disable-cxx --enable-totalview
> --enable-debuginfo --enable-error-messages=all
> --enable-error-checking=all --enable-g=dbg,mem CFLAGS=-O3 -fPIC
> CXXFLAGS=-O3 -fPIC
I tried these configure flags, and am able to build MPICH2 correctly.
> make[4]: Entering directory `/u/mpich2_debug/src/pm/hydra'
> CCLD hydra_persist
> /u/mpich2_debug/src/pm/hydra/tools/bind/hwloc/hwloc/src/.libs/libhwloc_embedded.a(traversal.o): In function `gnu_dev_major':
> /usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
Would you be able to do the following?
1. Let us know which version of gcc (or whatever C compiler) you are using.
2. Try to build hwloc separately on your system. You can do:
% cd src/pm/hydra/tools/bind/hwloc/hwloc
% ./configure && make
Thanks,
-- Pavan
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list