Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153790 - dev-libs/openct-0.6.9 won't compile with old pcsc-lite (e.g.1.2.0)
Summary: dev-libs/openct-0.6.9 won't compile with old pcsc-lite (e.g.1.2.0)
Status: RESOLVED DUPLICATE of bug 146198
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: petre rodan (RETIRED)
URL: http://www.opensc-project.org/piperma...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 00:53 UTC by Martin Heyer
Modified: 2006-11-02 02:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Heyer 2006-11-02 00:53:36 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 01:46:29 UTC
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.
Comment 2 petre rodan (RETIRED) gentoo-dev 2006-11-02 02:07:08 UTC

*** This bug has been marked as a duplicate of 146198 ***