From: sampo@neuronio.pt (Sampo Kellomaki)
Subject: cygwin32_get_sockopt, which library?
9 Dec 1996 23:01:31 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612100041.BAA16490.cygnus.gnu-win32@brutus.neuronio.pt>
Original-To: gnu-win32@cygnus.com
Original-Cc: sampo@brutus.neuronio.pt
Original-Sender: owner-gnu-win32@cygnus.com

I'm compiling SSLeay on cygwin32 version 1.3 Beta 17. Everything works
fine (I ./Configured SSLeay for Linux w/o assembler, for those who are
interested) until link time.

I get
	s_socket.o(.text+0x182):s_socket.c: undefined reference to `cygwin32_getsockopt'

Ok, so I try `nm *.a | grep getsockopt' in several directories, but I
can't find cygwin32_getsockopt anywhere. Which library I need to link
to get cygwin32_getsockopt?

Only ones that come even close are
	H-i386-cygwin32/i386-cygwin32/lib/libwsock32.a
		which has plain getsockopt (without cygwin32_ prefix)
and
	H-i386-cygwin32/i386-cygwin32/lib/libcygwin.a
		which has cygwin_setsockopt

--Sampo
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
