This is the mail archive of the cygwin@cygwin.com 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: 1.3.12-2 how to link with MS Platform SDK


OK, as I thought.  The problem is not the import library
(the .a you created has the same format as the .lib so there's
no benefit to creating the .a).  You need to find out if the 
function you're trying to link to is in that library and what
it's name is.  Run 'nm' on the library and grep the results for
your function.  If there's a function in the results that has the 
right name but has different stuff appended to the front and/or
back, the include file you're using isn't giving you the right
calling convention (cdecl, stdcall, fastcall).  This is likely 
the problem.

Larry

Original Message:
-----------------
From:  nickolai.bogdatov@verizon.com
Date: Thu, 10 Oct 2002 15:08:57 -0400
To: lhall@rfk.com, cygwin@cygwin.com
Subject: RE: 1.3.12-2 how to link with MS Platform SDK



During linking it gives me "enresolved external"

Regards,
Nickolai Bogdatov




--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]