[mpich-discuss] Fwd: configure: error: unable to determine matching C type for C++ bool
renato at dokfile.com
renato at dokfile.com
Tue Nov 1 10:54:29 CDT 2011
Hi, Thanks for help!
Yes I have g++, see:
-bash-3.00# g++ -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
-bash-3.00#
GCC:
-bash-3.00# gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
-bash-3.00#
I did try:
-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(
Help please
-----Original Message-----
From: Anthony Chan [mailto:chan at mcs.anl.gov]
Sent: Tuesday, November 1, 2011 11:24 AM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Fwd: configure: error: unable to determine matching C type for C++ bool
It appears your automatic chosen C++ compiler, c++, can't produce a working executablefor chosen C compiler, gcc. configure:40191: checking size of boolconfigure: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 >&5configure:40500: $? = 0configure:40506: ./conftestld.so.1: conftest: fatal: libstdc++.so.6: open failed: No such file or directory./configure: line 40508: 9798 Killed ./conftest$ac_exeextconfigure:40510: $? = 137configure: program exited with status 137Is there g++ on your Solaris box ? If so, you could set CC=gcc and CXX=g++ as partof 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_______________________________________________mpich-discuss mailing list mpich-discuss at mcs.anl.govTo manage subscription options or unsubscribe:https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20111101/33c7b8b4/attachment.htm>
More information about the mpich-discuss
mailing list