HP3000-L Archives

March 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Thu, 5 Mar 1998 15:02:50 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Chris Breemer writes:
> BTW Anybody know of a way to tell the linker to flag unresolved
> externals as an error ?

I wish.

> My makefiles trot on happily after linking a
> program with unresolveds - and generate lots of problems
> later on because of it. They're just stupid UNIX makefiles that do
> not know about runtime binding ;-)

This issue is a big problem when porting Unix autoconfigure scripts that
compile test programs to check for various external symbols and expect the
compile/link to fail in error if any symbols are unresolved.

The MPE workaround is to try executing your program after the compile/link; if
it fails to execute, you assume you have unresolved externals.
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2