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