www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/26/12:07:36

From: jgoerzen AT southwind DOT net (John Goerzen)
Subject: Can't link
26 Jan 1998 12:07:36 -0800 :
Message-ID: <r6zafcjovck.fsf.cygnus.gnu-win32@peridot.southwind.net>
To: gnu-win32 AT cygnus DOT com

[ NOTE: Please CC a copy of your reply to me since I am not subscribed 
to the list. ]

Briefly: I am using the Cygnus cross-compiler under Linux to generate
win32 code.  I am compiling ssh.  I have made everything work fine
until the very last step which bombs like this:

/usr/bin/i386-unknown-cygwin32-gcc -pipe  -o ssh ssh.o sshconnect.o log-client.o readconf.o hostfile.o readpass.o tildexpand.o clientloop.o canohost.o random.o socketpair.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 tss.o cipher.o des.o match.o arcfour.o mpaux.o userfile.o signals.o blowfish.o \
         -Lgmp-2.0.2-ssh-2 -lgmp -Lzlib-1.0.4 -lz  -L/usr/i386-unknown-cygwin32/lib /usr/i386-unknown-cygwin32/lib/libwsock32.a /usr/i386-unknown-cygwin32/lib/libuser32.a
canohost.o(.text+0x305):canohost.c: undefined reference to `cygwin32_getsockopt'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1

The only file that I can see from the Cygnus distribution that
includes cygwin32_getsockopt is cygwin.dll, which obviously cannot be
linked by the cross-compiler (I even tried!)  How do I fix this
problem?

Thanks,
John Goerzen

-- 
John Goerzen
Southwind Internet Access, Inc,
Business e-mail: jgoerzen AT southwind DOT net

Personal e-mail: jgoerzen AT complete DOT org
Wichita State University e-mail: jgoerzen AT cs DOT twsu DOT edu
Developer, Debian GNU/Linux    <http://www.debian.org>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019