|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
RE: Antwort: [Muscle] pcsc/windscard.. question.
From: Naveen Mukkelli (Naveen
worldsmart.com.au)
Date: Mon Apr 04 2005 - 02:34:42 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Thanks for your response.
In have installed "libpcscslite.pc" in /usr/local/lib/pkgconfig directory.
When I compiled in the following way, the compilation has been successful,
"gcc testpcsc.c -o testpcsc -L/usr/local/lib -lpcsclite".
However, when I ran testpcsc, nothing was happening, it is hanging after displaying "Do not use it unless you really know what you do".
What could be the problem.
Cheers,
Naveen.
-----Original Message-----
From: muscle-bounces
lists.musclecard.com [mailto:muscle-bounces
lists.musclecard.com] On Behalf Of Martin.Fuehrlinger
omnikey.com
Sent: Monday, 4 April 2005 4:19 PM
To: MUSCLE
Subject: Antwort: [Muscle] pcsc/windscard.. question.
> >$ pcscd -f -d stdout.. I'm getting some output from the card.
>1. When I tried to run "pcsc-demo".. I'm getting the message,
> "SCardEstablishContext: Cannot connect to Resource Manager".
> What could be the problem.
Did you have started the pcscd ? You need to start pcscd. Cannot connect to
ResourceManager indicates a not running pcscd.
Try: pcscd -f -d stdout & pcsc-demo
or run pcsc-demo in a seperate konsole.
> 2. How I can compile my 'C' code. I mean, when I compile the code in the
following way,
> "gcc -g myapp.c -o myapp",
> I'm getting following type of erros,
> "/root/tmp/ccoH3Vmt.o(.text+0xda): In function main:
> :undefined reference to 'SCardExtablishContext'.
> What does this mean, did I forget to link any library?
Yes you need to link -libpcsclite
---
Mit freundlichen Grüßen
Best regards,
Martin Führlinger
Software Developer
OMNIKEY
Ferihumerstrasse 13
A-4040 Linz
Austria
Tel +43 (0) 732 / 602220 - 35
E-Mail martin.fuehrlinger
omnikey.com
Web www.omnikey.com
"Naveen Mukkelli"
<Naveen
worldsmar
t.com.au> An
Gesendet von: <muscle
lists.musclecard.com>
muscle-bounces
li Kopie
sts.musclecard.co
m Thema
[Muscle] pcsc/windscard..
question.
04.04.2005 07:40
Bitte antworten
an
MUSCLE
<muscle
lists.mus
clecard.com>
Hi,
I'm trying to write a sample application for smart cards using "pcsc-lite"
and "winscard".
When I ran "pcscd" and inserted a smart card it seems that it is reading
from the card.
For example,
>$ pcscd -f -d stdout.. I'm getting some output from the card.
However
1. When I tried to run "pcsc-demo".. I'm getting the message,
"SCardEstablishContext: Cannot connect to Resource Manager".
What could be the problem.
2. How I can compile my 'C' code. I mean, when I compile the code in the
following way,
"gcc -g myapp.c -o myapp",
I'm getting following type of erros,
"/root/tmp/ccoH3Vmt.o(.text+0xda): In function main:
:undefined reference to 'SCardExtablishContext'.
What does this mean, did I forget to link any library?
Kindly let me know.
Cheers,
Naveen.
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]