[Muscle] gsmcard_0.9.1 compilation

Ploc plist at acampado.net
Sun Apr 19 02:16:30 PDT 2009


Hello,

I'm trying to compile gsmcard_0.9.1 (found on Muscle website) but I get the following error. I'm using a standard Ubuntu Intrepid linux distribution and I've already installed libpcsclite-dev. I think that the problem comes from the file cardcomm.c :

/gsmcard_0.9.1/cardcomm>make
cc -I/usr/local/include -I/usr/include/PCSC/ -g -Wall   -c -o cardcomm.o
cardcomm.c
cardcomm.c: In function ‘Interactive’:
cardcomm.c:191: attention : pointer targets in passing argument 3 of ‘SCardTransmit’ differ in signedness
cardcomm.c:191: attention : pointer targets in passing argument 7 of ‘SCardTransmit’ differ in signedness
cardcomm.c:211: attention : pointer targets in passing argument 3 of ‘SCardTransmit’ differ in signedness
cardcomm.c:211: attention : pointer targets in passing argument 7 of ‘SCardTransmit’ differ in signedness
cardcomm.c: In function ‘main’:
cardcomm.c:300: erreur: ‘SCARD_SCOPE_GLOBAL’ undeclared (first use in this function)
cardcomm.c:300: erreur: (Each undeclared identifier is reported only once
cardcomm.c:300: erreur: for each function it appears in.)
cardcomm.c:306: attention : pointer targets in passing argument 4 of ‘SCardListReaders’ differ in signedness
cardcomm.c:311: attention : pointer targets in passing argument 4 of ‘SCardListReaders’ differ in signedness
cardcomm.c:323: attention : pointer targets in passing argument 6 of ‘SCardConnect’ differ in signedness
make: *** [cardcomm.o] Erreur 1

I don't know how to reach the author of this program as the mail address fro mthe README file is no longer valid.

Last question, does anyone know a small command line (linux) tool that can backup and restore phonebook from a mobile phone sim card ?

Thanks,

Ploc



More information about the Muscle mailing list