Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Tue, 27 Apr 1999 23:06:16 -0500 (CDT) From: Mumit Khan To: dale henderson cc: gnu-win32 AT cygnus DOT com Subject: Re: mingw32 winsock.h In-Reply-To: <19990427214049.29011.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 27 Apr 1999, dale henderson wrote: > > > I am trying to use this header in a GUI framework, wxwindows. > When make runs the linker to create the .exe, it drops with > undefined references to all winsock functions in the > format: @, such as > > "closesocket AT 4" and "shutdown AT 8". Add -lwsock32 to your link line. I assume Win32 API docs mention this. > > I may not have cygwin.dll and winsock in sync. Any suggestions? > Mingw32 executables do not use Cygwin DLL. When you use mingw, you use MS runtime by default; when you Cygwin GCC, you use Cygwin DLL by default. Can't mix those two. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com