Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Michael Kraemer <M.Kraemer@gsi.de>
Subject: cc/ar/ld oddities
Date: Sun, 03 Jun 2007 21:39:56 +0200	[thread overview]
Message-ID: <f3v5eb$nj2$02$1@news.t-online.com> (raw)

hello world,

I'm currently compiling some freeware apps on 5.1B with native cc,
and I'm encountering problems which begin to drive me nuts,
since I never saw that before, neither on Tru64, nor on other Unices.
cc compiles OK and the .o's are archived in some libxxx.a
(ar -rv, ar -st). However, when I link (with cc -o) some main program
against libxxx.a, several function entry points remain unresolved.
Checking with ar -w shows, that they are indeed archived.
Inspection of the source text doesn't show anything unusual.
Linking against the original .o's works OK.
So either "ar" puts garbage into .a, or ld can't deal properly
with that .a.
This happens with several distinct projects.
Any ideas ?




                 reply	other threads:[~2007-06-03 19:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox