HP-UX 10.20 assistance

Darren Cole dcole at keysoftsys.com
Wed Oct 22 05:25:48 EST 2003


	I have gotten it to compile on hp-ux 10.26 with gcc 3.3.1. and gmake 
3.74.  I don't know what version of openssl I used, but I think it was 
the latest as of a few weeks ago.  Once compiled only the client works 
correctly.  sshd doesn't work (at least not built straight from 
openssh's source).  So I'm not seeing the compile problems you describe 
(maybe 10.26 is enough different not to have that set of problems).  Of 
course once you get it compiling your more likely to have a working 
sshd as 10.26 sshd problems have generally been because of the Trusted 
CMW features.

	I suppose you could try setting DISABLE_LASTLOG in your config.h, but 
since I'm not having the problem I am only guessing.  The comments say 
that will disable ever trying to get lastlog info.  Looking at the 
loginrec.c I am guessing that lastlog structs are giving you problems.  
Might get you compiling even if ultimately it isn't the final solution.

On Monday, Oct 20, 2003, at 22:40 US/Pacific, Robert M. Beswick wrote:

> To Whomever can assist,
> I am looking for anyone who has gotten OpenSsh 3.7.1p2 to build under
> HP-UX 10.20.  I am working with the latest gcc (v. 3.3.1), gmake (v. 
> 3.80),
> and Openssl (0.9.7c) and I still can not get OpenSsh to build properly.
> It errors out on the build process with a:
> loginrec.c:1405: dereferencing pointer to incomplete type
> cing pointer to incomplete type
> loginrec.c:1514: dereferencing pointer to incomplete type
> loginrec.c: In function `lastlog_get_entry':
> loginrec.c:1520: storage size of `last' isn't known
> loginrec.c:1520: warning: unused variable `last'
> gmake: *** [loginrec.o] Error 1
> I use a configure line of:
> (although just a blank ./configure doesn't work ether)
>   $ ./configure --with-ssl-dir=/adm --with-rsh=/usr/bin/remsh 
> --with-tcp-wrapper
> s --bindir=/adm/sbin --libexecdir=/adm/sbin --prefix=/adm 
> --with-prngd-socket=/v
> ar/run/egd-pool 
> --with-default-path=/adm/sbin:/usr/sbin:/usr/lbin:/usr/bin --wit
> h-xauth=/usr/bin/X11/xauth --with-pid-dir=/var/run
> and config.log records:
> uname -m = 9000/782
> uname -r = B.10.20
> uname -s = HP-UX
> uname -v = A
> Are there some sort of special flags or libraries I need to add to the 
> mix?
> Does anyone have configs or Makefiles that could point me the way to
> getting this to work? Perhaps a logfile or two?
> I will be happy to send gobs of info to anyone who is interested.
> Any assistance would be greatly appreciated.
> -Robert Beswick
> -----------------------------------------------------------------------
> Robert Beswick,                       Jet Propulsion Laboratory/NASA
> Multi-Mission Navigation Operations,  M/S: 230-205, 4800 Oak Grove Dr.
> System and Network Administration.    Pasadena, CA 91109-8099
> -----------------------------------------------------------------------
> Office: 1-818-393-0539 (230-201GA)
> Pager: 1-800-759-8888, pin #: 1365304, option 1#
> E-Mail: rmb at miranda.jpl.nasa.gov
> -----------------------------------------------------------------------
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
   Darren Cole
   email: dcole at keysoftsys.com
   alternate email: virr at virr.net

More information about the openssh-unix-dev mailing list