undefined reference to `_CAPI_INSTALLED@0', why?
Gerrit P. Haase
gerrit@familiehaase.de
Fri Jul 1 12:14:00 GMT 2005
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/
More information about the Cygwin
mailing list