Opened 15 years ago

Closed 6 years ago

#20744 closed defect (worksforme)

libnfc @1.2.1 build failure: 'SCARD_PROTOCOL_UNSET' undeclared

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: tiger Cc:
Port: libnfc

Description

libnfc builds on my Intel Mac with 10.5.8 but not with 10.4.11:

/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..   -I/mp/include -I/mp/include   -I/System/Library/Frameworks/PCSC.framework/Headers -DHAVE_PCSC_LITE -O2 -std=c99 -MT libnfc_la-dev_acr122.lo -MD -MP -MF .deps/libnfc_la-dev_acr122.Tpo -c -o libnfc_la-dev_acr122.lo `test -f 'dev_acr122.c' || echo './'`dev_acr122.c
libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/mp/include -I/mp/include -I/System/Library/Frameworks/PCSC.framework/Headers -DHAVE_PCSC_LITE -O2 -std=c99 -MT libnfc_la-dev_acr122.lo -MD -MP -MF .deps/libnfc_la-dev_acr122.Tpo -c dev_acr122.c  -fno-common -DPIC -o .libs/libnfc_la-dev_acr122.o
dev_acr122.c: In function 'dev_acr122_transceive':
dev_acr122.c:198: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)

Attachments (1)

libnfc.txt (21.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: libnfc.txt added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Summary: libnfc: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)libnfc @1.2.1 build failure: 'SCARD_PROTOCOL_UNSET' undeclared

Is this still a problem with 1.7.1?

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Owner: al-libnfcport@… deleted
Status: newassigned

See #58246

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed

Please re-open this ticket if this is still an issue.

Note: See TracTickets for help on using tickets.