Krb5-1.4.0-beta 2 used with OpenSSH-3.9p1 - conflicts with netdb.h
Douglas E. Engert
deengert at anl.gov
Mon Dec 13 18:07:31 EST 2004
Looks like it might be my fault. I installed over a beta 1 build
which had the netdb.h at the top level. It looks like beta 2 has it
is under the gssrpc directory. I had not tried the OpenSSH with beta 1.
The code was finding the your version of netdb.h which in beta 1 was
at the wrong level.
Tom Yu wrote:
>>>>>>"deengert" == Douglas E Engert <deengert at anl.gov> writes:
>
>
> deengert> The krb5 include directory has a netdb.h that conflicts with
> deengert> the /usr/include/netdb.h
>
> deengert> While compiling OpenSSH-3.9p1 on Solaris 5.9 using the
> deengert> Krb5-1.4.0-beta2 I get the folowing errors:
>
> deengert> make[1]: Entering directory `/afs/anl.gov/appl/OpenSSH-3.9/build/sun4x_59/openbsd-compat'
> deengert> gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -O -I. -I.. -I../../src/openbsd-compat
> deengert> -I../../src/openbsd-compat/.. -I/afs/anl.gov/appl/OpenSSL-0.9.7e/sun4x_59/include
> deengert> -I/afs/anl.gov/appl/wrapper-7.6/sun4x_59/include
> deengert> -I/afs/anl.gov/appl/zlib-1.1.4/sun4x_59/include
> deengert> -DUSE_POSIX_THREADS
> deengert> -I/afs/anl.gov/appl/krb5-1.4.0/sun4x_59/krb5/include -DHAVE_CONFIG_H
> deengert> -c
> deengert> ../../src/openbsd-compat/bsd-arc4random.c
> deengert> In file included from ../../src/includes.h:154,
> deengert> from ../../src/openbsd-compat/bsd-arc4random.c:17:
> deengert> /usr/include/rpc/types.h:39: error: conflicting types for `rpcprog_t'
> deengert> /afs/anl.gov/appl/krb5-1.4.0/sun4x_59/krb5/include/gssrpc/types.h:126: error: previous declaration of `rpcprog_t'
>
> Why is OpenSSH including krb5's gssrpc headers?
>
> ---Tom
>
>
>
--
Douglas E. Engert <DEEngert at anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
More information about the krbdev
mailing list