[7336] in Kerberos
Re: Kerberos compile problems
daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Thu May 23 04:44:29 1996
To: dkap@media.mit.edu
Cc: kerberos@MIT.EDU
In-Reply-To: dkap's message of Wed, 22 May 1996 12:23:58 -0400.
<199605221623.MAA05045@dune.media.mit.edu>
Date: Wed, 22 May 1996 13:27:35 -0400
From: Bill Sommerfeld <sommerfeld@apollo.hp.com>
-----BEGIN PGP SIGNED MESSAGE-----
content-type: text/plain; charset=us-ascii
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..
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..
- Bill
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMaNOgFpj/0M1dMJ/AQG4uQP8CZNFRLRh99tcqQaMqhMISJ4eGsAGgf5i
6R1gqyY7CzGQhEHFl73+e6mwj7FNz62VzalmKaNZFpIgXKGxXnSq8mtwkpDS8jpR
14yUhmUrf1oKtrQFm7T79Nf/DDf0XyvF29nyjlWh3t3KODZA7FA7WZjnAmcfB2RM
0aHU/kki2xU=
=Jtjp
-----END PGP SIGNATURE-----