Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* ssh-2.0.11 on RH 6.0
@ 1999-05-28  4:00 Helmut Katzgraber
  1999-05-28  4:00 ` Anthony J. Gabrielson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Helmut Katzgraber @ 1999-05-28  4:00 UTC (permalink / raw)




has anybody tried to compile ssh-2.0.11 on rh 6.0? it does not work any
longer (used to with rh 5.x)

here some output:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../.. -I../..
-I../sshutil -I./../sshutil  -g -Wall -c wtmp.c
wtmp.c: In function `ssh_user_record_login':
wtmp.c:376: warning: flag `0' used with type `s'
wtmp.c:380: warning: flag `0' used with type `s'
wtmp.c:405: structure has no member named `ut_syslen'
wtmp.c:406: structure has no member named `e_termination'
wtmp.c:407: structure has no member named `e_exit'
wtmp.c:419: warning: implicit declaration of function `updwtmpx'
wtmp.c:419: `WTMPX_FILE' undeclared (first use in this function)
wtmp.c:419: (Each undeclared identifier is reported only once
wtmp.c:419: for each function it appears in.)
make[3]: *** [wtmp.o] Error 1
make[3]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib/sshsession'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/install/ssh/ssh-2.0.11'
make: *** [all-recursive-am] Error 2


thanks for any suggesttions, h.

--
==========================================================================
        Helmut G. Katzgraber            mail:   dummkopf@debussy.ucsc.edu
        Physics Department              http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California             Phone:  (+1) 831-459-4762 OF
        Santa Cruz, CA 95064                    (+1) 831-423-3751 HOME
        USA                             Fax:    (+1) 831-459-3043
==========================================================================






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-28  4:00 ssh-2.0.11 on RH 6.0 Helmut Katzgraber
@ 1999-05-28  4:00 ` Anthony J. Gabrielson
  1999-05-31  4:00   ` Jones Begone
  1999-05-30  4:00 ` Matthias Welwarsky
  1999-05-30  4:00 ` Matthias Welwarsky
  2 siblings, 1 reply; 7+ messages in thread
From: Anthony J. Gabrielson @ 1999-05-28  4:00 UTC (permalink / raw)
  To: Helmut Katzgraber

Hello,
	Have you tried the latest version of ssh 2.x - I don't remeber the
exact version number but I know there is a newer version than that.


Anthony

On Fri, 28 May 1999, Helmut Katzgraber wrote:

> 
> 
> has anybody tried to compile ssh-2.0.11 on rh 6.0? it does not work any
> longer (used to with rh 5.x)
> 
> here some output:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../.. -I../..
> -I../sshutil -I./../sshutil  -g -Wall -c wtmp.c
> wtmp.c: In function `ssh_user_record_login':
> wtmp.c:376: warning: flag `0' used with type `s'
> wtmp.c:380: warning: flag `0' used with type `s'
> wtmp.c:405: structure has no member named `ut_syslen'
> wtmp.c:406: structure has no member named `e_termination'
> wtmp.c:407: structure has no member named `e_exit'
> wtmp.c:419: warning: implicit declaration of function `updwtmpx'
> wtmp.c:419: `WTMPX_FILE' undeclared (first use in this function)
> wtmp.c:419: (Each undeclared identifier is reported only once
> wtmp.c:419: for each function it appears in.)
> make[3]: *** [wtmp.o] Error 1
> make[3]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib/sshsession'
> 
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/install/ssh/ssh-2.0.11'
> make: *** [all-recursive-am] Error 2
> 
> 
> thanks for any suggesttions, h.
> 
> --
> ==========================================================================
>         Helmut G. Katzgraber            mail:   dummkopf@debussy.ucsc.edu
>         Physics Department              http://debussy.ucsc.edu/~dummkopf
>         Kerr Hall
>         Univ. of California             Phone:  (+1) 831-459-4762 OF
>         Santa Cruz, CA 95064                    (+1) 831-423-3751 HOME
>         USA                             Fax:    (+1) 831-459-3043
> ==========================================================================
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-28  4:00 ssh-2.0.11 on RH 6.0 Helmut Katzgraber
  1999-05-28  4:00 ` Anthony J. Gabrielson
  1999-05-30  4:00 ` Matthias Welwarsky
@ 1999-05-30  4:00 ` Matthias Welwarsky
  2 siblings, 0 replies; 7+ messages in thread
From: Matthias Welwarsky @ 1999-05-30  4:00 UTC (permalink / raw)
  To: Helmut Katzgraber

