public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
To: cygwin@cygwin.com
Subject: Re: undefined reference to `_CAPI_INSTALLED@0', why?
Date: Fri, 01 Jul 2005 12:14:00 -0000	[thread overview]
Message-ID: <42C53387.9080609@familiehaase.de> (raw)
In-Reply-To: <42C52EA6.5090300@familiehaase.de>

Gerrit P. Haase wrote:

> Dave,
> 
>>> So why does the compiler creats a reference to _CAPI_INSTALLED@0 or
>>> is it the linker who wants to resolve CAPI_INSTALLED with @0 attached.
>>
>>
>>
>>   Has the definition of APIENTRY has changed between the mfr's build from
>> which the import library came and the build from which you generated your
>> import lib?
> 
> 
> Many thanks, that is it:
> 
> #  define APIENTRY __attribute__((stdcall))
> 
> How do I create an import library with stdcall convention now?
> 
> Simply adding --add-stdcall-alias flag for dlltool seems to have no
> effect.

It is not really needed to edit the .def file manually?
Is it?

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  parent reply	other threads:[~2005-07-01 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 21:02 Gerrit P. Haase
2005-06-30 21:29 ` Gerrit P. Haase
2005-07-01  9:46 ` Dave Korn
     [not found]   ` <42C52EA6.5090300@familiehaase.de>
2005-07-01 12:14     ` Gerrit P. Haase [this message]
2005-07-16  1:00   ` Gerrit P. Haase

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=42C53387.9080609@familiehaase.de \
    --to=gerrit@familiehaase.de \
    --cc=cygwin@cygwin.com \
    /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).