Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!snorkelwacker.mit.edu!shelby!msi.umn.edu!cs.umn.edu!mermaid!cattelan From: cattelan@mermaid.micro.umn.edu (Russell Cattelan) Newsgroups: comp.sys.next Subject: cc and mutiply defined syms Message-ID: <1991Feb2.065127.9010@cs.umn.edu> Date: 2 Feb 91 06:51:27 GMT Sender: news@cs.umn.edu (News administrator) Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 23 Nntp-Posting-Host: mermaid.micro.umn.edu 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