Hi,
I am getting a error relating to WTMP when installing SSH on RedHat Linux
6. Has anyone else had this problem?, and/or can give me some clues on how
to get around it? It happens on two seperate machines one of which is a
clean install.
I am doing exactly as the readme says
./configure (works)
make (works up until ../lib/sshsession/wtmp
Here is a snip from the make output.
Making all in sshsession
make[3]: Entering directory `/root/source/SSH/ssh-2.0.9/lib/sshsession'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -I. -I../sshutil
-I./../sshutil -DSSHDIST_UTIL_PACKETSTREAM -DSSHDIST_CRYPT_DL
-DSSHDIST_CRYPT_DLKEX -DSSHDIST_CRYPT_RIPEMD160 -DSSHDIST_MATH_ASM_I386
-DSSHDIST_CRYPT_GENMAC -DSSHDIST_UTIL_COMMON -DSSHDIST_CRYPT_DES
-DSSHDIST_CRYPT_GENHASH -DSSHDIST_CRYPT_MD5 -DSSHDIST_CRYPT_GENPKCS
-DSSHDIST_CRYPT_COMPRESS -DSSHDIST_MATH_ASM -DSSHDIST_CRYPT_SHA
-DSSHDIST_IPSEC_NETBSD -DSSHDIST_CRYPT_SSHMACS -DSSHDIST_CRYPT_ARCFOUR
-DSSHDIST_CRYPT_DSA -DSSHDIST_CRYPT_HMAC -DSSHDIST_CRYPT_GENCIPH
-DSSHDIST_ISAKMP_CFG_MODE -DSSHDIST_CRYPT_DH -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/source/SSH/ssh-2.0.9/lib/sshsession'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/source/SSH/ssh-2.0.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/source/SSH/ssh-2.0.9'
make: *** [all-recursive-am] Error 2
TIA
Travers