[comp.sys.next] cc and mutiply defined syms

cattelan@mermaid.micro.umn.edu (Russell Cattelan) (02/02/91)

Well I just got one of our cubes upgraded to 2.0, and one the first
problems I noticed the that I can't rlogin. No error messages
but it just sits there. 

So after trying to rlogin as me (which has csh as its shell) I 
decided that it must be a problem with tcsh. 
Since the version of tcsh I have is from 1.0 I decided to recompile it
well everything was going as expected until it went to do the final link
and I start getting messages about calloc, malloc, realloc, and free 
being mutilply defined against /lib/libsys_s.a. 

I said ok since this the new cc had position independant code the loader
must want to set map entries, and make these standard functions 
dynamically loaded at run time. 

So I figured the solution would be to make it static.
But after lots of RTFM I haven't found an ovious solution.

Does any body know how for force the loader to statically link in the
alternate functions. 

-Russell Cattelan
cattelan@cs.umn.edu