[comp.os.minix] Problems with cc

mcormick@unm-la.UUCP (Patrick McCormick) (03/05/89)

	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