This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: linking with winscard.dll
- To: "Gerrit P. Haase" <cygwin at cygwin dot com>
- Subject: Re: linking with winscard.dll
- From: Tommaso Cucinotta <cucinotta at sssup dot it>
- Date: Wed, 31 Oct 2001 10:24:28 +0100
- References: <3BDEFF98.6010201@sssup.it> <4123654195.20011030210430@familiehaase.de>
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/