Helmut Katzgraber wrote:
> 
> has anybody tried to compile ssh-2.0.11 on rh 6.0? it does not work any
> longer (used to with rh 5.x)
> 
> here some output:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../.. -I../..
> -I../sshutil -I./../sshutil  -g -Wall -c wtmp.c
> wtmp.c: In function `ssh_user_record_login':
> wtmp.c:376: warning: flag `0' used with type `s'
> wtmp.c:380: warning: flag `0' used with type `s'
> wtmp.c:405: structure has no member named `ut_syslen'
> wtmp.c:406: structure has no member named `e_termination'
> wtmp.c:407: structure has no member named `e_exit'
> wtmp.c:419: warning: implicit declaration of function `updwtmpx'
> wtmp.c:419: `WTMPX_FILE' undeclared (first use in this function)
> wtmp.c:419: (Each undeclared identifier is reported only once
> wtmp.c:419: for each function it appears in.)

Check this: 
You need to set -D_GNU_SOURCE when compiling, otherwise utmpx has no
e_termination or e_exit member. GLIBC funnies. 

Concerning "ut_syslen": "configure" checks for ut_syslen in utmpx and
#defines HAVE_SYSLEN_IN_UTMPX, and its use is guarded by an #ifdef/endif
bracket within the source. But as of ssh-1.2.26 theres an extra access
to ut_syslen outside such a bracket and thus the compiler bailes out.
Here's a patch against login.c from ssh-1.2.26, maybe this error slipped
into wtmp.c of ssh-2.

--- login.c.orig        Sat May 29 12:39:42 1999
+++ login.c     Sat May 29 12:40:00 1999
@@ -434,7 +434,6 @@
     ux.ut_session = pid;
     strncpy(ux.ut_host, host, sizeof(ux.ut_host));
     ux.ut_host[sizeof(ux.ut_host) - 1] = 0;
-    ux.ut_syslen = strlen(ux.ut_host);
 #ifdef HAVE_SYSLEN_IN_UTMPX
     ux.ut_syslen = strlen(ux.ut_host);
 #endif

Gruss,
	Matthias



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-28  4:00 ssh-2.0.11 on RH 6.0 Helmut Katzgraber
  1999-05-28  4:00 ` Anthony J. Gabrielson
@ 1999-05-30  4:00 ` Matthias Welwarsky
  1999-05-30  4:00   ` Helmut Katzgraber
  1999-05-30  4:00 ` Matthias Welwarsky
  2 siblings, 1 reply; 7+ messages in thread
From: Matthias Welwarsky @ 1999-05-30  4:00 UTC (permalink / raw)


Helmut Katzgraber wrote:
> 
> has anybody tried to compile ssh-2.0.11 on rh 6.0? it does not work any
> longer (used to with rh 5.x)
> 
> here some output:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../.. -I../..
> -I../sshutil -I./../sshutil  -g -Wall -c wtmp.c
> wtmp.c: In function `ssh_user_record_login':
> wtmp.c:376: warning: flag `0' used with type `s'
> wtmp.c:380: warning: flag `0' used with type `s'
> wtmp.c:405: structure has no member named `ut_syslen'
> wtmp.c:406: structure has no member named `e_termination'
> wtmp.c:407: structure has no member named `e_exit'
> wtmp.c:419: warning: implicit declaration of function `updwtmpx'
> wtmp.c:419: `WTMPX_FILE' undeclared (first use in this function)
> wtmp.c:419: (Each undeclared identifier is reported only once
> wtmp.c:419: for each function it appears in.)

Check this: 
You need to set -D_GNU_SOURCE when compiling, otherwise utmpx has no
e_termination or e_exit member. GLIBC funnies. 

Concerning "ut_syslen": "configure" checks for ut_syslen in utmpx and
#defines HAVE_SYSLEN_IN_UTMPX, and its use is guarded by an #ifdef/endif
bracket within the source. But as of ssh-1.2.26 theres an extra access
to ut_syslen outside such a bracket and thus the compiler bailes out.
Here's a patch against login.c from ssh-1.2.26, maybe this error slipped
into wtmp.c of ssh-2.

--- login.c.orig        Sat May 29 12:39:42 1999
+++ login.c     Sat May 29 12:40:00 1999
@@ -434,7 +434,6 @@
     ux.ut_session = pid;
     strncpy(ux.ut_host, host, sizeof(ux.ut_host));
     ux.ut_host[sizeof(ux.ut_host) - 1] = 0;
-    ux.ut_syslen = strlen(ux.ut_host);
 #ifdef HAVE_SYSLEN_IN_UTMPX
     ux.ut_syslen = strlen(ux.ut_host);
 #endif

Gruss,
	Matthias



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-30  4:00 ` Matthias Welwarsky
@ 1999-05-30  4:00   ` Helmut Katzgraber
  0 siblings, 0 replies; 7+ messages in thread
From: Helmut Katzgraber @ 1999-05-30  4:00 UTC (permalink / raw)




thanks. i'll try that.

gruesse aus californien,

h.

--
==========================================================================
        Helmut G. Katzgraber            mail:   dummkopf@debussy.ucsc.edu
        Physics Department              http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California             Phone:  (+1) 831-459-4762 OF
        Santa Cruz, CA 95064                    (+1) 831-423-3751 HOME
        USA                             Fax:    (+1) 831-459-3043
==========================================================================






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-28  4:00 ` Anthony J. Gabrielson
@ 1999-05-31  4:00   ` Jones Begone
  1999-05-31  4:00     ` Helmut Katzgraber
  0 siblings, 1 reply; 7+ messages in thread
