Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!unm-la!mcormick From: mcormick@unm-la.UUCP (Patrick McCormick) Newsgroups: comp.os.minix Subject: Problems with cc (asld) Keywords: link gives unresolved references when they are there Message-ID: <1087@unm-la.UUCP> Date: 4 Mar 89 20:25:01 GMT Organization: University of New Mexico - Los Alamos Lines: 46 Hi, I've been having problems getting my C routines to link even with the most simple programs. (I'm using MINIX version 1.2.) For example, main() { printf("hello world!\n"); return(0); } compiled with the command line : $ cc -F hello.c Gives me these unresolved references : _sendrec .stop _M .trp I just recently updated libc.a through ftp and both stop.s and trp.s are present in the archive but it looks like asld can't find them -- correct, or does this error mean something else?? (What are the other two unresolved routines : _sendrec and _M?) With verbose mode on all the compilation stages go fine, I do get a .s file produced. I have tried extracting stop.s and trp.s and appending them back into the archive. When I did this, a whole new set of unresolved references popped up. The archive still appears to be fine -- there have been no corruption messages. Any ideas? Thanks for your help, Patrick McCormick mcormick@unm-la.LANL.GOV lanl!unm-la!mcormick@uunet.uu.net --or-- uunet.UU.NET!unm-la!mcormick@cs.utexas.edu