Guest User

Untitled

a guest
Jul 23rd, 2013
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  1. compiling nfc_device.c
  2. nfc_device.c:3:1: error: unknown type name 'byte_t'
  3. nfc_device.c: In function 'connect':
  4. nfc_device.c:13:3: error: unknown type name 'nfc_device_t'
  5. nfc_device.c:13:3: warning: implicit declaration of function 'nfc_connect' [-Wimplicit-function-declaration]
  6. nfc_device.c:13:24: warning: initialization makes pointer from integer without a cast [enabled by default]
  7. nfc_device.c:17:3: warning: passing argument 1 of 'nfc_initiator_init' from incompatible pointer type [enabled by default]
  8. /usr/include/nfc/nfc.h:97:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
  9. nfc_device.c: In function 'disconnect':
  10. nfc_device.c:31:3: error: unknown type name 'nfc_device_t'
  11. nfc_device.c:32:3: error: 'nfc_device_t' undeclared (first use in this function)
  12. nfc_device.c:32:3: note: each undeclared identifier is reported only once for each function it appears in
  13. nfc_device.c:32:3: error: expected expression before ')' token
  14. nfc_device.c:33:3: warning: implicit declaration of function 'nfc_disconnect' [-Wimplicit-function-declaration]
  15. nfc_device.c: In function 'configure':
  16. nfc_device.c:46:3: error: unknown type name 'nfc_device_t'
  17. nfc_device.c:47:3: error: 'nfc_device_t' undeclared (first use in this function)
  18. nfc_device.c:47:3: error: expected expression before ')' token
  19. nfc_device.c:49:3: warning: implicit declaration of function 'nfc_configure' [-Wimplicit-function-declaration]
  20. nfc_device.c:51:5: error: unknown type name 'nfc_device_option_t'
  21. nfc_device.c: In function 'dev_select':
  22. nfc_device.c:66:3: error: unknown type name 'nfc_device_t'
  23. nfc_device.c:67:3: error: unknown type name 'nfc_modulation_t'
  24. nfc_device.c:68:3: error: unknown type name 'nfc_target_t'
  25. nfc_device.c:70:3: error: 'nfc_device_t' undeclared (first use in this function)
  26. nfc_device.c:70:3: error: expected expression before ')' token
  27. nfc_device.c:71:3: error: 'nfc_modulation_t' undeclared (first use in this function)
  28. nfc_device.c:71:3: error: expected expression before ')' token
  29. nfc_device.c:73:9: error: 'nfc_target_t' undeclared (first use in this function)
  30. nfc_device.c:73:23: error: expected expression before ')' token
  31. nfc_device.c:75:3: warning: passing argument 1 of 'nfc_initiator_select_passive_target' from incompatible pointer type [enabled by default]
  32. /usr/include/nfc/nfc.h:99:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
  33. nfc_device.c:75:3: error: incompatible type for argument 2 of 'nfc_initiator_select_passive_target'
  34. /usr/include/nfc/nfc.h:99:18: note: expected 'nfc_modulation' but argument is of type 'int'
  35. nfc_device.c:75:3: warning: passing argument 5 of 'nfc_initiator_select_passive_target' from incompatible pointer type [enabled by default]
  36. /usr/include/nfc/nfc.h:99:18: note: expected 'struct nfc_target *' but argument is of type 'int *'
  37. nfc_device.c:76:15: error: request for member 'nmt' in something not a structure or union
  38. nfc_device.c:84:60: error: request for member 'nmt' in something not a structure or union
  39. nfc_device.c: In function 'name':
  40. nfc_device.c:99:3: error: unknown type name 'nfc_device_t'
  41. nfc_device.c:100:3: error: 'nfc_device_t' undeclared (first use in this function)
  42. nfc_device.c:100:3: error: expected expression before ')' token
  43. nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
  44. nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
  45. nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
  46. nfc_device.c:102:10: error: request for member 'acName' in something not a structure or union
  47. nfc_device.c: In function 'dev_deselect':
  48. nfc_device.c:113:3: error: unknown type name 'nfc_device_t'
  49. nfc_device.c:114:3: error: 'nfc_device_t' undeclared (first use in this function)
  50. nfc_device.c:114:3: error: expected expression before ')' token
  51. nfc_device.c:116:3: warning: passing argument 1 of 'nfc_initiator_deselect_target' from incompatible pointer type [enabled by default]
  52. /usr/include/nfc/nfc.h:104:18: note: expected 'struct nfc_device *' but argument is of type 'int *'
  53. nfc_device.c: In function 'mod_initialize':
  54. nfc_device.c:123:3: error: unknown type name 'nfc_modulation_t'
  55. nfc_device.c:125:3: error: 'nfc_modulation_t' undeclared (first use in this function)
  56. nfc_device.c:125:3: error: expected expression before ')' token
  57. nfc_device.c:126:6: error: request for member 'nmt' in something not a structure or union
  58. nfc_device.c:127:6: error: request for member 'nbr' in something not a structure or union
  59. nfc_device.c: In function 'mod_alloc':
  60. nfc_device.c:134:3: error: unknown type name 'nfc_modulation_t'
  61. nfc_device.c:136:34: error: 'nfc_modulation_t' undeclared (first use in this function)
  62. nfc_device.c: In function 'mod_nmt':
  63. nfc_device.c:143:3: error: unknown type name 'nfc_modulation_t'
  64. nfc_device.c:145:3: error: 'nfc_modulation_t' undeclared (first use in this function)
  65. nfc_device.c:145:3: error: expected expression before ')' token
  66. nfc_device.c:147:10: error: request for member 'nmt' in something not a structure or union
  67. nfc_device.c: In function 'mod_nbr':
  68. nfc_device.c:152:3: error: unknown type name 'nfc_modulation_t'
  69. nfc_device.c:154:3: error: 'nfc_modulation_t' undeclared (first use in this function)
  70. nfc_device.c:154:3: error: expected expression before ')' token
  71. nfc_device.c:156:10: error: request for member 'nbr' in something not a structure or union
  72. nfc_device.c: At top level:
  73. nfc_device.c:3:15: warning: 'abtFelica' defined but not used [-Wunused-variable]
  74. nfc_device.c: In function 'mod_nbr':
  75. nfc_device.c:157:1: warning: control reaches end of non-void function [-Wreturn-type]
  76. nfc_device.c: In function 'mod_nmt':
  77. nfc_device.c:148:1: warning: control reaches end of non-void function [-Wreturn-type]
  78. nfc_device.c: In function 'name':
  79. nfc_device.c:103:1: warning: control reaches end of non-void function [-Wreturn-type]
  80. make: *** [nfc_device.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment