🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter Monta Tue, 26 Jan 1993 17:23
Making libg++-2.3: include file confusion?
#709
Author: 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
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