SSH on cygwin
Vlad Soutyrine
vlad@softaware.com
Fri May 26 00:37:00 GMT 2000
Did anyone compiled ssh-1.2.27 under cygwin?
ÃÂ
I am getting link error:
ÃÂ
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
tildexpand.o serverloop.o crypt.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 crc32.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 ÃÂ -L/usr/local/lib
servconf.o: In function
`fill_default_server_options':
/usr/local/src/ssh-1.2.27/servconf.c:150: undefined
reference to
`endservent'
collect2: ld returned 1 exit status
make: *** [sshd] Error 1
ÃÂ
I found that âÂÂendserventâ is defined in file
/usr/i686-pc-cygwin/include/netdb.h
ÃÂ
What package do I have to install to make function
`endservent' available?
ÃÂ
Thanks,
Vlad
ÃÂ
ÃÂ
More information about the Cygwin
mailing list