From: Jones Begone @ 1999-05-31  4:00 UTC (permalink / raw)


I used ssh-2.0.13.tar.gz and it complies fine on RH 6.0.

-=drex=-


"Anthony J. Gabrielson" wrote:
> 
> Hello,
>         Have you tried the latest version of ssh 2.x - I don't remeber the
> exact version number but I know there is a newer version than that.
> 
> Anthony
> 
> On Fri, 28 May 1999, Helmut Katzgraber wrote:
> 
> >
> >
> > has anybody tried to compile ssh-2.0.11 on rh 6.0? it does not work any
> > longer (used to with rh 5.x)
> >
> > here some output:
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../.. -I../..
> > -I../sshutil -I./../sshutil  -g -Wall -c wtmp.c
> > wtmp.c: In function `ssh_user_record_login':
> > wtmp.c:376: warning: flag `0' used with type `s'
> > wtmp.c:380: warning: flag `0' used with type `s'
> > wtmp.c:405: structure has no member named `ut_syslen'
> > wtmp.c:406: structure has no member named `e_termination'
> > wtmp.c:407: structure has no member named `e_exit'
> > wtmp.c:419: warning: implicit declaration of function `updwtmpx'
> > wtmp.c:419: `WTMPX_FILE' undeclared (first use in this function)
> > wtmp.c:419: (Each undeclared identifier is reported only once
> > wtmp.c:419: for each function it appears in.)
> > make[3]: *** [wtmp.o] Error 1
> > make[3]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib/sshsession'
> >
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/install/ssh/ssh-2.0.11/lib'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/install/ssh/ssh-2.0.11'
> > make: *** [all-recursive-am] Error 2
> >
> >
> > thanks for any suggesttions, h.
> >
> > --
> > ==========================================================================
> >         Helmut G. Katzgraber            mail:   dummkopf@debussy.ucsc.edu
> >         Physics Department              http://debussy.ucsc.edu/~dummkopf
> >         Kerr Hall
> >         Univ. of California             Phone:  (+1) 831-459-4762 OF
> >         Santa Cruz, CA 95064                    (+1) 831-423-3751 HOME
> >         USA                             Fax:    (+1) 831-459-3043
> > ==========================================================================
> >
> >
> >
> >
> >



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ssh-2.0.11 on RH 6.0
  1999-05-31  4:00   ` Jones Begone
@ 1999-05-31  4:00     ` Helmut Katzgraber
  0 siblings, 0 replies; 7+ messages in thread
From: Helmut Katzgraber @ 1999-05-31  4:00 UTC (permalink / raw)




indeed 2.0.13 compiles. i wanted to have the same version than the
department.... now i upgraded the whole department to 2.0.13

; )

h.

--
==========================================================================
        Helmut G. Katzgraber            mail:   dummkopf@debussy.ucsc.edu
        Physics Department              http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California             Phone:  (+1) 831-459-4762 OF
        Santa Cruz, CA 95064                    (+1) 831-423-3751 HOME
        USA                             Fax:    (+1) 831-459-3043
==========================================================================






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-05-31  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-28  4:00 ssh-2.0.11 on RH 6.0 Helmut Katzgraber
1999-05-28  4:00 ` Anthony J. Gabrielson
1999-05-31  4:00   ` Jones Begone
1999-05-31  4:00     ` Helmut Katzgraber
1999-05-30  4:00 ` Matthias Welwarsky
1999-05-30  4:00   ` Helmut Katzgraber
1999-05-30  4:00 ` Matthias Welwarsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox