delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/26/21:34:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 26 Sep 2000 21:33:12 -0400
Message-Id: <200009270133.VAA19559@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: olson AT cs DOT odu DOT edu
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <BKEIKICKEPLJGGLFFGDKKECACAAA.olson@cs.odu.edu>
Subject: Re: Linking in WSAGetLastError
References: <BKEIKICKEPLJGGLFFGDKKECACAAA DOT olson AT cs DOT odu DOT edu>

> conf.o(.text+0x2c74):conf.c: undefined reference to `WSAGetLastError'

They don't export WGAGetLastError.  They export WSAGetLastError AT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019