home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aux / 4731 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Path: sparky!uunet!math.fu-berlin.de!unidui!hal6000!fred
  2. From: fred@hal6000.thp.Uni-Duisburg.DE (Fred Hucht)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: Where is these library functions ?
  5. Date: 27 Jan 1993 13:49:43 GMT
  6. Organization: Theoretische Physik, Uni-GH-Duisburg, Germany
  7. Lines: 43
  8. Message-ID: <1k63tnINNeh7@unidui.uni-duisburg.de>
  9. References: <1993Jan26.035128.481@uts.uni-c.dk>
  10. NNTP-Posting-Host: hal6000.uni-duisburg.de
  11.  
  12. povlphp@uts.uni-c.dk (Povl H. Pedersen) writes:
  13.  
  14. >I am compiling PGP 2.1, but I have a problem.
  15. >The following two functions is undefined:
  16.  
  17. >undefined               first referenced
  18. > symbol                     in file
  19. >tcgetattr                       system.o
  20. >tcsetattr                       system.o
  21.  
  22. >and they both have a prototype in /usr/include/termios.h
  23.  
  24. >SO have Apple left something out ? Or is it in a strange library ?
  25. >-- 
  26. >Povl H. Pedersen   -   Macintosh specialist. Knows some DOS and UNIX too.
  27. >pope@imv.aau.dk    -   povlphp@uts.uni-c.dk
  28.  
  29. Use this "little" command:
  30.  
  31. MAC> cd /lib; for i in lib*.a;do { echo $i; nm $i|grep tcgetattr; }; done
  32. libPW.a
  33. libbsd.a
  34. libc.a
  35. libc_s.a
  36. libg.a
  37. libm.a
  38. libm040.a
  39. libposix.a
  40. Symbols from libposix.a[tcgetattr.o]:
  41. tcgetattr.c         |        | file |                  |      |     |
  42. tcgetattr           |       0|extern|                  |      |     |.text
  43. librmt.a
  44. libsvid.a
  45. libtermcap.a
  46.  
  47. So tcgetattr is included in libposix.a. 
  48.  
  49. Have fun,
  50. Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
  51. EMail: fred@hal6000.Uni-Duisburg.DE
  52. --
  53. Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
  54. EMail: fred@hal6000.thp.Uni-Duisburg.DE
  55.