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