This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to `_CAPI_INSTALLED@0', why?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]