Brian,

Thank you for your help. It turned out that my path pointed to an older
version of gcc. After correcting that, I no longer get the same error. But
now the error becomes, after I issued "make all install",

......
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include
-I../.. -I../.. -I../../include -I../../opal -I../../orte -I../../ompi
-D_REENTRANT -O3 -DNDEBUG -fno-strict-aliasing -c req_test.c
-Wp,-MD,.deps/req_test.TPlo  -fPIC -DPIC -o .libs/req_test.o
/usr/ccs/bin/as: "/var/tmp//cc5lFbCH.s", line 17: error: cannot use v8plus
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp//cc5lFbCH.s", line 155: error: cannot use v8plus
instructions in a non-v8plus target binary
*** Error code 1
make: Fatal error: Command failed for target `req_test.lo'
Current working directory /home/xyang/openmpi/openmpi-1.0.1/ompi/request
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/xyang/openmpi/openmpi-1.0.1/ompi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Any clue what went wrong this time? Thanks a lot!

David

***** Correspondence *****



> From: Brian Barrett <brbar...@open-mpi.org>
> Reply-To: Open MPI Users <us...@open-mpi.org>
> Date: Tue, 14 Feb 2006 13:54:21 -0500
> To: Open MPI Users <us...@open-mpi.org>
> Subject: Re: [OMPI users] Installing OpenMPI on a solaris
> 
> On Feb 14, 2006, at 11:57 AM, Xiaoning (David) Yang wrote:
> 
>> Thanks for the info. I tried to compile the simple code in your
>> email with
>> 'c++ -c foo.c' and got the similar error. Does it mean that my
>> compiler was
>> not configured correctly? Thanks.
> 
> Yes, it points to a configuration issue with your C++ compiler.
> Until that issue is resolved, it will be impossible to compile Open
> MPI on that machine.
> 
> Brian
> 
> 
>> ***** Correspondence *****
>> 
>> 
>> 
>>> From: Brian Barrett <brbar...@open-mpi.org>
>>> Reply-To: Open MPI Users <us...@open-mpi.org>
>>> Date: Tue, 14 Feb 2006 08:48:49 -0500
>>> To: Open MPI Users <us...@open-mpi.org>
>>> Subject: Re: [OMPI users] Installing OpenMPI on a solaris
>>> 
>>> On Feb 13, 2006, at 12:29 PM, Xiaoning (David) Yang wrote:
>>> 
>>>> I'm installing OpenMPI on a solaris system and got the following
>>>> error
>>>> message when running make:
>>>> 
>>>> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95/../../../../
>>>> include/g++-3/s
>>>> tl_config.h:151: _G_config.h: No such file or directory
>>>> 
>>>> What does it mean and how to solve the problem. Thanks for any help!
>>> 
>>> It is hard to tell without seeing the surrounding output, but it
>>> appears that your C++ compiler is configured incorrectly and not able
>>> to compile STL code.  You might want to try building a simple Hello,
>>> World example using the IOStreams (like the one below) -- if that
>>> doesn't work, you need to talk to your sysadmin or the supplier of
>>> the GCC binaries you are using and figure out how to get simple
>>> applications to compile.  If the simple example compiles, please send
>>> us the config.log from your Open MPI source tree and a bit more of
>>> the output from make.
>>> 
>>> Thanks,
>>> 
>>> Brian
>>> 
>>> -- 
>>>    Brian Barrett
>>>    Open MPI developer
>>>    http://www.open-mpi.org/
>>> 
>>> 
>>> #include <iostream>
>>> 
>>> int
>>> main(int argc, char *argv[])
>>> {
>>>      std::cout << "Hello, World" << std::endl;
>>>      return 0;
>>> }
>>> 
>>> 
>>> _______________________________________________
>>> users mailing list
>>> us...@open-mpi.org
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>> 
>> 
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> -- 
>    Brian Barrett
>    Open MPI developer
>    http://www.open-mpi.org/
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to