home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mips / 1033 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.8 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!da_vinci!jsalmi
  2. From: jsalmi@da_vinci.it.uswc.uswest.com (John Salmi)
  3. Newsgroups: comp.sys.mips,list.epixinfo
  4. Subject: Re: Where is wait3?
  5. Message-ID: <BxGt6q.Dp7@da_vinci.it.uswc.uswest.com>
  6. Date: 9 Nov 92 20:06:26 GMT
  7. References: <peter.721318682@merlin>
  8. Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews)
  9. Followup-To: comp.sys.mips
  10. Organization: US West Information Technologies, Devner
  11. Lines: 54
  12. Nntp-Posting-Host: da_vinci
  13.  
  14. In article <peter.721318682@merlin> peter@merlin.acadiau.ca (Peter Steele) writes:
  15. >I am compiling a package (CAP) that uses a routine called
  16. >wait3. During the link phase it complains that wait3 is
  17. >undefined. Man wait3 does describe such a routine, but
  18. >I can't find it in any of the libraries. There is a wait
  19. >routine, as well as a wait2, but no wait3. I presume that
  20. >since it is described in the man pages this routine does
  21. >exist somewhere. Can any one tell me where it is?
  22. >
  23. >Thanks.
  24. >--
  25. >Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
  26. >Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
  27.  
  28.  
  29.  
  30. Peter, the man page describes wait3 as a bsd-ism...
  31.  
  32. bugs) /usr/people/jsalmi> man wait3
  33.  
  34. WAIT(2-BSD)         RISC/os Reference Manual          WAIT(2-BSD)
  35.  
  36. NAME
  37.      wait, wait3 - wait for process to terminate
  38.  
  39.  
  40. so, that points me down the /bsd43 tree.  in /bsd43/usr/lib/libc.a, wait3
  41. is defined...
  42.  
  43. bugs) /bsd43/usr/lib> nm libc.a | grep wait3
  44. Symbols from libc.a[m_wait3.o]:
  45. m_wait3.s           |00000000|File    |ref=5             |      |  0|Text
  46. mips_wait3          |00000000|Proc    |end=4 btNil       |      |  1|Text
  47. mips_wait3          |00000056|End     |ref=1             |      |  3|Text
  48. m_wait3.s           |00000000|End     |ref=0             |      |  4|Text
  49. mips_wait3          |00000000|Proc    |ref=1             |      | 15|Text
  50. Symbols from libc.a[wait3.o]:
  51. wait3.c             |00000000|File    |ref=4             |      |  0|Text
  52. wait3               |00000000|Proc    |end=3 int         |      |  1|Text
  53. wait3               |00000032|End     |ref=1             |      |  2|Text
  54. wait3.c             |00000000|End     |ref=0             |      |  3|Text
  55. wait3               |00000000|Proc    |ref=1             |      |  8|Text
  56. mips_wait3          |00000000|Proc    |                  |      |  9|Undefined
  57.  
  58.  
  59. have you tried linking in the /bsd43/usr/libn/libc.a ?  give that a shot.  
  60. a hack that was done locally was to create a local lib via extracting the
  61. necessary cruft from /bsd43/usr/lib/libc.a and creating libwait3.a ...
  62.  
  63. just more noise from:
  64. -- 
  65. John Salmi        <jsalmi@uswest.com>        (303) 595-2863
  66.  
  67.    "Politically correct?  Me?  HAR HAR HAR HAR!  Don't kid yourself."
  68.