🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #709

Making libg++-2.3: include file confusion?

#709
From: Peter Monta
Date: Tue, 26 Jan 1993 17:23
19 lines
1407 bytes
I'm trying to make libg++-2.3 on a Sun-4 under SunOS 4.1.1.
"configure sun4os4" goes normally, but when make starts compiling,
there's apparently some mixup among the include file directories:

----------------
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.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'
*** Error code 1
make: Fatal error: Command failed for target `AllocRing.o'
----------------

Seems to me /usr/include/unistd.h should get /usr/include/sys/types.h,
not the g++-include one.  Am I missing something obvious?  Thanks for
any help.

Peter Monta   monta@image.mit.edu
MIT Advanced Television Research Program
Technical Details
Message-ID: <MONTA.93Jan26122333@image.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!uwm.edu!spool.mu.edu!caen!batcomputer!cornell!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news.media.mit.edu!monta

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!uwm.edu!spool.mu.edu!caen!batcomputer!cornell!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!news.media.mit.edu!monta
From: monta@image.mit.edu (Peter Monta)
Newsgroups: gnu.g++.help
Subject: Making libg++-2.3: include file confusion?
Message-ID: <MONTA.93Jan26122333@image.mit.edu>
Date: 26 Jan 93 17:23:33 GMT
Sender: news@news.media.mit.edu (USENET News System)
Organization: MIT Advanced Television Research Program
Lines: 19