[mpich-discuss] Fwd: configure: error: unable to determine matching C type for C++ bool

Anthony Chan chan at mcs.anl.gov
Tue Nov 1 10:24:48 CDT 2011


It appears your automatic chosen C++ compiler, c++, can't produce a working executable
for chosen C compiler, gcc.
 
configure:40191: checking size of bool
configure:40496: c++ -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   >&5
configure:40500: $? = 0
configure:40506: ./conftest
ld.so.1: conftest: fatal: libstdc++.so.6: open failed: No such file or directory
./configure: line 40508:  9798 Killed                  ./conftest$ac_exeext
configure:40510: $? = 137
configure: program exited with status 137

Is there g++ on your Solaris box ?  If so, you could set CC=gcc and CXX=g++ as part
of configure command, or you can set both to Sun's compilers.

A.Chan

----- Original Message -----
> Sorry!
> 
> -----Original Message-----
> From: Pavan Balaji [mailto:balaji at mcs.anl.gov]
> Sent: Tuesday, November 1, 2011 09:55 AM
> To: renato at dokfile.com
> Cc: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] configure: error: unable to determine
> matching C type for C++ bool
> 
> Hello,On 11/01/2011 08:52 AM, renato at dokfile.com wrote:> Hi Thanks for
> help!>> Follows c.txt (log)Can you send us all the files listed in
> step 1(i) in the README? The top-level config.log file is specifically
> what I'm looking for, but we might need other files too. -- Pavan--
> Pavan Balajihttp://www.mcs.anl.gov/~balaji
> 
> _______________________________________________
> 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