From: DJ Delorie <dj@delorie.com>
To: olson@cs.odu.edu
Cc: cygwin@sourceware.cygnus.com
Subject: Re: Linking in WSAGetLastError
Date: Tue, 26 Sep 2000 18:33:00 -0000 [thread overview]
Message-ID: <200009270133.VAA19559@envy.delorie.com> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2000-09-26 18:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-26 14:29 rlogin does not exit Hayes, Kevin
2000-09-26 14:53 ` Corinna Vinschen
2000-09-26 18:26 ` Linking in WSAGetLastError Michael Olson
2000-09-26 18:33 ` DJ Delorie [this message]
2000-09-27 6:43 Ed Bradford/Raleigh/IBM
2000-09-27 6:58 ` DJ Delorie
2000-09-27 7:13 ` Michael Olson
2000-09-27 8:54 Ed Bradford/Raleigh/IBM
2000-09-27 9:00 ` DJ Delorie
2000-09-27 10:04 ` Michael Olson
2000-09-27 9:54 Ed Bradford/Raleigh/IBM
2000-09-27 9:59 ` DJ Delorie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200009270133.VAA19559@envy.delorie.com \
--to=dj@delorie.com \
--cc=cygwin@sourceware.cygnus.com \
--cc=olson@cs.odu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).