home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / programm / 7887 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.4 KB

  1. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
  2. From: louie@sayshell.umd.edu (Louis A. Mamakos)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Unresolved references when linking
  5. Date: 23 Dec 1992 01:22:25 GMT
  6. Organization: University of Maryland, College Park
  7. Lines: 25
  8. Message-ID: <1h8f0hINNota@ni.umd.edu>
  9. References: <1992Dec22.173036.7075@murdoch.acc.Virginia.EDU>
  10. NNTP-Posting-Host: sayshell.umd.edu
  11.  
  12. In article <1992Dec22.173036.7075@murdoch.acc.Virginia.EDU> quarrie@cds001.cebaf.gov (David Quarrie) writes:
  13. >--
  14. >The following is relevant to NeXTSTEP3.0.
  15.  
  16. And, actually NeXTSTEP 2.x and earlier, too.
  17.  
  18. >I'm experiencing problems with unresolved references when using archives (.a).
  19. >This isn't just my own .a files, but also libX11.a for X-Windows. As far as
  20. >I can ascertain, it's a problem with global symbols instead of global routines
  21. >and can be illustrated by the following (I haven't actually done the following
  22. >since I'm not in front of my NeXT but I think it should illustrate the
  23. >problem):
  24.  
  25. [...example omitted...]
  26.  
  27. >Am I doing something stupid? Is it a case of RTFM? So far I've managed to force
  28. >linking to succeed by extracting the appropriate .o files from the library
  29. >and explicitly linking them, but I wouldn't have thought I should need to do 
  30. >that. 
  31.  
  32. Stupid?  Well, I don't think so.  Yes, RTFM, specifically 'man
  33. ranlib'.  I think the -c option will do what you need.
  34.  
  35.  
  36. louie
  37.