Mail Archives: cygwin/1999/04/28/00:08:15
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: <function name>@<integer>, 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
- Raw text -