Another shapshot

Gert Doering gert at greenie.muc.de
Sat Nov 4 21:22:32 EST 2000


Hi,

On Sat, Nov 04, 2000 at 11:15:20AM +0100, Markus Friedl wrote:
> On Fri, Nov 03, 2000 at 05:11:19PM +0100, Gert Doering wrote:
> > gcc -o sshd sshd.o auth.o auth1.o auth2.o auth-rhosts.o auth-options.o
> > auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o dh.o pty.o
> > log-server.o login.o loginrec.o servconf.o serverloop.o md5crypt.o
> > session.o -L. -L/gnu/lib -L/gnulocal/lib -L/usr/local/lib -L/gnu/lib
> > -L/gnu -lssh -lopenbsd-compat -lnsl -lz  -lcrypto  -lskey
> > ld: 0711-317 ERROR: Undefined symbol: .auth2_skey
> > ld: 0711-317 ERROR: Undefined symbol: .skey_fake_keyinfo
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> > collect2: ld returned 8 exit status
> 
> you have to link auth2-skey.o and auth-skey.o, too.
> just edit the Makefile.

Sounds easy, but:

gd at hilb0:/gnulocal/src/openssh-SNAP-20001028> grep auth2_skey *.c *.h
auth2.c:                authenticated = auth2_skey(authctxt);
auth.h:int      auth2_skey(Authctxt *authctxt);

gd at hilb0:/gnulocal/src/openssh-SNAP-20001028> ls -l *skey*
-rw-rw-r--   1 gd       staff       5690 Oct 28 05:19 auth-skey.c

there is no auth2-skey in the SNAP-20001028.


If I link only auth-skey.o, the error message about skey_fake_keyinfo()
goes away, but the other one stays:

gcc -o sshd sshd.o auth.o auth1.o auth2.o auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o dh.o pty.o log-server.o login.o loginrec.o servconf.o serverloop.o md5crypt.o session.o auth-skey.o -L. -L/gnu/lib -L/gnulocal/lib -L/usr/local/lib -L/gnu/lib -L/gnu -lssh -lopenbsd-compat -lnsl -lz  -lcrypto  -lskey
ld: 0711-317 ERROR: Undefined symbol: .auth2_skey
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
gmake: *** [sshd] Error 1

sooo...:

 * could someone please send me auth2-skey.c (and please include it into the
   next snapshot :) )?

 * configure / configure.in should be changed so that auth*-skey.o are
   automatically included in SSHDOBJS.  

thanks,

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de





More information about the openssh-unix-dev mailing list