[buug] [SCO] ssh compile errors from ssh-1.2.27 tar

Rick Moen rick at linuxmafia.com
Tue Jan 2 17:12:09 PST 2001


begin Bill Schoolcraft quotation:

> gcc -pipe  -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-
> rh-rsa.o pty.o  log-server.o login.o hostfile.o canohost.o servconf.o
> tildexpa nd.o  serverloop.o  idea.o  rsa.o randoms.o md5.o buffer.o
> emulate.o packet.o compress.o  xmalloc.o ttymodes.o newchannels.o
> bufaux.o authfd.o authfile.o  c rc32.o rsaglue.o cipher.o des.o
> match.o arcfour.o mpaux.o  userfile.o signals.  o blowfish.o
> deattack.o   -Lgmp-2.0.2-ssh-2 -lgmp -Lzlib-1.0.4 -lz  -lsocket -lnsl
> -L/us r/local/lib  
> Undefined first referenced symbol in file getspnam sshd.o
> endspentsshd.o UX:ld: ERROR: sshd: fatal error: Symbol referencing
> errors. No output written to sshd collect2: ld returned 1 exit status
> *** Error code 1 (bu21) UX:make: ERROR: fatal error.

Hmm.  "getspnam" is a system function to look up an entry in shadowed 
password files.

I don't really know what this portends:  I hope you are taking into 
account when you do ./configure that you might need to force PAM vs.
no-PAM or shadowed vs. not-shadowed.  (I don't know current UnixWare 
configurations, and so don't know what you're working with.  But, for
example, if you're trying to compile for shadowed-password support, but
you don't have shadowed passwords on your system, that might account for
it.)

If you keep on not having any luck, look for a SCO-specific newsgroup
or mailing list, and ask if anyone's had the same problem.

-- 
Cheers,     "There is hardly anything in the world that some man cannot make a 
Rick Moen   little worse and sell a little cheaper, and the people who consider
rick at linuxmafia.com  price only are this man's lawful prey." - J. Ruskin (attr.)




More information about the buug mailing list