Ticket #20744: libnfc.txt

File libnfc.txt, 21.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago)
Line 
1DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/comms/libnfc
2DEBUG: setting option os.universal_supported to yes
3DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
4DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
5DEBUG: adding the default universal variant
6DEBUG: Requested variant darwin is not provided by port libnfc.
7DEBUG: Requested variant i386 is not provided by port libnfc.
8DEBUG: Requested variant macosx is not provided by port libnfc.
9DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/comms/libnfc
10DEBUG: setting option os.universal_supported to yes
11DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
12DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
13DEBUG: adding the default universal variant
14DEBUG: Requested variant darwin is not provided by port libnfc.
15DEBUG: Requested variant i386 is not provided by port libnfc.
16DEBUG: Requested variant macosx is not provided by port libnfc.
17DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/libusb
18DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/devel/libusb
19DEBUG: setting option os.universal_supported to yes
20DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
21DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
22DEBUG: adding the default universal variant
23DEBUG: Requested variant darwin is not provided by port libusb.
24DEBUG: Requested variant i386 is not provided by port libusb.
25DEBUG: Requested variant macosx is not provided by port libusb.
26DEBUG: Searching for dependency: libusb
27DEBUG: Found Dependency: receipt exists for libusb
28DEBUG: Found port in file:///Users/rschmidt/macports/dports/devel/libusb-compat
29DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/devel/libusb-compat
30DEBUG: setting option os.universal_supported to yes
31DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
32DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
33DEBUG: adding the default universal variant
34DEBUG: Requested variant darwin is not provided by port libusb-compat.
35DEBUG: Requested variant i386 is not provided by port libusb-compat.
36DEBUG: Requested variant macosx is not provided by port libusb-compat.
37DEBUG: Searching for dependency: libusb-compat
38DEBUG: Found Dependency: receipt exists for libusb-compat
39DEBUG: Executing org.macports.main (libnfc)
40--->  Fetching libnfc
41DEBUG: Executing org.macports.fetch (libnfc)
42--->  Verifying checksum(s) for libnfc
43DEBUG: Executing org.macports.checksum (libnfc)
44--->  Checksumming libnfc-1.2.1.tar.gz
45DEBUG: Correct (md5) checksum for libnfc-1.2.1.tar.gz
46DEBUG: Correct (sha1) checksum for libnfc-1.2.1.tar.gz
47DEBUG: Correct (rmd160) checksum for libnfc-1.2.1.tar.gz
48--->  Extracting libnfc
49DEBUG: Executing org.macports.extract (libnfc)
50--->  Extracting libnfc-1.2.1.tar.gz
51DEBUG: setting option extract.args to /mp/var/macports/distfiles/libnfc/libnfc-1.2.1.tar.gz
52DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
53DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_comms_libnfc/work" && gzip -dc /mp/var/macports/distfiles/libnfc/libnfc-1.2.1.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
54DEBUG: Executing org.macports.patch (libnfc)
55--->  Configuring libnfc
56DEBUG: Using compiler 'Mac OS X gcc 4.0'
57DEBUG: Executing org.macports.configure (libnfc)
58DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/mp/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.4' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/mp/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
59DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_comms_libnfc/work/libnfc-1.2.1" && ./configure --prefix=/mp'
60checking for a BSD-compatible install... /usr/bin/install -c
61checking whether build environment is sane... yes
62checking for a thread-safe mkdir -p... /mp/bin/gmkdir -p
63checking for gawk... gawk
64checking whether make sets $(MAKE)... yes
65checking for gcc... /usr/bin/gcc-4.0
66checking for C compiler default output file name... a.out
67checking whether the C compiler works... yes
68checking whether we are cross compiling... no
69checking for suffix of executables...
70checking for suffix of object files... o
71checking whether we are using the GNU C compiler... yes
72checking whether /usr/bin/gcc-4.0 accepts -g... yes
73checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
74checking for style of include used by make... GNU
75checking dependency style of /usr/bin/gcc-4.0... gcc3
76checking whether make sets $(MAKE)... (cached) yes
77checking build system type... i386-apple-darwin8.11.1
78checking host system type... i386-apple-darwin8.11.1
79checking for a sed that does not truncate output... /mp/bin/gsed
80checking for grep that handles long lines and -e... /mp/bin/grep
81checking for egrep... /mp/bin/grep -E
82checking for fgrep... /mp/bin/grep -F
83checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld
84checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) is GNU ld... no
85checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
86checking the name lister (/usr/bin/nm -p) interface... BSD nm
87checking whether ln -s works... yes
88checking the maximum length of command line arguments... 196608
89checking whether the shell understands some XSI constructs... yes
90checking whether the shell understands "+="... no
91checking for /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld option to reload object files... -r
92checking for objdump... no
93checking how to recognize dependent libraries... pass_all
94checking for ar... ar
95checking for strip... strip
96checking for ranlib... ranlib
97checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok
98checking for dsymutil... dsymutil
99checking for nmedit... nmedit
100checking for lipo... lipo
101checking for otool... otool
102checking for otool64... otool64
103checking for -single_module linker flag... yes
104checking for -exported_symbols_list linker flag... yes
105checking how to run the C preprocessor... /usr/bin/cpp-4.0
106checking for ANSI C header files... yes
107checking for sys/types.h... yes
108checking for sys/stat.h... yes
109checking for stdlib.h... yes
110checking for string.h... yes
111checking for memory.h... yes
112checking for strings.h... yes
113checking for inttypes.h... yes
114checking for stdint.h... yes
115checking for unistd.h... yes
116checking for dlfcn.h... yes
117checking for objdir... .libs
118checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
119checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common -DPIC
120checking if /usr/bin/gcc-4.0 PIC flag -fno-common -DPIC works... yes
121checking if /usr/bin/gcc-4.0 static flag -static works... no
122checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
123checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
124checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes
125checking dynamic linker characteristics... darwin8.11.1 dyld
126checking how to hardcode library paths into programs... immediate
127checking whether stripping libraries is possible... yes
128checking if libtool supports shared libraries... yes
129checking whether to build shared libraries... yes
130checking whether to build static libraries... yes
131checking for ranlib... (cached) ranlib
132checking for pkg-config... /mp/bin/pkg-config
133checking for ANSI C header files... (cached) yes
134checking for stdbool.h that conforms to C99... yes
135checking for _Bool... yes
136checking stdio.h usability... yes
137checking stdio.h presence... yes
138checking for stdio.h... yes
139checking for stdlib.h... (cached) yes
140checking for stdint.h... (cached) yes
141checking stddef.h usability... yes
142checking stddef.h presence... yes
143checking for stddef.h... yes
144checking for stdbool.h... (cached) yes
145checking usb.h usability... yes
146checking usb.h presence... yes
147checking for usb.h... yes
148checking for size_t... yes
149checking for uint8_t... yes
150checking for uint16_t... yes
151checking for uint32_t... yes
152checking for uint64_t... yes
153checking for int32_t... yes
154checking for pcsc-lite support... yes
155checking for debug flag... no
156checking pkg-config is at least version 0.9.0... yes
157checking for LIBUSB... yes
158configure: WARNING: Using darwin PCSC Framework
159configure: creating ./config.status
160config.status: creating Makefile
161config.status: creating src/Makefile
162config.status: creating libnfc.pc
163config.status: creating config.h
164config.status: executing depfiles commands
165config.status: executing libtool commands
166--->  Building libnfc
167DEBUG: Executing org.macports.build (libnfc)
168DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
169DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_comms_libnfc/work/libnfc-1.2.1" && nice -n 10 make all'
170make  all-recursive
171Making all in src
172/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-bitutils.lo -MD -MP -MF .deps/libnfc_la-bitutils.Tpo -c -o libnfc_la-bitutils.lo `test -f 'bitutils.c' || echo './'`bitutils.c
173libtool: 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-bitutils.lo -MD -MP -MF .deps/libnfc_la-bitutils.Tpo -c bitutils.c  -fno-common -DPIC -o .libs/libnfc_la-bitutils.o
174libtool: 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-bitutils.lo -MD -MP -MF .deps/libnfc_la-bitutils.Tpo -c bitutils.c -o libnfc_la-bitutils.o >/dev/null 2>&1
175mv -f .deps/libnfc_la-bitutils.Tpo .deps/libnfc_la-bitutils.Plo
176/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-libnfc.lo -MD -MP -MF .deps/libnfc_la-libnfc.Tpo -c -o libnfc_la-libnfc.lo `test -f 'libnfc.c' || echo './'`libnfc.c
177libtool: 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-libnfc.lo -MD -MP -MF .deps/libnfc_la-libnfc.Tpo -c libnfc.c  -fno-common -DPIC -o .libs/libnfc_la-libnfc.o
178libtool: 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-libnfc.lo -MD -MP -MF .deps/libnfc_la-libnfc.Tpo -c libnfc.c -o libnfc_la-libnfc.o >/dev/null 2>&1
179mv -f .deps/libnfc_la-libnfc.Tpo .deps/libnfc_la-libnfc.Plo
180/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-rs232.lo -MD -MP -MF .deps/libnfc_la-rs232.Tpo -c -o libnfc_la-rs232.lo `test -f 'rs232.c' || echo './'`rs232.c
181libtool: 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-rs232.lo -MD -MP -MF .deps/libnfc_la-rs232.Tpo -c rs232.c  -fno-common -DPIC -o .libs/libnfc_la-rs232.o
182libtool: 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-rs232.lo -MD -MP -MF .deps/libnfc_la-rs232.Tpo -c rs232.c -o libnfc_la-rs232.o >/dev/null 2>&1
183mv -f .deps/libnfc_la-rs232.Tpo .deps/libnfc_la-rs232.Plo
184/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_arygon.lo -MD -MP -MF .deps/libnfc_la-dev_arygon.Tpo -c -o libnfc_la-dev_arygon.lo `test -f 'dev_arygon.c' || echo './'`dev_arygon.c
185libtool: 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_arygon.lo -MD -MP -MF .deps/libnfc_la-dev_arygon.Tpo -c dev_arygon.c  -fno-common -DPIC -o .libs/libnfc_la-dev_arygon.o
186libtool: 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_arygon.lo -MD -MP -MF .deps/libnfc_la-dev_arygon.Tpo -c dev_arygon.c -o libnfc_la-dev_arygon.o >/dev/null 2>&1
187mv -f .deps/libnfc_la-dev_arygon.Tpo .deps/libnfc_la-dev_arygon.Plo
188/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_pn531.lo -MD -MP -MF .deps/libnfc_la-dev_pn531.Tpo -c -o libnfc_la-dev_pn531.lo `test -f 'dev_pn531.c' || echo './'`dev_pn531.c
189libtool: 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_pn531.lo -MD -MP -MF .deps/libnfc_la-dev_pn531.Tpo -c dev_pn531.c  -fno-common -DPIC -o .libs/libnfc_la-dev_pn531.o
190libtool: 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_pn531.lo -MD -MP -MF .deps/libnfc_la-dev_pn531.Tpo -c dev_pn531.c -o libnfc_la-dev_pn531.o >/dev/null 2>&1
191mv -f .deps/libnfc_la-dev_pn531.Tpo .deps/libnfc_la-dev_pn531.Plo
192/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_pn533.lo -MD -MP -MF .deps/libnfc_la-dev_pn533.Tpo -c -o libnfc_la-dev_pn533.lo `test -f 'dev_pn533.c' || echo './'`dev_pn533.c
193libtool: 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_pn533.lo -MD -MP -MF .deps/libnfc_la-dev_pn533.Tpo -c dev_pn533.c  -fno-common -DPIC -o .libs/libnfc_la-dev_pn533.o
194libtool: 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_pn533.lo -MD -MP -MF .deps/libnfc_la-dev_pn533.Tpo -c dev_pn533.c -o libnfc_la-dev_pn533.o >/dev/null 2>&1
195mv -f .deps/libnfc_la-dev_pn533.Tpo .deps/libnfc_la-dev_pn533.Plo
196/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
197libtool: 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
198dev_acr122.c: In function 'dev_acr122_transceive':
199dev_acr122.c:198: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
200dev_acr122.c:198: error: (Each undeclared identifier is reported only once
201dev_acr122.c:198: error: for each function it appears in.)
202dev_acr122.c:200: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
203dev_acr122.c:200: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
204dev_acr122.c:200: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
205dev_acr122.c:200: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
206dev_acr122.c:200: error: too many arguments to function 'SCardControl'
207dev_acr122.c: In function 'dev_acr122_firmware':
208dev_acr122.c:245: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
209dev_acr122.c:247: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
210dev_acr122.c:247: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
211dev_acr122.c:247: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
212dev_acr122.c:247: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
213dev_acr122.c:247: error: too many arguments to function 'SCardControl'
214dev_acr122.c: In function 'dev_acr122_led_red':
215dev_acr122.c:267: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
216dev_acr122.c:269: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
217dev_acr122.c:269: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
218dev_acr122.c:269: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
219dev_acr122.c:269: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
220dev_acr122.c:269: error: too many arguments to function 'SCardControl'
221make[2]: *** [libnfc_la-dev_acr122.lo] Error 1
222make[1]: *** [all-recursive] Error 1
223make: *** [all] Error 2
224Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_comms_libnfc/work/libnfc-1.2.1" && nice -n 10 make all " returned error 2
225Command output: 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_pn533.lo -MD -MP -MF .deps/libnfc_la-dev_pn533.Tpo -c dev_pn533.c -o libnfc_la-dev_pn533.o >/dev/null 2>&1
226mv -f .deps/libnfc_la-dev_pn533.Tpo .deps/libnfc_la-dev_pn533.Plo
227/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
228libtool: 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
229dev_acr122.c: In function 'dev_acr122_transceive':
230dev_acr122.c:198: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
231dev_acr122.c:198: error: (Each undeclared identifier is reported only once
232dev_acr122.c:198: error: for each function it appears in.)
233dev_acr122.c:200: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
234dev_acr122.c:200: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
235dev_acr122.c:200: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
236dev_acr122.c:200: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
237dev_acr122.c:200: error: too many arguments to function 'SCardControl'
238dev_acr122.c: In function 'dev_acr122_firmware':
239dev_acr122.c:245: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
240dev_acr122.c:247: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
241dev_acr122.c:247: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
242dev_acr122.c:247: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
243dev_acr122.c:247: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
244dev_acr122.c:247: error: too many arguments to function 'SCardControl'
245dev_acr122.c: In function 'dev_acr122_led_red':
246dev_acr122.c:267: error: 'SCARD_PROTOCOL_UNSET' undeclared (first use in this function)
247dev_acr122.c:269: warning: passing argument 2 of 'SCardControl' makes pointer from integer without a cast
248dev_acr122.c:269: warning: passing argument 3 of 'SCardControl' makes integer from pointer without a cast
249dev_acr122.c:269: warning: passing argument 4 of 'SCardControl' makes pointer from integer without a cast
250dev_acr122.c:269: warning: passing argument 5 of 'SCardControl' from incompatible pointer type
251dev_acr122.c:269: error: too many arguments to function 'SCardControl'
252make[2]: *** [libnfc_la-dev_acr122.lo] Error 1
253make[1]: *** [all-recursive] Error 1
254make: *** [all] Error 2
255
256Warning: the following items did not execute (for libnfc): org.macports.activate org.macports.build org.macports.destroot org.macports.install
257Error: Status 1 encountered during processing.