help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

g++ in Solaris 10


From: Steve Bby
Subject: g++ in Solaris 10
Date: Tue, 13 Jun 2006 22:35:28 GMT
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

I developed a software 6 years ago by using
g++ (gcc-2_8_1-sol7-intel-local) on Solaris7.

Today, I installed Solaris10 in my new PC, and
installed new g++ (gcc-3.3.2-sol10-intel-local)
in it.


When I compile my software, it shows up errors below:
Tanks for any help!

**********************************************
g++ -c -I./include -I/usr/local/include/g++ -D_SUN -o client/bmain.o 
client/bmain.c
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from client/bmain.c:3:
/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is not
   defined as a type.
/usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but is not
   defined as a type.
In file included from /usr/local/include/c++/3.3.2/backward/list.h:59,
                 from client/bmain.c:7:
/usr/local/include/c++/3.3.2/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.
In file included from /usr/local/include/c++/3.3.2/iosfwd:50,
                 from /usr/local/include/c++/3.3.2/ios:44,
                 from /usr/local/include/c++/3.3.2/ostream:45,
                 from /usr/local/include/c++/3.3.2/iostream:45,
                 from /usr/local/include/c++/3.3.2/backward/iostream.h:32,
                 from /usr/local/include/c++/3.3.2/backward/iterator.h:33,
                 from /usr/local/include/c++/3.3.2/backward/algobase.h:60,
                 from /usr/local/include/c++/3.3.2/backward/list.h:60,
                 from client/bmain.c:7:
/usr/local/include/c++/3.3.2/bits/functexcept.h:34:31: exception_defines.h: No 
such file or directory
In file included from /usr/local/include/c++/3.3.2/ostream:45,
                 from /usr/local/include/c++/3.3.2/iostream:45,
                 from /usr/local/include/c++/3.3.2/backward/iostream.h:32,
                 from /usr/local/include/c++/3.3.2/backward/iterator.h:33,
                 from /usr/local/include/c++/3.3.2/backward/algobase.h:60,
                 from /usr/local/include/c++/3.3.2/backward/list.h:60,
                 from client/bmain.c:7:
/usr/local/include/c++/3.3.2/ios:45:57: exception: No such file or directory
In file included from /usr/local/include/c++/3.3.2/bits/localefwd.h:48,
                 from /usr/local/include/c++/3.3.2/ios:48,
                 from /usr/local/include/c++/3.3.2/ostream:45,
                 from /usr/local/include/c++/3.3.2/iostream:45,
                 from /usr/local/include/c++/3.3.2/backward/iostream.h:32,
                 from /usr/local/include/c++/3.3.2/backward/iterator.h:33,
                 from /usr/local/include/c++/3.3.2/backward/algobase.h:60,
                 from /usr/local/include/c++/3.3.2/backward/list.h:60,
                 from client/bmain.c:7:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]