Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* extra lib member not found by ld when -g used.
@ 1997-07-24  4:00 Christopher Grayce
  1997-07-24  4:00 ` Ron Natalie
  1997-08-01  4:00 ` Craig Neth USG
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Grayce @ 1997-07-24  4:00 UTC (permalink / raw)



Hi all:

System: Digital Unix 3.2C on AlphaStation 600.
Compiler: stock Digital C compiler/loader version 3.11

I am compiling C source and linking against several libraries
of my own.  The libraries have been compiled with these flags:

-O4 -D_FASTMATH -migrate -ansi_alias -inline speed -ifo -tune ev5 -assu
me noaccuracy_sensitive -std1 

If I compile the program with the same flags, all is well.  If I
use -g, however (so I can debug it), I get this loader error:

ld:
Unresolved:
_OtsMove
*** Exit 1
Stop.

and indeed, an "nm" on one of the libraries turns up an entry for
_OtsMove.  Needless to say none of my programs have that name.

My question:  what is _OtsMove?  Why does the loader find it if
I use the optimizing flags and not without?  How can I avoid this
problem *without* recompiling the libraries?  (I don't need to
debug 'em, I know they work.)

Any help appreciated.

Christopher Grayce
UCI Department of Chemistry

*** Return address bogus to avoid spammail: send replies
    to cgrayce (at) uci (dot) edu ***



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-08-01  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-24  4:00 extra lib member not found by ld when -g used Christopher Grayce
1997-07-24  4:00 ` Ron Natalie
1997-08-01  4:00 ` Craig Neth USG

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