compiling openssh with skey? Fails on redhat linux

Steven G. Smith Steven.G.Smith.1 at gsfc.nasa.gov
Thu Jul 27 05:06:04 EST 2000


If I configure openssh-2.1.1p4 with the --with-skey option on a Redhat
Linux 6.2 system which has openssl-0.9.5a and skey (the logdaemon 6.2
version) installed, the compile fails with the following errors:

auth1.c: In function `do_authloop':
auth1.c:331: warning: implicit declaration of function `skey_keyinfo'
auth1.c:331: warning: initialization makes pointer from integer without
a cast
auth1.c:353: warning: implicit declaration of function `skey_haskey'
auth1.c:354: warning: implicit declaration of function `skey_passcheck'

session.c: In function `do_authenticated':
session.c:159: warning: `type' might be used uninitialized in this
function
session.c:195: warning: `success' might be used uninitialized in this
function
auth1.o: In function `do_fake_authloop1':
auth1.c:101: undefined reference to `skey_fake_key
info'
auth1.o: In function `do_authloop':
auth1.c:331: undefined reference to `skey_keyinfo'
auth1.c:334: undefined reference to `skey_fake_key
info'
auth1.c:353: undefined reference to `skey_haskey'
auth1.c:353: undefined reference to `skey_passcheck'

Also, the file auth-skey.c which is included with the source is not
referenced in the Makefile constructed by the configure command, and if
inserted by hand it fails to compile with many undefined values:

auth-skey.c: In function `auth_skey_password':
auth-skey.c:20: warning: implicit declaration of function `skey_keyinfo'
auth-skey.c:20: warning: initialization makes pointer from integer
without a cast
auth-skey.c:30: warning: implicit declaration of function `skey_haskey'
auth-skey.c:31: warning: implicit declaration of function
`skey_passcheck'
auth-skey.c: In function `skey_fake_keyinfo':
auth-skey.c:70: `SKEY_MAX_SEED_LEN' undeclared (first use in this
function)
auth-skey.c:70: (Each undeclared identifier is reported only once
auth-skey.c:70: for each function it appears in.)
auth-skey.c:71: `SKEY_MAX_PW_LEN' undeclared (first use in this
function)
auth-skey.c:71: size of array `pbuf' has non-integer type
auth-skey.c:72: `SKEY_MAX_CHALLENGE' undeclared (first use in this
function)
auth-skey.c:72: size of array `skeyprompt' has non-integer type
auth-skey.c:108: `_SKEY_RAND_FILE_PATH_' undeclared (first use in this
function)
auth-skey.c:161: `SKEY_MAX_HASHNAME_LEN' undeclared (first use in this
function)
auth-skey.c:162: warning: implicit declaration of function
`skey_get_algorithm'auth-skey.c:164: warning: field width is not type
int (arg 4)
auth-skey.c:164: warning: format argument is not a pointer (arg 5)
auth-skey.c:164: warning: field width is not type int (arg 7)
auth-skey.c:186: warning: field width is not type int (arg 4)
auth-skey.c:186: warning: format argument is not a pointer (arg 5)
auth-skey.c:186: warning: field width is not type int (arg 7)

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                          Steven G Smith
    Room:  317                            Raytheon
    Phone: 301-794-3026                   4500 Forbes Boulevard
    FAX:   301-794-3165                   Lanham, MD 20704





More information about the openssh-unix-dev mailing list