home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5944 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.oc.com!utacfd.uta.edu!rwsys!gtenext1!mgx!sstaton
  3. From: sstaton@micrografx.com (Steven R. Staton)
  4. Subject: ld not recognizing ar/ranlib archives
  5. Message-ID: <1992Sep1.151041.15826@micrografx.com>
  6. Sender: sstaton@micrografx.com
  7. Organization: Micrografx, Inc.
  8. Date: Tue, 1 Sep 92 15:10:41 GMT
  9. Lines: 17
  10.  
  11. When I build an archive (library) using 'ar r <objectfilelist>' and then  
  12. run ranlib on it, I cannot link the object modules into any code.  ld  
  13. reports:
  14.  
  15. /bin/ld: table of contents for archive: /usr/lib/libTest.a is out of date;  
  16. rerun ranlib(1) (can't load from it)
  17.  
  18. When I build the f2c package, it does the exact same thing except that I  
  19. can link the libF77 and libI77 libraries without incident.  The only  
  20. difference between how f2c makes it's libraries is in the source; ie. no  
  21. difference in the methodology.
  22.  
  23. Does anyone know what secret ingredient I am missing?
  24. -- 
  25.      Steven R. Staton      |   The two most common things in the
  26.      Micrografx, Inc.      | Universe are Dark Matter and Stupidity
  27.   sstaton@micrografx.com   |
  28.