* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 9:11 Vijay Seshan
2003-08-29 12:10 ` Eljay Love-Jensen
0 siblings, 1 reply; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 9:11 UTC (permalink / raw)
To: gcc-help
Hi,
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/
--with-local-prefix=/home/vseshan/loca
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gcc 3.3.1 on Solaris 2.6
2003-08-29 9:11 gcc 3.3.1 on Solaris 2.6 Vijay Seshan
@ 2003-08-29 12:10 ` Eljay Love-Jensen
0 siblings, 0 replies; 9+ messages in thread
From: Eljay Love-Jensen @ 2003-08-29 12:10 UTC (permalink / raw)
To: Vijay Seshan, gcc-help
Hi Vijay,
Make sure you've done this (presuming GCC has been untarred to /home/vsheshan/gcc-3.3.1):
cd /home/vshan
mkdir mygcc
cd mygcc
/home/vseshan/gcc-3.3.1/configure --prefix=/home/vseshan/local/gcc-3.3.1 --with-local-prefix=/home/vseshan/local/gcc-3.3.1
As I understand it, you cannot create GCC from within the source directory of GCC. Kboom.
HTH,
--Eljay
^ permalink raw reply [flat|nested] 9+ messages in thread
* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 9:22 Vijay Seshan
0 siblings, 0 replies; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 9:22 UTC (permalink / raw)
To: gcc-help
Hi,
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/
--with-local-prefix=/home/vseshan/loca
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
^ permalink raw reply [flat|nested] 9+ messages in thread
* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 9:22 Vijay Seshan
0 siblings, 0 replies; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 9:22 UTC (permalink / raw)
To: gcc-help
Hi,
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/
--with-local-prefix=/home/vseshan/loca
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
^ permalink raw reply [flat|nested] 9+ messages in thread
* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 9:29 Vijay Seshan
2003-08-29 10:46 ` Claudio Bley
0 siblings, 1 reply; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 9:29 UTC (permalink / raw)
To: gcc-help
Hi,
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/ --with-local-prefix=/ho
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gcc 3.3.1 on Solaris 2.6
2003-08-29 9:29 Vijay Seshan
@ 2003-08-29 10:46 ` Claudio Bley
2003-08-29 10:57 ` Andrea 'fwyzard' Bocci
0 siblings, 1 reply; 9+ messages in thread
From: Claudio Bley @ 2003-08-29 10:46 UTC (permalink / raw)
To: gcc-help
On Fri, Aug 29, 2003 at 09:28:16AM -0000, Vijay Seshan wrote:
> Hi,
Hello.
> Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
> Since I dont have root priveleges, I downloaded the source and
> built it using the following commands,
> (Iam running GNU binutils ver 2.14)
>
> /home/vseshan/gcc-3.3.1/configure
> --prefix=/home/vseshan/local/gcc-3.3.1/ --with-local-prefix=/ho
Uh, was that a question? You don't need to be sparse on information
here; describe your problem.
Btw, you won't get any answers quicker or better when you bomb the
mailing list with the same message over and over again. So, please
stop doing that. TIA
--
Claudio Bley ASCII ribbon campaign (")
Debian GNU/Linux user - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gcc 3.3.1 on Solaris 2.6
2003-08-29 10:46 ` Claudio Bley
@ 2003-08-29 10:57 ` Andrea 'fwyzard' Bocci
0 siblings, 0 replies; 9+ messages in thread
From: Andrea 'fwyzard' Bocci @ 2003-08-29 10:57 UTC (permalink / raw)
To: Claudio Bley, gcc-help
At 12:44 29/08/2003 +0200, Claudio Bley wrote:
>On Fri, Aug 29, 2003 at 09:28:16AM -0000, Vijay Seshan wrote:
> > Hi,
>
>Hello.
>
> > Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
> > Since I dont have root priveleges, I downloaded the source and
> > built it using the following commands,
> > (Iam running GNU binutils ver 2.14)
> >
> > /home/vseshan/gcc-3.3.1/configure
> > --prefix=/home/vseshan/local/gcc-3.3.1/ --with-local-prefix=/ho
>
>Uh, was that a question? You don't need to be sparse on information
>here; describe your problem.
>
>Btw, you won't get any answers quicker or better when you bomb the
>mailing list with the same message over and over again. So, please
>stop doing that. TIA
This looks more likely a problem of sending unfinished mails along while
writing them...
Send button too near to something else ?
.fw.
^ permalink raw reply [flat|nested] 9+ messages in thread
* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 11:42 Vijay Seshan
0 siblings, 0 replies; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 11:42 UTC (permalink / raw)
To: gcc-help
Hi,
I apologize for the incomplete mails. There seems to be some
problem with this email service I suppose. Anyway, please find the
complete mail below. I hope it works this time around...
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/
--with-local-prefix=/home/vseshan/local
--with-as=/home/vseshan/local/bin/as--with-gnu-as
--with-ld=/home/vseshan/local/ld --with-gnu-ld --disable-multilib
--enable-threads --enable-languages=c,c++,java
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
I do not have a /usr/local/include directory, that was the reason
for giving the "with-local-prefix" option to a folder which has
some packages (binutils and other stuff) installed.
The build completed successfully.
I set the following env variables,
GCC_EXEC_PREFIX=/home/vseshan/local/gcc-3.3.1/lib/gcc-lib
LD_LIBRARY_PATH=/home/vseshan/local/gcc-3.3.1/lib
Iam able to compile C programs without any problem. But g++ is
giving me a lot of trouble. When I try to compile the following
simple c++ program,
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello world"<<endl;
return 0;
}
I have attached the error log at the end of the mail. Can anyone
tell me if Iam doing anything incorrectly or should I be doing
something more (like setting some more env variables??)
Thanks in advance
Vijay
Error log::
-----------
g++ test.cc
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:49,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:44,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/fpos.h:120:
error: `
mbstate_t' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/fpos.h:120:
error: template
argument 1 is invalid
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:46,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/char_traits.h:69:
error: parse
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/char_traits.h:123:
error: parse
error before `;' token
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:48,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58:34:
macro "isspace" passed 2 arguments, but takes just 1
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:48,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58:
error: `
std::isspace' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58:
error: template
declaration of `bool std::isspace'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62:34:
macro "isprint" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62:
error: `
std::isprint' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62:
error: template
declaration of `bool std::isprint'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66:34:
macro "iscntrl" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66:
error: `
std::iscntrl' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66:
error: template
declaration of `bool std::iscntrl'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70:34:
macro "isupper" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70:
error: `
std::isupper' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70:
error: template
declaration of `bool std::isupper'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74:34:
macro "islower" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74:
error: `
std::islower' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74:
error: template
declaration of `bool std::islower'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78:34:
macro "isalpha" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78:
error: `
std::isalpha' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78:
error: template
declaration of `bool std::isalpha'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82:34:
macro "isdigit" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82:
error: `
std::isdigit' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82:
error: template
declaration of `bool std::isdigit'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86:34:
macro "ispunct" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86:
error: `
std::ispunct' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86:
error: template
declaration of `bool std::ispunct'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90:35:
macro "isxdigit" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90:
error: `
std::isxdigit' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90:
error: template
declaration of `bool std::isxdigit'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94:34:
macro "isalnum" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94:
error: `
std::isalnum' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94:
error: template
declaration of `bool std::isalnum'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98:34:
macro "isgraph" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98:
error: `
std::isgraph' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98:
error: template
declaration of `bool std::isgraph'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:124:
error: `
mbstate_t' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:124:
error: template
argument 3 is invalid
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:49,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:165:
error: parse
error before `{' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:175:
error: destructor
`failure' must match class name `ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:363:
error: parse
error before `protected'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:383:
error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:387:
error: parse
error before `,' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:389:
error: missing
';' before right brace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:391:
error: semicolon
missing after declaration of `std::_Callback_list'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392:
error: ISO
C++ forbids defining types within return type
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392:
error: two
or more data types in declaration of `_M_add_reference'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392:
error: semicolon
missing after declaration of `struct std::_Callback_list'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
In function `
int std::_M_add_reference()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392:
error: `
_M_refcount' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392:
error: (Each
undeclared identifier is reported only once for each function
it appears
in.)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:399:
error: syntax
error before `*' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:402:
error: `
event' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:402:
error: parse
error before `)' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:431:
error: '
locale' is used as a type, but is not defined as a type.
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:436:
error: parse
error before `public'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:447:
error: destructors
must be member functions
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
In function `
bool _S_initialized()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:459:
error: `
_S_ios_base_init' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:461:
error: parse
error before `private'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:464:
error: parse
error before `}' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:472:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:482:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:485:
error: `
__fmtfl' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:486:
error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:498:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:501:
error: syntax
error before `|=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:515:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:518:
error: syntax
error before `&=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:519:
error: syntax
error before `|=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530:
error: `
fmtflags' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530:
error: parse
error before `)' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
In function `
void unsetf(...)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530:
error: `
__mask' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:
At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:542:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:550:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:553:
error: `
__prec' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:554:
error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:564:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:572:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:575:
error: `
__wide' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:576:
error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:603:
error: parse
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:614:
error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:623:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:660:
error: destructors
must be member functions
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:662:
error: parse
error before `protected'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:670:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:677:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:685:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:693:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:701:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:709:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:717:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:725:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:733:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:741:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:749:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:757:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:765:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:773:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:781:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:790:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:798:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:806:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:815:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:823:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:831:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:840:
error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:848:
error: syntax
error before `&' token
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:50,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:218:
error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:225:
error: data
member `_M_buf_locale' cannot be a member template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:232:
error: data
member `_M_buf_locale_init' cannot be a member template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:245:
error: default
argument for template parameter for class enclosing
`std::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:245:
error: template
definition of non-template `const size_t std::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:411:
error: no type `
seekdir' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:411:
error: parse
error before `,' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:413:
error: template
definition of non-template `typename _Traits::pos_type
std::ios_base::pubseekoff(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:417:
error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:417:
error: parse
error before `=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:418:
error: template
definition of non-template `typename _Traits::pos_type
std::ios_base::pubseekpos(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:724:
error: no type `
seekdir' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:725:
error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:726:
error: template
definition of non-template `virtual typename
_Traits::pos_type
std::ios_base::seekoff(typename _Traits::off_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:737:
error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:738:
error: template
definition of non-template `virtual typename
_Traits::pos_type
std::ios_base::seekpos(typename _Traits::pos_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:413:
error: template
definition of non-template `typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::pubseekoff(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:418:
error: template
definition of non-template `typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::pubseekpos(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf: In
constructor `
std::basic_streambuf<_CharT, _Traits>::basic_streambuf()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:580:
error: class `
std::basic_streambuf<_CharT, _Traits>' does not have any field
named `
_M_mode'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:580:
error: class `
std::basic_streambuf<_CharT, _Traits>' does not have any field
named `
_M_buf_locale'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf: At
global scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:726:
error: template
definition of non-template `virtual typename
_Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::seekoff(typename
_Traits::off_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:738:
error: template
definition of non-template `virtual typename
_Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::seekpos(typename
_Traits::pos_type)'
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:934,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:50,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:44:
error: template
definition of non-template `const size_t
std::basic_streambuf<_CharT,
_Traits>::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:
In function
`streamsize std::__copy_streambufs(std::basic_ios<_CharT,
_Traits>&,
std::basic_streambuf<_CharT, _Traits>*,
std::basic_streambuf<_CharT,
_Traits>*)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:228:
error: parse
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:
At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:234:
error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:241:
error: `
basic_streambuf' is not a template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:241:
error: explicit
instantiation of non-template type `<type error>'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:244:
error: explicit
instantiation of non-template `int streamsize'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:244:
error: parse
error before `(' token
In file included from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/basic_ios.h:41,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:51,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:50:
error: parse
error before `<' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:56:
error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57:
error: `
_Traits' is not a class or namespace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57:
error: `
int_type' is not a class or namespace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57:
error: using
`typename' outside of template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57:
error: `
_Traits' fails to be a typedef or built in type
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58:
error: `
_CharT' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58:
error: `
_Traits' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58:
error: template
argument 1 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58:
error: template
argument 2 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59:
error: `
_CharT' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59:
error: `
_Traits' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59:
error: template
argument 1 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59:
error: template
argument 2 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:61:
error: parse
error before `private'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:72:
error: parse
error before `public'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:
In
function `int std::istreambuf_iterator(istream_type&)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: `
int std::istreambuf_iterator(istream_type&)' redeclared as
different kind of
symbol
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:98: error:
previous
declaration of `template<class _CharT, class _Traits> class
std::istreambuf_iterator'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:98: error:
previous
non-function declaration `template<class _CharT, class
_Traits> class
std::istreambuf_iterator'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: conflicts
with function declaration `int
std::istreambuf_iterator(istream_type&)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: only
constructors take base initializers
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: request
for member `rdbuf' in `__s', which is of non-aggregate type
`int'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: `
traits_type' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
error: parse
error before `::' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77:
confused by earlier errors, bailing out
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
^ permalink raw reply [flat|nested] 9+ messages in thread
* gcc 3.3.1 on Solaris 2.6
@ 2003-08-29 11:45 Vijay Seshan
0 siblings, 0 replies; 9+ messages in thread
From: Vijay Seshan @ 2003-08-29 11:45 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
Hi,
I apologize for the incomplete mails. There seems to be some
problem with this email service I suppose. Anyway, please find the
complete mail below. I hope it works this time around...
Iam trying to install gcc 3.3.1 on Solaris sparc 2.6 platform.
Since I dont have root priveleges, I downloaded the source and
built it using the following commands,
(Iam running GNU binutils ver 2.14)
/home/vseshan/gcc-3.3.1/configure
--prefix=/home/vseshan/local/gcc-3.3.1/
--with-local-prefix=/home/vseshan/local
--with-as=/home/vseshan/local/bin/as--with-gnu-as
--with-ld=/home/vseshan/local/ld --with-gnu-ld --disable-multilib
--enable-threads --enable-languages=c,c++,java
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
I do not have a /usr/local/include directory, that was the reason
for giving the "with-local-prefix" option to a folder which has
some packages (binutils and other stuff) installed.
The build completed successfully.
I set the following env variables,
GCC_EXEC_PREFIX=/home/vseshan/local/gcc-3.3.1/lib/gcc-lib
LD_LIBRARY_PATH=/home/vseshan/local/gcc-3.3.1/lib
Iam able to compile C programs without any problem. But g++ is
giving me a lot of trouble. When I try to compile the following
simple c++ program,
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello world"<<endl;
return 0;
}
I have attached the error log at the end of the mail. Can anyone
tell me if Iam doing anything incorrectly or should I be doing
something more (like setting some more env variables??)
Thanks in advance
Vijay
Error log::
-----------
g++ test.cc
<error log attached>
___________________________________________________
Art meets Army ; Swapna Weds Capt. Rajsekhar.
Find interesting matches on Rediff Matchmaker !
Visit http://matchmaker.rediff.com?1
[-- Attachment #2: error_log --]
[-- Type: application/octet-stream, Size: 24055 bytes --]
Error log::
-----------
g++ test.cc
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:49,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:44,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/fpos.h:120: error: `
mbstate_t' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/fpos.h:120: error: template
argument 1 is invalid
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:46,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/char_traits.h:69: error: parse
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/char_traits.h:123: error: parse
error before `;' token
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:48,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58:34: macro "isspace" passed 2 arguments, but takes just 1
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:48,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58: error: `
std::isspace' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:58: error: template
declaration of `bool std::isspace'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62:34: macro "isprint" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62: error: `
std::isprint' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:62: error: template
declaration of `bool std::isprint'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66:34: macro "iscntrl" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66: error: `
std::iscntrl' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:66: error: template
declaration of `bool std::iscntrl'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70:34: macro "isupper" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70: error: `
std::isupper' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:70: error: template
declaration of `bool std::isupper'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74:34: macro "islower" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74: error: `
std::islower' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:74: error: template
declaration of `bool std::islower'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78:34: macro "isalpha" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78: error: `
std::isalpha' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:78: error: template
declaration of `bool std::isalpha'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82:34: macro "isdigit" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82: error: `
std::isdigit' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:82: error: template
declaration of `bool std::isdigit'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86:34: macro "ispunct" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86: error: `
std::ispunct' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:86: error: template
declaration of `bool std::ispunct'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90:35: macro "isxdigit" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90: error: `
std::isxdigit' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:90: error: template
declaration of `bool std::isxdigit'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94:34: macro "isalnum" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94: error: `
std::isalnum' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:94: error: template
declaration of `bool std::isalnum'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98:34: macro "isgraph" passed 2 arguments, but takes just 1
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98: error: `
std::isgraph' declared as an `inline' variable
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:98: error: template
declaration of `bool std::isgraph'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:124: error: `
mbstate_t' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/localefwd.h:124: error: template
argument 3 is invalid
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:49,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:165: error: parse
error before `{' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:175: error: destructor
`failure' must match class name `ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:363: error: parse
error before `protected'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:383: error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:387: error: parse
error before `,' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:389: error: missing
';' before right brace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:391: error: semicolon
missing after declaration of `std::_Callback_list'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392: error: ISO
C++ forbids defining types within return type
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392: error: two
or more data types in declaration of `_M_add_reference'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392: error: semicolon
missing after declaration of `struct std::_Callback_list'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: In function `
int std::_M_add_reference()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392: error: `
_M_refcount' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:392: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:399: error: syntax
error before `*' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:402: error: `
event' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:402: error: parse
error before `)' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:431: error: '
locale' is used as a type, but is not defined as a type.
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:436: error: parse
error before `public'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:447: error: destructors
must be member functions
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: In function `
bool _S_initialized()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:459: error: `
_S_ios_base_init' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:461: error: parse
error before `private'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:464: error: parse
error before `}' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:472: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:482: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:485: error: `
__fmtfl' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:486: error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:498: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:501: error: syntax
error before `|=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:515: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:518: error: syntax
error before `&=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:519: error: syntax
error before `|=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530: error: `
fmtflags' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530: error: parse
error before `)' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: In function `
void unsetf(...)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:530: error: `
__mask' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h: At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:542: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:550: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:553: error: `
__prec' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:554: error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:564: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:572: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:575: error: `
__wide' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:576: error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:603: error: parse
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:614: error: syntax
error before `(' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:623: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:660: error: destructors
must be member functions
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:662: error: parse
error before `protected'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:670: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:677: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:685: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:693: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:701: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:709: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:717: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:725: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:733: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:741: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:749: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:757: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:765: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:773: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:781: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:790: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:798: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:806: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:815: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:823: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:831: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:840: error: syntax
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/ios_base.h:848: error: syntax
error before `&' token
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:50,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:218: error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:225: error: data
member `_M_buf_locale' cannot be a member template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:232: error: data
member `_M_buf_locale_init' cannot be a member template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:245: error: default
argument for template parameter for class enclosing `std::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:245: error: template
definition of non-template `const size_t std::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:411: error: no type `
seekdir' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:411: error: parse
error before `,' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:413: error: template
definition of non-template `typename _Traits::pos_type
std::ios_base::pubseekoff(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:417: error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:417: error: parse
error before `=' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:418: error: template
definition of non-template `typename _Traits::pos_type
std::ios_base::pubseekpos(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:724: error: no type `
seekdir' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:725: error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:726: error: template
definition of non-template `virtual typename _Traits::pos_type
std::ios_base::seekoff(typename _Traits::off_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:737: error: no type `
openmode' in `std::ios_base'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:738: error: template
definition of non-template `virtual typename _Traits::pos_type
std::ios_base::seekpos(typename _Traits::pos_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:413: error: template
definition of non-template `typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::pubseekoff(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:418: error: template
definition of non-template `typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::pubseekpos(...)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf: In constructor `
std::basic_streambuf<_CharT, _Traits>::basic_streambuf()':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:580: error: class `
std::basic_streambuf<_CharT, _Traits>' does not have any field named `
_M_mode'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:580: error: class `
std::basic_streambuf<_CharT, _Traits>' does not have any field named `
_M_buf_locale'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf: At global scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:726: error: template
definition of non-template `virtual typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::seekoff(typename _Traits::off_type)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:738: error: template
definition of non-template `virtual typename _Traits::pos_type
std::basic_streambuf<_CharT, _Traits>::seekpos(typename _Traits::pos_type)'
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/streambuf:934,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:50,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:44: error: template
definition of non-template `const size_t std::basic_streambuf<_CharT,
_Traits>::_S_pback_size'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc: In function
`streamsize std::__copy_streambufs(std::basic_ios<_CharT, _Traits>&,
std::basic_streambuf<_CharT, _Traits>*, std::basic_streambuf<_CharT,
_Traits>*)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:228: error: parse
error before `&' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc: At global
scope:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:234: error: parse
error before `return'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:241: error: `
basic_streambuf' is not a template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:241: error: explicit
instantiation of non-template type `<type error>'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:244: error: explicit
instantiation of non-template `int streamsize'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf.tcc:244: error: parse
error before `(' token
In file included from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/basic_ios.h:41,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ios:51,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/ostream:45,
from /home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iostream:45,
from test.cc:1:
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:50: error: parse
error before `<' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:56: error: syntax
error before `;' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57: error: `
_Traits' is not a class or namespace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57: error: `
int_type' is not a class or namespace
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57: error: using
`typename' outside of template
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:57: error: `
_Traits' fails to be a typedef or built in type
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58: error: `
_CharT' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58: error: `
_Traits' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58: error: template
argument 1 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:58: error: template
argument 2 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59: error: `
_CharT' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59: error: `
_Traits' was not declared in this scope
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59: error: template
argument 1 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:59: error: template
argument 2 is invalid
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:61: error: parse
error before `private'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:72: error: parse
error before `public'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h: In
function `int std::istreambuf_iterator(istream_type&)':
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: `
int std::istreambuf_iterator(istream_type&)' redeclared as different kind of
symbol
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:98: error: previous
declaration of `template<class _CharT, class _Traits> class
std::istreambuf_iterator'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/iosfwd:98: error: previous
non-function declaration `template<class _CharT, class _Traits> class
std::istreambuf_iterator'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: conflicts
with function declaration `int std::istreambuf_iterator(istream_type&)'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: only
constructors take base initializers
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: request
for member `rdbuf' in `__s', which is of non-aggregate type `int'
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: `
traits_type' undeclared (first use this function)
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: error: parse
error before `::' token
/home/vseshan/local/gcc-3.3.1/include/c++/3.3.1/bits/streambuf_iterator.h:77: confused by earlier errors, bailing out
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-08-29 12:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 9:11 gcc 3.3.1 on Solaris 2.6 Vijay Seshan
2003-08-29 12:10 ` Eljay Love-Jensen
2003-08-29 9:22 Vijay Seshan
2003-08-29 9:22 Vijay Seshan
2003-08-29 9:29 Vijay Seshan
2003-08-29 10:46 ` Claudio Bley
2003-08-29 10:57 ` Andrea 'fwyzard' Bocci
2003-08-29 11:42 Vijay Seshan
2003-08-29 11:45 Vijay Seshan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).