Re: Compiling rdesktop with smartcard
Henrik Andersson <[email protected]> Wed, 11 Jul 2012 13:06:54 +0200
| Newsgroups | gmane.network.rdesktop.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Andreas, That log is correct, it should fail due to its a test to detect if an old version of pcsclite is used. Can you verify that PCSC package is installed and found by pkg-config: grep WITH_SCARD config.log also, if a binary is produced, rdesktop --help will show options -r scard help section if its compiled with smartcard support. Regards, Henrik Andersson (Cendio AB) On 07/10/2012 11:34 AM, Mueller, Andreas wrote: > 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/ > _______________________________________________ > rdesktop-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/rdesktop-users -- --- Henrik Andersson Cendio AB http://cendio.com Teknikringen 8 http://twitter.com/ThinLinc 583 30 Linköping http://facebook.com/ThinLinc Phone: +46-13-214600 http://plus.google.com/112509906846170010689 ------------------------------------------------------------------------------ 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/