Problem building OpenSSH-1.2.2 on HP-UX

Otmar Stahl O.Stahl at lsw.uni-heidelberg.de
Tue Feb 1 02:45:41 EST 2000


On Mon, Jan 31, 2000 at 03:37:30PM +0000, Andre Lucas wrote:
> Is it possible you could send the compiler errors for the unedited
> OpenSSH 1.2.2, and the contents of config.h after running configure?

Thank you for the fast reply!

I attach config.h

The first compiler error is:

        gcc -g -O2 -Wall -I/usr/local/ssl/include -D_HPUX_SOURCE
-DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\"
-DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H
-c login.c
login.c:236: parse error before &'
login.c:236: warning: type defaults to int' in declaration of login'
login.c:236: conflicting types for login'
bsd-login.h:12: previous declaration of login'
login.c:236: warning: data definition has no type or storage class
*** Error exit code 1
 
 Stop.   

After commenting line 236, I get:

        gcc -g -O2 -Wall -I/usr/local/ssl/include -D_HPUX_SOURCE
-DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\"
-DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H
-c login.c
login.c:272: parse error before }'
*** Error exit code 1
 
 Stop. 
 
Kind regards,
Otmar

> Ta,
> -Andre
> 
> Otmar Stahl wrote:
> > 
> > Hi,
> > 
> > Just wanted to let you know, that I had a small problem when compiling
> > OpenSSH-1.2.2 on a HP-UX 10.20 trusted system. I used gcc-2.95.2 as
> > compiler. I finally could compile it, but I had to comment two lines in
> > login.c. (I am using openssl-0.9.4 and egd-0.6, if this matters.)
> > 
> > line 236:
> > 
> >      login(&u, &utx);
> > 
> > and the closing brace in line 272.
> > 
> > Commenting these two lines it compiled ok and also seems to run fine.
> > 
> > Kind regards,
> > Otmar Stahl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20000131/68c8e065/attachment.h 


More information about the openssh-unix-dev mailing list