[mpich-discuss] Fwd: configure: error: unable to determine matching C type for C++ bool
Anthony Chan
chan at mcs.anl.gov
Tue Nov 1 13:00:57 CDT 2011
Use g++ to compile/link a simple program. Make sure it runs.
If you still get the linker error of libstdc++.so.6, try
setting LD_LIBRARY_PATH to point to /usr/sfw/lib. If that works,
set LD_LIBRARY_PATH in your environment and rerun configure again.
Since you are doing an inpath build, be sure to do "make distclean"
before runing configure again.
A.Chan
----- Original Message -----
> Hi,
> My libstdc++.so.6 is in /usr/sfw/lib
>
> -bash-3.00# ls /usr/sfw/lib/libstdc++.so*
> /usr/sfw/lib/libstdc++.so /usr/sfw/lib/libstdc++.so.6.0.3
> /usr/sfw/lib/libstdc++.so.6
> -bash-3.00#
>
> How to I tell this to MPI configurator? Have any way?
>
> Thanks
>
>
> -----Original Message-----
> From: Anthony Chan [mailto:chan at mcs.anl.gov]
> Sent: Tuesday, November 1, 2011 12:42 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Fwd: configure: error: unable to
> determine matching C type for C++ bool
>
> Your g++ does not work either, same error as before. It is
> possibleyour c++ is just g++. If you don't need C++ support, you could
> disableit by adding --disable-cxx to your configure command. If you do
> need C++support, you need to find out why libstdc++.so.6 isn't
> there...configure:40496: g++ -o conftest -O2
> -I/MPICH/Source/mpich2-1.4.1p1/src/mpl/include
> -I/MPICH/Source/mpich2-1.4.1p1/src/mpl/include
> -I/MPICH/Source/mpich2-1.4.1p1/src/openpa/src
> -I/MPICH/Source/mpich2-1.4.1p1/src/openpa/src conftest.cpp
> >&5configure:40500: $? = 0configure:40506: ./conftestld.so.1:
> conftest: fatal: libstdc++.so.6: open failed: No such file or
> directory./configure: line 40508: 2921 Killed
> ./conftest$ac_exeextconfigure:40510: $? = 137configure: program exited
> with status 137A.Chan----- Original Message -----> Sorry again,> >
> Follows...> > -----Original Message-----> From: Anthony Chan
> [mailto:chan at mcs.anl.gov]> Sent: Tuesday, November 1, 2011 11:59 AM>
> To: mpich-discuss at mcs.anl.gov> Subject: Re: [mpich-discuss] Fwd:
> configure: error: unable to> determine matching C type for C++ bool> >
> ----- Original Message -----> > -bash-3.00# ./configure CC=gcc
> CXX=g++> --disable-f77 --disable-fc> --prefix=/MPICH/mpich2-install/
> 2>&1 | tee> c.txt> > This is correct?> > Dont work :0(You need to send
> us your> c.txt and config.log to show what went>
> wrong.A.Chan_______________________________________________mpich-discuss>
> mailing list mpich-discuss at mcs.anl.govTo manage subscription options>
> or>
> unsubscribe:https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
> > _______________________________________________> mpich-discuss
> mailing list mpich-discuss at mcs.anl.gov> To manage subscription options
> or unsubscribe:>
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss_______________________________________________mpich-discuss
> mailing list mpich-discuss at mcs.anl.govTo manage subscription options
> or
> unsubscribe:https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list