[7329] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Kerberos compile problems

daemon@ATHENA.MIT.EDU (A Page in the Life of David C. Kap)
Wed May 22 15:48:41 1996

Date: Wed, 22 May 1996 15:28:44 -0400 (EDT)
To: sommerfeld@apollo.hp.com
Cc: kerberos@MIT.EDU
In-Reply-To: <199605221727.AA244746070@relay.hp.com> (message from Bill Sommerfeld on Wed, 22 May 1996 13:27:35 -0400)
Reply-To: dkap@media.mit.edu
From: "A Page in the Life of David C. Kaplowitz" <dkap@media.mit.edu>

   From: Bill Sommerfeld <sommerfeld@apollo.hp.com>
      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:

   Which baselevel of v5?  The latest one I have doesn't have
   src/appl/rdist in it..

It's actually they cygnus' most recent release (4 with bugs fixed).

      cc -DVARARGS -Dconst= -g -DOS_H=\"os-hpux.h\"   -DPATH_KRB_REMSH=\"/usr/kerb
	eros/bin/rsh\" -I. -I. -I./../include -I./../config      -c vsprintf.c -o 
	vsprintf.o

      cc: "vsprintf.c", line 14: error 1588: "_IOSTRG" undefined.

   vsprintf is a standard C library function, and is in libc on HP-UX.
   There's a kludged implementation of vsprintf in terms of _doprnt() in
   src/lib/krb5/posix, but it shouldn't be included in the build on HP-UX.

   This looks like a screwup in the configure script.

   two things to investigate:

    1) do you have the ANSI C compiler installed, or are you using the
   bundled C minimal compiler which is only supported for the purpose of
   regenerating the kernel.

    2) "cc" on HP-UX defaults to K&R C.

   You should probably use either "c89" (for POSIX/ANSI C) or "cc -Ae"
   ("ANSI-Extended"); you almost certainly want the latter because there
   are some references to non-posixisms (like sockets...) in a few places
   in the code.

   You might also be able to use gcc to build the code..

Hmm, cc -Ae choked on other things and gcc died in the exact same place
with a "warning -g option not supported on this version of GCC" claiming
that `_IOSTRG' undeclared (first use this function) if it is in libc
shouldn't the common includes call it in?  Perhaps I am missing something?

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

home help back first fref pref prev next nref lref last post