Compiling issues in HPUX 11.11 for 3.7.1

Darren Tucker dtucker at zip.com.au
Mon Sep 22 13:54:02 EST 2003


The openssh-unix-dev list is the correct place for questions about OpenSSH
Portable.

chi-leung.wong at nokia.com wrote:
> 
> Hi,
> 
>         Sorry to send you this issue but I haven't been able to find
> this issue anywhere on the net and we have tried to compile on a few
> HPUX 11.11 systems ending up with the same situation. We cheated so the
> compile works but does openssh function correctly? Below is a breakdown
> of the compile:
> 
> 1)      ./configure --prefix=/usr --sysconfdir=/etc/ssh
> --with-rsh=/usr/bin/oldremsh/remsh --with-tcp-wrappers
> --with-ipv4-default --with-ssl-dir=/opt/openssl --with-pam
> --with-ipaddr-display
> 
>                 goes smoothly
> 
> 2)      make
>                 compile errors: Nothing I do to change the configure
> options work. Even newest version of gcc does nothing.
> 
> gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
> -I/opt/openssl/include  -D_HPUX_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c xcrypt.c
> In file included from /usr/include/sys/user.h:52,
>                  from
> /opt/apps/gcc-v3.0.1/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.0.1/include/rpc
> /auth.h:30,
>                  from /usr/include/rpc/rpc.h:61,
>                  from /usr/include/rpcsvc/nis.h:9,
>                  from /usr/include/prot.h:23,
>                  from xcrypt.c:35:
> /usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
> xcrypt.c: In function `xcrypt':
> xcrypt.c:70: warning: passing arg 1 of `bigcrypt' discards qualifiers
> from pointer target type
> xcrypt.c:70: warning: passing arg 2 of `bigcrypt' discards qualifiers
> from pointer target type
> make[1]: *** [xcrypt.o] Error 1
> make[1]: Leaving directory
> `/disks/tousers01/chiwong/openssh/openssh-3.7.1p1/openbsd-compat'
> make: *** [openbsd-compat/libopenbsd-compat.a] Error 2
> 
> 3)      manual compile of xcrypt.c and manual defining of LABEL_T
> (cheating). Couldn't find anywhere that LABEL_T was actaully being used.
> 
>         a)  cd openbsd-compat
>         b)  gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I..
> -I. -I./.. -I/opt/openssl/include -D_HPUX_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -D_LABEL_T -c xcrypt.c
> 
> 4)      make
>                 compiles fine
> 
> Now the question. Do you see any problems this would cause to the
> stability of functionality of openssh???
> 
> Thank you for your time and thanks a lot for such a great security
> tool!!!
> 
> Cheers,
> -Alan
> 
> -==============================-
> Alan Wong
> APAC PCPS Regional Manager
> Nokia-Japan Co., Ltd.
> +81 3 5759 7314
> -==============================-


-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list