Hi,
Ik ben thuis bezig om op een testbakje libnfc te installeren met hierop de tool NfcEventD.
Libnfc is allemaal prima geinstalleerd. Alleen bij NfcEventD krijg ik tijdens "make" een error waardoor ik niet verder kom.
Ben gaan zoeken op internet maar hier kwam ik niks verder mee. Nergens komt iets voor van de fout.
./Configure
en dan als ik make wil uitvoeren komt de volgende error te voorschijn.
De link naar het bestand nfc-utils.h.
Dus mijn vraag is als er iemand bekend is met het tevoorschijnen van zo'n probleem. Wat hij aangeeft zijn namelijk spaties.
Ik weet overigens niet als ik hier goed zit omdat dit misschien ook wel bij programming hoort, maar dit leek mij de beste keus, in de hoop dat iemand ervaring met dit heeft.
Durk
Ik ben thuis bezig om op een testbakje libnfc te installeren met hierop de tool NfcEventD.
Libnfc is allemaal prima geinstalleerd. Alleen bij NfcEventD krijg ik tijdens "make" een error waardoor ik niet verder kom.
Ben gaan zoeken op internet maar hier kwam ik niks verder mee. Nergens komt iets voor van de fout.
./Configure
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
| checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking build system type... armv6l-unknown-linux-gnueabi checking host system type... armv6l-unknown-linux-gnueabi checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/bin/pkg-config checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdbool.h... (cached) yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for size_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for int32_t... yes checking for debug flag... no checking for dbus support... no checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBNFC... yes configure: creating ./config.status config.status: creating Makefile config.status: creating conf/Makefile config.status: creating src/Makefile config.status: creating src/nfcconf/Makefile config.status: creating src/debug/Makefile config.status: creating src/modules/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands sysconfdir: ${prefix}/etc nemdir: ${pkglibdir}/modules |
en dan als ik make wil uitvoeren komt de volgende error te voorschijn.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| root@nfc:/home/nfc/nfc-eventd# make make all-recursive make[1]: Entering directory `/home/nfc/nfc-eventd' Making all in src make[2]: Entering directory `/home/nfc/nfc-eventd/src' Making all in debug make[3]: Entering directory `/home/nfc/nfc-eventd/src/debug' CC debug.lo In file included from debug.c:31: nfc-utils.h:89: warning: type defaults to âintâ in declaration of ânfc_iso14443a_infoâ nfc-utils.h:89: error: expected â;â, â,â or â)â before ânaiâ nfc-utils.h:90: warning: type defaults to âintâ in declaration of ânfc_iso14443b_infoâ nfc-utils.h:90: error: expected â;â, â,â or â)â before ânbiâ nfc-utils.h:91: warning: type defaults to âintâ in declaration of ânfc_iso14443bi_infoâ nfc-utils.h:91: error: expected â;â, â,â or â)â before âniiâ nfc-utils.h:92: warning: type defaults to âintâ in declaration of ânfc_iso14443b2sr_infoâ nfc-utils.h:92: error: expected â;â, â,â or â)â before ânsiâ nfc-utils.h:93: warning: type defaults to âintâ in declaration of ânfc_iso14443b2ct_infoâ nfc-utils.h:93: error: expected â;â, â,â or â)â before ânciâ nfc-utils.h:94: warning: type defaults to âintâ in declaration of ânfc_felica_infoâ nfc-utils.h:94: error: expected â;â, â,â or â)â before ânfiâ nfc-utils.h:95: warning: type defaults to âintâ in declaration of ânfc_jewel_infoâ nfc-utils.h:95: error: expected â;â, â,â or â)â before ânjiâ nfc-utils.h:96: warning: type defaults to âintâ in declaration of ânfc_dep_infoâ nfc-utils.h:96: error: expected â;â, â,â or â)â before ândiâ nfc-utils.h:97: warning: type defaults to âintâ in declaration of ânfc_baud_rateâ nfc-utils.h:97: error: expected â;â, â,â or â)â before ânbrâ nfc-utils.h:99: warning: type defaults to âintâ in declaration of ânfc_targetâ nfc-utils.h:99: error: expected â;â, â,â or â)â before ântâ debug.c:80: warning: type defaults to âintâ in declaration of ânfc_targetâ debug.c:80: error: expected â;â, â,â or â)â before â*â token make[3]: *** [debug.lo] Error 1 make[3]: Leaving directory `/home/nfc/nfc-eventd/src/debug' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nfc/nfc-eventd/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nfc/nfc-eventd' make: *** [all] Error 2 root@nfc:/home/nfc/nfc-eventd# |
De link naar het bestand nfc-utils.h.
Dus mijn vraag is als er iemand bekend is met het tevoorschijnen van zo'n probleem. Wat hij aangeeft zijn namelijk spaties.
Ik weet overigens niet als ik hier goed zit omdat dit misschien ook wel bij programming hoort, maar dit leek mij de beste keus, in de hoop dat iemand ervaring met dit heeft.
Durk