Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, im wrote from Venezuela, sorry for the English.
I have installed GNU GCC 3.3 package from SunFreeWare.com, im tried to compile and execute some code, but i have this problem.
I compile without no problem, but when im try to execute the next message was throw for terminal
>> g++ -o Hello Hello.cpp
In file included from /usr/local/include/c++/3.3/backward/iostream.h:31,
from Hello.cpp:1:
/usr/local/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
>> Hello
ld.so.1: Hello: fatal: libstdc++.so.5: open failed: No such file or directory
KilledWhere is the problem?????
Thanks ;)

Sounds like you have a programming problem as opposed to a Solaris problem. I don't know what your code looks like so I'll be guessing, and hopefully this will help you out.
Your compiler error says your header declarations are wrong (they're the old way). You problably have something like
#include <iostream.h>
at the beginning of your code.
If you notice your error message, it looks like the ".h" is the problem. I've read that one of the solutions is to drop the ".h" in the header and use namespace at the beginning of your file:
#include <iostream>
using namespace std;If that doesn't work, then I suggest you put a post up in the programming section of this web site, and include your code. They should be able to help you out.
D.O

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |