*BSD News Article 7253


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!alberta!cpsc.ucalgary.ca!xenlink!newt.cuc.ab.ca!deraadt
From: deraadt@newt.cuc.ab.ca (Theo de Raadt)
Subject: 386BSD: recompile of libc.a stderr failure
Message-ID: <DERAADT.92Oct31140402@newt.newt.cuc.ab.ca>
Sender: news@newt.cuc.ab.ca
Nntp-Posting-Host: newt
Organization: little lizard city
Date: Sat, 31 Oct 1992 21:04:02 GMT
Lines: 24

I've been attempting to recompile libc.a and have not been able to get
a clean build out of it. The most notable problem is that stderr does
not work with the new libc --
	#include <stdio.h>
	#include <errno.h>

	main()
	{
		int n;

		n = fprintf(stderr, "foo\n");
		if(n<0)
			printf("n=%d errno=%d\n", n, errno);
	}
results in
	n=-1 errno=9

I haven't checked to see what is really going on, but two make clean/make
passes on libc both resulted in the same problem. Does anyone else have
this problem?
 <tdr.
--

This space not left unintentionally unblank.		deraadt@newt.cuc.ab.ca