home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / help / 1428 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.6 KB  |  45 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!colargol!bjornw
  3. From: bjornw@colargol (Bjoern Wennberg)
  4. Subject: Re: g++,libg++,groff, ISC3.0
  5. Message-ID: <1992Nov12.172608.28085@ugle.unit.no>
  6. Sender: news@ugle.unit.no (NetNews Administrator)
  7. Organization: Colargol, Trondheim College of Engineering
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. References: <1dt7lpINNo13@nic.belwue.de>
  10. Date: Thu, 12 Nov 92 17:26:08 GMT
  11. Lines: 32
  12.  
  13. Kay Schulz (kschulz@ba-stuttgart.de) wrote:
  14. : Keywords: 
  15. : Hi ,I have some problems installing groff on an ISC3.0 machine.
  16. : I think the problem is my libg++.
  17. : I had problems instaling libg++ but after a while int worked.
  18. : Now I try to install groff, but when the g++ starts to link the files
  19. : an error arrives...
  20. : fileno error (not found) something like that, first referenced in libbib.a
  21. : I noticed that my normal stdio.h has a macto and an extrern function
  22. : for fileno and that the stdio in /usr/local/lib/g++-include hasnt....
  23. : But what can I do? The compiler looks for it in g++-include...
  24. : Does anybody knows what to do?
  25. : ///**************************************************///
  26. : ///*** kschulz@garfield.t-informatik.ba-stuttgart.de***///
  27. : ///*** KAY                      ***///
  28. : ///**************************************************///
  29. Hi!
  30.  
  31. fileno() is defined in stdio.h. But you have to compile with -D_POSIX_SOURCE
  32. to get that function and link with -lc_posix.
  33.  
  34. If you have installed fixincludes, you should compile with gcc -posix
  35. to a) define -D_POSIX_SOURCE when compiling and b) link with -lc_posix.
  36.  
  37. bjornw>
  38. --
  39. The sooner all the animals are dead, the sooner we'll find all their money.
  40.