• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: pcsc-lite and acr122 reader  (Read 2309 times)
john bougs
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: July 09, 2009, 01:20:26 PM »

I have been trying to get libnfc up and running  on the plug(on top of the pcsc-lite libraries) without much success .  The pcsc-lite test program fails.  Everything works fine on my desktop, so I know it can work.   Has anyone else tried pcsc-lite on the plug?
Logged

hansan
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #1 on: January 10, 2010, 01:09:45 AM »

Again sorry for this pushing up of a very old post.

There is indeed something "wrong" with pcsc-lite, it uses some pointers to structs and they are not correctly mapped after the compile process. But pcsc-lite goes fairly good through the compiler by using "CFLAGS=-fno-strict-aliasing" as compiler flag. (At least that worked for me.)

And the svn 1.5.6 version does not have this problem...

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502947 and http://archives.neohapsis.com/archives/dev/muscle/2010-q1/0006.html for more information.

Greetings
Logged

Pages: [1]
Print
Jump to: