This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Linking in WSAGetLastError
- To: olson at cs dot odu dot edu
- Subject: Re: Linking in WSAGetLastError
- From: DJ Delorie <dj at delorie dot com>
- Date: Tue, 26 Sep 2000 21:33:12 -0400
- CC: cygwin at sourceware dot cygnus dot com
- References: <BKEIKICKEPLJGGLFFGDKKECACAAA.olson@cs.odu.edu>
> conf.o(.text+0x2c74):conf.c: undefined reference to `WSAGetLastError'
They don't export WGAGetLastError. They export WSAGetLastError@0.
This means that you aren't including the proper headers (winsock.h),
and it's defaulting to cdecl instead of stdcall (WINAPI) calling
conventions.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com