home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / help / 1711 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

  1. Path: 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
  2. From: monta@image.mit.edu (Peter Monta)
  3. Newsgroups: gnu.g++.help
  4. Subject: Making libg++-2.3: include file confusion?
  5. Message-ID: <MONTA.93Jan26122333@image.mit.edu>
  6. Date: 26 Jan 93 17:23:33 GMT
  7. Sender: news@news.media.mit.edu (USENET News System)
  8. Organization: MIT Advanced Television Research Program
  9. Lines: 19
  10.  
  11. I'm trying to make libg++-2.3 on a Sun-4 under SunOS 4.1.1.
  12. "configure sun4os4" goes normally, but when make starts compiling,
  13. there's apparently some mixup among the include file directories:
  14.  
  15. ----------------
  16. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.cc
  17. 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:
  18. /usr/include/sys/types.h:24: conflicting types for `wchar_t'
  19. ./../g++-include/stddef.h:11: previous declaration of `wchar_t'
  20. *** Error code 1
  21. make: Fatal error: Command failed for target `AllocRing.o'
  22. ----------------
  23.  
  24. Seems to me /usr/include/unistd.h should get /usr/include/sys/types.h,
  25. not the g++-include one.  Am I missing something obvious?  Thanks for
  26. any help.
  27.  
  28. Peter Monta   monta@image.mit.edu
  29. MIT Advanced Television Research Program
  30.