Compiling openct-0.6.9 fails with the following error: In file included from pcsc.c:37: ifdhandler.h:20: error: syntax error before "LPTSTR" ifdhandler.h:20: warning: no semicolon at end of struct or union ifdhandler.h:21: warning: type defaults to `int' in declaration of `IFD_Type' ifdhandler.h:21: warning: data definition has no type or storage class ifdhandler.h:23: error: syntax error before "IFD_Serial" ifdhandler.h:23: warning: type defaults to `int' in declaration of `IFD_Serial' ifdhandler.h:23: warning: data definition has no type or storage class ifdhandler.h:38: error: syntax error before '}' token ifdhandler.h:38: warning: type defaults to `int' in declaration of `DEVICE_CAPABILITIES' ifdhandler.h:38: warning: type defaults to `int' in declaration of `PDEVICE_CAPABILITIES' ifdhandler.h:38: warning: data definition has no type or storage class newer GCC does not help. In a discussion on http://www.opensc-project.org/pipermail/opensc-user/2006-November/001366.html it turned out that pcsc-lite was too old and gentoo would not enforce an update. Please implement stronger dependencies. Thank you, Martin
Actually, dev-libs/openct ebuild doesn't depend on pcsc-lite at all. <snip> checking for PCSC_CFLAGS... checking for PCSC_LIBS... checking for reader.h... no configure: WARNING: reader.h not found, install pcsc-lite 1.2.9-beta8 or later, or use PCSC_CFLAGS=... ./configure configure: creating ./config.status config.status: creating Makefile </snip> Compiles just fine without it.
*** This bug has been marked as a duplicate of 146198 ***