This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SSH on cygwin


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

 

 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]