Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Reply-To: From: "Vlad Soutyrine" To: Subject: SSH on cygwin Date: Fri, 26 May 2000 00:37:07 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0093_01BFC6AB.269C54B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal ------=_NextPart_000_0093_01BFC6AB.269C54B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 ------=_NextPart_000_0093_01BFC6AB.269C54B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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

 

 <= /p>

------=_NextPart_000_0093_01BFC6AB.269C54B0--