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]

Re: linking with winscard.dll


Hi Mr. Gerrit,

I have to thank you for your quick response.

I followed your instructions, and got a libwinscard.a, but still I have 
the same problem. I get this:

   $ gcc -o test card_edge.o card_utils.o test.o -L. -lwinscard
   card_utils.o(.text+0x271):card_utils.c: undefined reference to 
`SCardTransmit@28'
   ...

That is almost the same of linking without the library, except that 
identifiers starting with _imp__g_rg
don't appear in the undefined reference list, using the library.

I get the same exact behaviour when I try to link directly against the 
VC++ ".lib" library:

   gcc -o test card_edge.o card_utils.o test.o -L/VC98/Lib -lWINSCARD

(Here in VC98/Lib there is a WINSCARD.LIB file).

Any further idea ?

Thank you again,

   bye,

       Tommaso.


--
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]