Opened 2 years ago
Closed 2 years ago
#65709 closed defect (fixed)
opensc fails on Rosetta: In function 'pcsc_to_opensc_error': error: 'SCARD_E_NO_READERS_AVAILABLE' undeclared
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, rosetta, snowleopard | Cc: | |
Port: | opensc |
Description
This is using a default gcc-4.2
:
:info:build reader-pcsc.c: In function 'pcsc_to_opensc_error': :info:build reader-pcsc.c:185: error: 'SCARD_E_NO_READERS_AVAILABLE' undeclared (first use in this function) :info:build reader-pcsc.c:185: error: (Each undeclared identifier is reported only once :info:build reader-pcsc.c:185: error: for each function it appears in.) :info:build make[3]: *** [libopensc_la-reader-pcsc.lo] Error 1
Attachments (1)
Change History (5)
Changed 2 years ago by barracuda156
Attachment: | opensc.log added |
---|
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by barracuda156
SCARD_E_NO_READERS_AVAILABLE
error fixed in: https://github.com/OpenSC/OpenSC/commit/548a2036328a288d24a48797498c3f76d6e351ef
See: https://github.com/OpenSC/OpenSC/issues/2596
comment:3 Changed 2 years ago by barracuda156
gcc-4.2
still fails down the road with multiple errors, but gcc12
builds it fine.
comment:4 Changed 2 years ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
And with
gcc12
it fails on:Ok, with
--disable-strict
this does not happen, but the build again fails onerror: 'SCARD_E_NO_READERS_AVAILABLE' undeclared
.