🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Scott F. Rasmussen Thu, 07 Jan 1993 21:55
trouble building libg++2.2 with gcc 2.3.1
#671
Author: Scott F. Rasmussen
Date: Thu, 07 Jan 1993 21:55
40 lines
2192 bytes
I am trying to build libg++2.2 with gcc 2.3.1 and get the following  
error. I used the config sun-sparc-sunos4 for my sparc mp running 4.1.2.
Any help is appreciated.  I am in the process of getting libg++2.3 but I  
thought this might not be related to that.
Here's the error...

gcc -v -I.. -I. -I./../iostream -I./../g++-include -c AllocRing.cc
Reading specs from /usr/local/lib/gcc-lib/sparc/2.3.1/specs
gcc version 2.3.1
 /usr/local/lib/gcc-lib/sparc/2.3.1/cpp -lang-c++ -nostdinc++ -v -I..  
-I. -I./../iostream -I./../g++-include -undef -D__GNUC__=2 -D__GNUG__=2  
-D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__  
-D__sparc -D__sun -D__unix AllocRing.cc /usr/tmp/cca15048.i
GNU CPP version 2.3.1 (sparc)
 /usr/local/lib/gcc-lib/sparc/2.3.1/cc1plus /usr/tmp/cca15048.i -quiet  
-dumpbase AllocRing.cc -version -o /usr/tmp/cca15048.s
GNU C++ version 2.3.1 (sparc) compiled by CC.
In file included from ./../g++-include/sys/types.h:15, from  
/usr/include/unistd.h:72, from ./../g++-include/unistd.h:25, from  
/std.h:28, from AllocRing.cc:22:
/usr/include/sys/types.h:24: conflicting types for `wchar_t'
/../g++-include/stddef.h:11: previous declaration of `wchar_t'

from the output of gcc -E here are the conflicting definitions...

# 41 "/usr/local/lib/gcc-lib/sparc/2.3.1/include/stddef.h" 3
...
typedef __wchar_t wchar_t;

# 1 "/usr/include/sys/stdtypes.h" 1 3
.
typedef unsigned short  wchar_t;

Thanks for any help...
--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=
Scott Rasmussen                              scottr@atherton.com
Atherton Technology                     {sun|decwrl}!athertn.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads