Article View: comp.sys.next.programmer
Article #1047ld not recognizing ar/ranlib archives
From: Steven R. Staton
Date: Tue, 01 Sep 1992 15:10
Date: Tue, 01 Sep 1992 15:10
17 lines
1171 bytes
1171 bytes
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 |
Technical Details
Message-ID:
<1992Sep1.151041.15826@micrografx.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.oc.com!utacfd.uta.edu!rwsys!gtenext1!mgx!sstatonShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!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