Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SSH2 Compile Errors in upgraded RH 6.2 system



This might be some kind of configure problem. The code in question is
guarded by #ifdef HAVE_UTMPX_H, which on my ancient RedHat system is
NOT set in my SSH2 build directory. Look in /usr/include for utmpx.h.
If it's not there (maybe it was added between RH 5.2 and 6.2?)
then this is the problem.

Did you re-run configure before rebuilding?

-- Jerry

Jack Coats wrote:
> 
> I sent in a post earlier, and had a request to have the errors
> posted.
> 
> Ok, here is the last step that did compile OK, and the errors that
> appeared following.
> 
> I did an 'upgrade' of RH 6.1 to 6.2 before installing ssh.
> But am not sure that everything was really 'upgraded' properly.
> The system does seem to work OK.
> 
> ... Thanks ... Jack
> 
> 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_CRYPT_GENMAC -DSSHDIST_UTIL_COMMON
> -DSSHDIST_CRYPT_DES
> -DSSHDIST_CRYPT_GENHASH -DSSHDIST_CRYPT_MD5 -DSSHDIST_CRYPT_GENPKCS
> -DSSHDIST_CRYPT_COMPRESS -DSSHDIST_CRYPT_SHA -DSSHDIST_CRYPT_BLOWFISH
> -DSSHDIST_CRYPT_SSHMACS -DSSHDIST_CRYPT_ARCFOUR -DSSHDIST_CRYPT_DSA
> -DSSHDIST_CRYPT_HMAC -DSSHDIST_CRYPT_GENCIPH -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 `/usr/local/src/ssh-2.0.10/lib/sshsession'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/ssh-2.0.10/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/ssh-2.0.10'
> make: *** [all-recursive-am] Error 2
> [root at hinges ssh-2.0.10]#
> 
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

-- Jerry Callen                      Mobile: 617-388-3990
   Narsil                            FAX:    617-876-5331
   63 Orchard Street                 email:  jcallen at narsil.com
   Cambridge, MA 02140-1328

   PGP public keys available from http://pgp.ai.mit.edu
   fingerprints:
       DH/DSS key ID 0x1806252C: 7669 A4CD 759A 6EB7 AF04
                                 C10D B659 2A4B 1806 252C
       RSA    key ID 0x99F7AAE5: D265 DC9C 13FD 6110 
                                 30F5 1874 A206 24B1
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org