OpenSSH+GSSAPI & HP/UX 11i...

Douglas E. Engert deengert at anl.gov
Fri Feb 25 06:53:19 EST 2005


This might be a little late, but I went back to see why we do not have
this problem with HP.

In the install for krb5, we add a symlink gssapi.h -> ./gssapi/gssapi.h
in the krb5 include directory.

# On HP there is a /usr/include/gssapi.h we need to find the
# /krb5/gssapi/gssapi.h first.
# OpenSSH depends on this
ln -s ./gssapi/gssapi.h $dest/krb5/include/gssapi.h


Peter Losher wrote:

> I am trying to transition several HP/UX 11i (PA/RISC) servers from
> ssh.com over to OpenSSH+GSSAPI (3.9p1) and it's complaining about the
> GSSAPI include files:
> 
> -=-
> gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
> -I/usr/local/ssl/include  -D_HPUX_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local/krb5/include
> -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"
> -D_PATH_SSH_PIDDIR=\"/var/run\"
> -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
> -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H
> -c gss-genr.c
> In file included from ssh-gss.h:44,
>                  from monitor_wrap.h:60,
>                  from gss-genr.c:35:
> /usr/local/krb5/include/gssapi/gssapi_generic.h:46: error: syntax error
> before "extern"
> /usr/local/krb5/include/gssapi/gssapi_generic.h:47: error: syntax error
> before "extern"
> /usr/local/krb5/include/gssapi/gssapi_generic.h:48: error: syntax error
> before "extern"
> /usr/local/krb5/include/gssapi/gssapi_generic.h:50: error: syntax error
> before "extern"
> gmake: *** [gss-genr.o] Error 1
> -=-
> 
> The compiler is gcc 3.4.0, the Krb5 install is MIT-Krb5 1.3.6.  Has
> anyone encountered this and is this a bug?  (none of the other platforms
> I use have encountered this, so this may also be a gcc bug)
> 
> Best Wishes - Peter
> -- 
> Peter_Losher at isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev

-- 

  Douglas E. Engert  <DEEngert at anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444




More information about the openssh-unix-dev mailing list