Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- compiling nfc_device.c
- nfc_device.c:3:1: error: unknown type name 'byte_t'
- nfc_device.c: In function 'connect':
- nfc_device.c:13:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:13:3: warning: implicit declaration of function 'nfc_connect' [-Wimplicit-function-declaration]
- nfc_device.c:13:24: warning: initialization makes pointer from integer without a cast [enabled by default]
- nfc_device.c:17:3: warning: passing argument 1 of 'nfc_initiator_init' from incompatible pointer type [enabled by default]
- /usr/include/nfc/nfc.h:97:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
- nfc_device.c: In function 'disconnect':
- nfc_device.c:31:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:32:3: error: 'nfc_device_t' undeclared (first use in this function)
- nfc_device.c:32:3: note: each undeclared identifier is reported only once for each function it appears in
- nfc_device.c:32:3: error: expected expression before ')' token
- nfc_device.c:33:3: warning: implicit declaration of function 'nfc_disconnect' [-Wimplicit-function-declaration]
- nfc_device.c: In function 'configure':
- nfc_device.c:46:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:47:3: error: 'nfc_device_t' undeclared (first use in this function)
- nfc_device.c:47:3: error: expected expression before ')' token
- nfc_device.c:49:3: warning: implicit declaration of function 'nfc_configure' [-Wimplicit-function-declaration]
- nfc_device.c:51:5: error: unknown type name 'nfc_device_option_t'
- nfc_device.c: In function 'dev_select':
- nfc_device.c:66:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:67:3: error: unknown type name 'nfc_modulation_t'
- nfc_device.c:68:3: error: unknown type name 'nfc_target_t'
- nfc_device.c:70:3: error: 'nfc_device_t' undeclared (first use in this function)
- nfc_device.c:70:3: error: expected expression before ')' token
- nfc_device.c:71:3: error: 'nfc_modulation_t' undeclared (first use in this function)
- nfc_device.c:71:3: error: expected expression before ')' token
- nfc_device.c:73:9: error: 'nfc_target_t' undeclared (first use in this function)
- nfc_device.c:73:23: error: expected expression before ')' token
- nfc_device.c:75:3: warning: passing argument 1 of 'nfc_initiator_select_passive_target' from incompatible pointer type [enabled by default]
- /usr/include/nfc/nfc.h:99:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
- nfc_device.c:75:3: error: incompatible type for argument 2 of 'nfc_initiator_select_passive_target'
- /usr/include/nfc/nfc.h:99:18: note: expected 'nfc_modulation' but argument is of type 'int'
- nfc_device.c:75:3: warning: passing argument 5 of 'nfc_initiator_select_passive_target' from incompatible pointer type [enabled by default]
- /usr/include/nfc/nfc.h:99:18: note: expected 'struct nfc_target *' but argument is of type 'int *'
- nfc_device.c:76:15: error: request for member 'nmt' in something not a structure or union
- nfc_device.c:84:60: error: request for member 'nmt' in something not a structure or union
- nfc_device.c: In function 'name':
- nfc_device.c:99:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:100:3: error: 'nfc_device_t' undeclared (first use in this function)
- nfc_device.c:100:3: error: expected expression before ')' token
- nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
- nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
- nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
- nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
- nfc_device.c: In function 'dev_deselect':
- nfc_device.c:113:3: error: unknown type name 'nfc_device_t'
- nfc_device.c:114:3: error: 'nfc_device_t' undeclared (first use in this function)
- nfc_device.c:114:3: error: expected expression before ')' token
- nfc_device.c:116:3: warning: passing argument 1 of 'nfc_initiator_deselect_target' from incompatible pointer type [enabled by default]
- /usr/include/nfc/nfc.h:104:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
- nfc_device.c: In function 'mod_initialize':
- nfc_device.c:123:3: error: unknown type name 'nfc_modulation_t'
- nfc_device.c:125:3: error: 'nfc_modulation_t' undeclared (first use in this function)
- nfc_device.c:125:3: error: expected expression before ')' token
- nfc_device.c:126:6: error: request for member 'nmt' in something not a structure or union
- nfc_device.c:127:6: error: request for member 'nbr' in something not a structure or union
- nfc_device.c: In function 'mod_alloc':
- nfc_device.c:134:3: error: unknown type name 'nfc_modulation_t'
- nfc_device.c:136:34: error: 'nfc_modulation_t' undeclared (first use in this function)
- nfc_device.c: In function 'mod_nmt':
- nfc_device.c:143:3: error: unknown type name 'nfc_modulation_t'
- nfc_device.c:145:3: error: 'nfc_modulation_t' undeclared (first use in this function)
- nfc_device.c:145:3: error: expected expression before ')' token
- nfc_device.c:147:10: error: request for member 'nmt' in something not a structure or union
- nfc_device.c: In function 'mod_nbr':
- nfc_device.c:152:3: error: unknown type name 'nfc_modulation_t'
- nfc_device.c:154:3: error: 'nfc_modulation_t' undeclared (first use in this function)
- nfc_device.c:154:3: error: expected expression before ')' token
- nfc_device.c:156:10: error: request for member 'nbr' in something not a structure or union
- nfc_device.c: At top level:
- nfc_device.c:3:15: warning: 'abtFelica' defined but not used [-Wunused-variable]
- nfc_device.c: In function 'mod_nbr':
- nfc_device.c:157:1: warning: control reaches end of non-void function [-Wreturn-type]
- nfc_device.c: In function 'mod_nmt':
- nfc_device.c:148:1: warning: control reaches end of non-void function [-Wreturn-type]
- nfc_device.c: In function 'name':
- nfc_device.c:103:1: warning: control reaches end of non-void function [-Wreturn-type]
- make: *** [nfc_device.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment