Brian,

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.

David

***** 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


Reply via email to