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...
for more information.