compile error in hp-ux 11.23PA system with OpenSSH4.7p1

leanne njleanne at hotmail.com
Tue Nov 13 14:04:10 EST 2007


 
Hi all,
 
I am compiling the OpenSSH4.7p1 on hp-ux PA11.23 system, however, it gives the following bug:
cc +DD64 -I. -I. -I../include/openssl -I../include/tcpwrap -I../include/zlib  -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local/include -I../include/gssapi -DSSHDIR=\"/opt/ssh/etc\"  -D_PATH_SSH_PROGRAM=\"/opt/ssh/bin/ssh\"  -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/ssh/libexec/ssh-askpass\"  -D_PATH_SFTP_SERVER=\"/opt/ssh/libexec/sftp-server\"  -D_PATH_SSH_KEY_SIGN=\"/opt/ssh/libexec/ssh-keysign\"  -D_PATH_SSH_PIDDIR=\"/var/run\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"  -DSSH_RAND_HELPER=\"/opt/ssh/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -D__HP1123PA -DHP1123PA -c gss-serv-krb5.ccpp: "/usr/include/sys/xti.h", line 332: warning 2001: Redefinition of macro T_NULL.cpp: "/usr/include/sys/xti.h", line 341: warning 2001: Redefinition of macro T_UNSPEC.cc: "/usr/include/gssapi_krb5.h", line 54: error 1000: Unexpected symbol: "OM_uint32".cc: "/usr/include/gssapi_krb5.h", line 54: warning 557: Missing declaration specifiers, "int" assumed.cc: "/usr/include/gssapi_krb5.h", line 59: error 1000: Unexpected symbol: "OM_uint32".cc: "/usr/include/gssapi_krb5.h", line 59: warning 557: Missing declaration specifiers, "int" assumed.cc: "/usr/include/gssapi_krb5.h", line 64: error 1000: Unexpected symbol: "OM_uint32".cc: "/usr/include/gssapi_krb5.h", line 64: warning 557: Missing declaration specifiers, "int" assumed.
 
I checked the krb5client verison is:
# what /usr/lib/libkrb5.sl/usr/lib/libkrb5.sl:         $Revision: jazz @ 20070615.13:01:57IST; jmkvw -proj commands -RW -c Task: krbclnt_NCF_1.3.5.07 shuklahi_krbclnt_NCF_1.3.5.07 r11.23(R11.23_BL2007_0610) eso3_shuklahi_krbclnt_ncf_1.3.5.07(auto) ;        HP Kerberos V5 1.3.5.07 Module: libkrb5.sl Date: Jun 15 2007 13:02:00
 
Although it says that gssapi_krb5.h has an unexpected symbol, but at last, I compile successfully by adding a line in the gss-serv-krb5.c:
--- gss-serv-krb5.c.bak 2007-11-08 11:25:34 +0800+++ gss-serv-krb5.c 2007-11-07 15:05:26 +0800@@ -28,6 +28,7 @@  #ifdef GSSAPI #ifdef KRB5+#define GSS_DLLIMP  #include <sys/types.h> 
So is it a OpenSSH bug or a kerberos bug? If it's a OpenSSH bug, can you research it?
 
Thanks!!
 
 
Best Regards
Lv Liangying
 

_________________________________________________________________
Windows Live Spaces 中最年轻的成员!
http://miaomiaogarden2007.spaces.live.com/


More information about the openssh-unix-dev mailing list