[7327] in Kerberos
Kerberos compile problems
daemon@ATHENA.MIT.EDU (A Page in the Life of David C. Kap)
Wed May 22 12:44:14 1996
Date: Wed, 22 May 1996 12:23:58 -0400 (EDT)
To: kerberos@MIT.EDU
Reply-To: dkap@media.mit.edu
From: "A Page in the Life of David C. Kaplowitz" <dkap@media.mit.edu>
Hi folks, I'm trying to compile kerberos on an HP 9000/700 running HPUX
09.03 and I am running into a slight problem ... namely in
src/src/appl/rdist/src:
cc -DVARARGS -Dconst= -g -DOS_H=\"os-hpux.h\" -DPATH_KRB_REMSH=\"/usr/kerberos/bin/rsh\" -I. -I. -I./../include -I./../config -c vsprintf.c -o vsprintf.o
cc: "vsprintf.c", line 14: error 1588: "_IOSTRG" undefined.
It seems simple enough a function, perhaps there is a library missing or
something? The function is:
#include <stdio.h>
#include <varargs.h>
extern int _doprnt();
int
vsprintf(buf, fmt, args)
char *buf;
char *fmt;
va_list args;
{
FILE strbuf;
strbuf._flag = _IOWRT + _IOSTRG;
strbuf._ptr = buf;
strbuf._cnt = 32767;
_doprnt(fmt, args, &strbuf);
putc('\0', &strbuf);
return ferror(&strbuf) ? EOF : 0;
}
Is this hp specific (I haven't had a problem compiling this on a
dec-station or alpha) or is it similar to the way one of my linux boxes
fails within the kadmin area and another doesn't?
Dave K>
--
"Now we go off again, as the Hedgehog said to the Devil."
--
L L LLLL LLLL
LL L LLL L L L L LLL
L L L L L L LL L L L
L L L LLLL L LL L L LLL
L LL L L L LL L
L L LLL LLLL LLLL L LLL
L