Compiling rdesktop with smartcard

"Mueller, Andreas" <[email protected]> Tue, 10 Jul 2012 09:34:28 +0000
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
Hi,

i'd like to compile rdesktop with smartcard support.
Some packages I tried.

The source package from Ubuntu 12.1 distribution The source package from Debian testing distribution The source package from opensuse 12.1 distribution The source package form rdesktop page in version 1.7.0 and 1.7.1

./configure --enable-smartcard  comes with the following error in config.log

conftest.c: In function 'main':
conftest.c:39:1: warning: passing argument 1 of 'SCardControl' makes integer from pointer without a cast [enabled by default]
/usr/include/PCSC/winscard.h:68:16: note: expected 'SCARDHANDLE' but argument is of type 'void *'
conftest.c:39:1: warning: passing argument 2 of 'SCardControl' makes integer from pointer without a cast [enabled by default]
/usr/include/PCSC/winscard.h:68:16: note: expected 'DWORD' but argument is of type 'void *'
conftest.c:39:1: warning: passing argument 4 of 'SCardControl' makes integer from pointer without a cast [enabled by default]
/usr/include/PCSC/winscard.h:68:16: note: expected 'DWORD' but argument is of type 'void *'
conftest.c:39:1: error: too few arguments to function 'SCardControl'
/usr/include/PCSC/winscard.h:68:16: note: declared here

After compiling I can start rdesktop, but if I try to use smartcard rdesktop goes to nirvana.

Any ideas what can be wrong.
Greetings
Andreas Müller


--
Cosmos Consulting Group IT Services GmbH
Andreas Müller
Systemintegration
Klenzestr. 23
80469 München / Germany
e-Mail:[email protected]
www.cosmosnet.de
Tel.: +49 89 451503-30
Fax/Voicebox: +49 89 451503-822



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/