delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/31/04:23:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BDFC34C.2010707@sssup.it>
Date: Wed, 31 Oct 2001 10:24:28 +0100
From: Tommaso Cucinotta <cucinotta AT sssup DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; it-IT; m18) Gecko/20010131
Netscape6/6.01
X-Accept-Language: it
MIME-Version: 1.0
To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
Subject: Re: linking with winscard.dll
References: <3BDEFF98 DOT 6010201 AT sssup DOT it>
<4123654195 DOT 20011030210430 AT familiehaase DOT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019