home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1457 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.9 KB  |  52 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!utcsri!geac!r-node!marc
  3. From: marc@r-node.gts.org (Marc Fournier - Admin)
  4. Subject: Re: Compiling libg++-2.2 on ISC SVR3 v2.2.0
  5. Message-ID: <1992Nov19.032119.11280@r-node.gts.org>
  6. Organization: R-node Public Access UNIX Information System (416-249-5366)
  7. References: <1992Nov14.045636.16089@r-node.gts.org> <1992Nov17.155146.18032@ugle.unit.no> <1992Nov19.025345.9501@r-node.gts.org>
  8. Date: Thu, 19 Nov 1992 03:21:19 GMT
  9. Lines: 41
  10.  
  11. In article <1992Nov19.025345.9501@r-node.gts.org> marc@r-node.gts.org (Marc Fournier - Admin) writes:
  12. >In article <1992Nov17.155146.18032@ugle.unit.no> bjornw@colargol (Bjoern Wennberg) writes:
  13. >>Marc Fournier - Admin (marc@r-node.gts.org) wrote:
  14. >>: Help?
  15. >>: 
  16. >>:     I'm attempting to compile libg++ to no avail :( I have gcc
  17. >>: 2.2.2 online...I ran fixincludes when I installed it.  When I run
  18. >>: make, I get the error on fdmatch.c dealing with 'parse error before
  19. >>: mode_t' in /usr/include/sys/stat.h
  20. >>: 
  21. >>:     Anyone out there able to help?
  22. >>: 
  23. >>: Thanks...
  24. >>: 
  25. >>: Marc
  26. >>
  27. >>Hi!
  28. >>
  29. >>mode_t is defined in <sys/types.h>
  30. >>
  31. >>You should include <sys/types.h> before including <sys/stat.h>
  32. >>or fix <sys/stat.h> so that it automatically includes <sys/types.h>
  33. >>
  34. >
  35. >    Hmmmm...anyone have any more suggestions? :)  That was the first thing
  36. >I have tried to no avail :(
  37. >
  38. >Thanks...
  39.  
  40. Well...after posting this..I decided to 'experiment' with things and
  41. determined that all that was missing was to put -D_POSIX_SOURCE for
  42. that particular file and it worked :)  Now, onto the next error.... :(
  43.  
  44. Thanks for the help though...
  45.  
  46. Marc
  47. -- 
  48. Marc G. Fournier      | R-node Public Access Unix running UnixBBS 1.10
  49. Etobicoke, Ontario    | 416-249-5366   24hrs 7 days/week   network email
  50. voice: 249-4230       | shell accounts available  2500+ newsgroups  FREE
  51. marc@r-node.pci.on.ca | Telebit WorldBlazer/SupraModem2400/Cardinal 2400 
  52.