Guest User

Untitled

a guest
Feb 8th, 2012
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.36 KB | None | 0 0
  1. fpga:~/ztex/libusbJava-src# make
  2. gcc -fPIC -g -c -std=c99 -Wall -Wno-pointer-to-int-cast -I /opt/icedtea6/include -I /usr/include/linux LibusbJava.c -oLibusbJava.o
  3. In file included from /usr/include/_G_config.h:44,
  4. from /usr/include/libio.h:32,
  5. from /usr/include/stdio.h:72,
  6. from /opt/icedtea6/include/jni.h:39,
  7. from LibusbJava.c:9:
  8. /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’
  9. /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’
  10. /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ before ‘size_t’
  11. /usr/include/gconv.h:174: error: expected specifier-qualifier-list before ‘size_t’
  12. In file included from /usr/include/stdio.h:72,
  13. from /opt/icedtea6/include/jni.h:39,
  14. from LibusbJava.c:9:
  15. /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’
  16. /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
  17. /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’
  18. /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
  19. In file included from /opt/icedtea6/include/jni.h:39,
  20. from LibusbJava.c:9:
  21. /usr/include/stdio.h:306: error: expected declaration specifiers or ‘...’ before ‘size_t’
  22. /usr/include/stdio.h:355: error: expected declaration specifiers or ‘...’ before ‘size_t’
  23. /usr/include/stdio.h:357: error: format string argument not a string type
  24. /usr/include/stdio.h:359: error: expected declaration specifiers or ‘...’ before ‘size_t’
  25. /usr/include/stdio.h:361: error: format string argument not a string type
  26. /usr/include/stdio.h:608: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
  27. /usr/include/stdio.h:614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
  28. LibusbJava.c:14:18: warning: extra tokens at end of #include directive
  29. LibusbJava.c:14:30: error: usb.h: No such file or directory
  30. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1debug’:
  31. LibusbJava.c:92: warning: implicit declaration of function ‘usb_set_debug’
  32. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1init’:
  33. LibusbJava.c:103: warning: implicit declaration of function ‘usb_init’
  34. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1find_1busses’:
  35. LibusbJava.c:115: warning: implicit declaration of function ‘usb_find_busses’
  36. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1find_1devices’:
  37. LibusbJava.c:127: warning: implicit declaration of function ‘usb_find_devices’
  38. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1busses’:
  39. LibusbJava.c:268: warning: implicit declaration of function ‘usb_get_busses’
  40. LibusbJava.c:268: warning: assignment makes pointer from integer without a cast
  41. LibusbJava.c:307: error: dereferencing pointer to incomplete type
  42. LibusbJava.c:316: error: dereferencing pointer to incomplete type
  43. LibusbJava.c:317: error: dereferencing pointer to incomplete type
  44. LibusbJava.c:319: error: dereferencing pointer to incomplete type
  45. LibusbJava.c:339: error: dereferencing pointer to incomplete type
  46. LibusbJava.c:349: error: dereferencing pointer to incomplete type
  47. LibusbJava.c:350: error: dereferencing pointer to incomplete type
  48. LibusbJava.c:351: error: dereferencing pointer to incomplete type
  49. LibusbJava.c:360: error: dereferencing pointer to incomplete type
  50. LibusbJava.c:361: error: dereferencing pointer to incomplete type
  51. LibusbJava.c:362: error: dereferencing pointer to incomplete type
  52. LibusbJava.c:363: error: dereferencing pointer to incomplete type
  53. LibusbJava.c:364: error: dereferencing pointer to incomplete type
  54. LibusbJava.c:365: error: dereferencing pointer to incomplete type
  55. LibusbJava.c:366: error: dereferencing pointer to incomplete type
  56. LibusbJava.c:367: error: dereferencing pointer to incomplete type
  57. LibusbJava.c:368: error: dereferencing pointer to incomplete type
  58. LibusbJava.c:369: error: dereferencing pointer to incomplete type
  59. LibusbJava.c:370: error: dereferencing pointer to incomplete type
  60. LibusbJava.c:371: error: dereferencing pointer to incomplete type
  61. LibusbJava.c:372: error: dereferencing pointer to incomplete type
  62. LibusbJava.c:373: error: dereferencing pointer to incomplete type
  63. LibusbJava.c:378: error: dereferencing pointer to incomplete type
  64. LibusbJava.c:383: error: dereferencing pointer to incomplete type
  65. LibusbJava.c:387: error: dereferencing pointer to incomplete type
  66. LibusbJava.c:399: error: dereferencing pointer to incomplete type
  67. LibusbJava.c:400: error: dereferencing pointer to incomplete type
  68. LibusbJava.c:401: error: dereferencing pointer to incomplete type
  69. LibusbJava.c:402: error: dereferencing pointer to incomplete type
  70. LibusbJava.c:403: error: dereferencing pointer to incomplete type
  71. LibusbJava.c:404: error: dereferencing pointer to incomplete type
  72. LibusbJava.c:405: error: dereferencing pointer to incomplete type
  73. LibusbJava.c:406: error: dereferencing pointer to incomplete type
  74. LibusbJava.c:407: error: dereferencing pointer to incomplete type
  75. LibusbJava.c:408: error: dereferencing pointer to incomplete type
  76. LibusbJava.c:409: error: dereferencing pointer to incomplete type
  77. LibusbJava.c:410: error: dereferencing pointer to incomplete type
  78. LibusbJava.c:410: error: dereferencing pointer to incomplete type
  79. LibusbJava.c:416: error: dereferencing pointer to incomplete type
  80. LibusbJava.c:421: error: dereferencing pointer to incomplete type
  81. LibusbJava.c:425: error: dereferencing pointer to incomplete type
  82. LibusbJava.c:437: error: dereferencing pointer to incomplete type
  83. LibusbJava.c:439: error: dereferencing pointer to incomplete type
  84. LibusbJava.c:444: error: dereferencing pointer to incomplete type
  85. LibusbJava.c:448: error: dereferencing pointer to incomplete type
  86. LibusbJava.c:460: error: dereferencing pointer to incomplete type
  87. LibusbJava.c:461: error: dereferencing pointer to incomplete type
  88. LibusbJava.c:462: error: dereferencing pointer to incomplete type
  89. LibusbJava.c:463: error: dereferencing pointer to incomplete type
  90. LibusbJava.c:464: error: dereferencing pointer to incomplete type
  91. LibusbJava.c:465: error: dereferencing pointer to incomplete type
  92. LibusbJava.c:466: error: dereferencing pointer to incomplete type
  93. LibusbJava.c:467: error: dereferencing pointer to incomplete type
  94. LibusbJava.c:468: error: dereferencing pointer to incomplete type
  95. LibusbJava.c:469: error: dereferencing pointer to incomplete type
  96. LibusbJava.c:470: error: dereferencing pointer to incomplete type
  97. LibusbJava.c:471: error: dereferencing pointer to incomplete type
  98. LibusbJava.c:472: error: dereferencing pointer to incomplete type
  99. LibusbJava.c:472: error: dereferencing pointer to incomplete type
  100. LibusbJava.c:478: error: dereferencing pointer to incomplete type
  101. LibusbJava.c:483: error: dereferencing pointer to incomplete type
  102. LibusbJava.c:487: error: dereferencing pointer to incomplete type
  103. LibusbJava.c:498: error: dereferencing pointer to incomplete type
  104. LibusbJava.c:499: error: dereferencing pointer to incomplete type
  105. LibusbJava.c:500: error: dereferencing pointer to incomplete type
  106. LibusbJava.c:501: error: dereferencing pointer to incomplete type
  107. LibusbJava.c:502: error: dereferencing pointer to incomplete type
  108. LibusbJava.c:503: error: dereferencing pointer to incomplete type
  109. LibusbJava.c:504: error: dereferencing pointer to incomplete type
  110. LibusbJava.c:505: error: dereferencing pointer to incomplete type
  111. LibusbJava.c:506: error: dereferencing pointer to incomplete type
  112. LibusbJava.c:507: error: dereferencing pointer to incomplete type
  113. LibusbJava.c:508: error: dereferencing pointer to incomplete type
  114. LibusbJava.c:509: error: dereferencing pointer to incomplete type
  115. LibusbJava.c:509: error: dereferencing pointer to incomplete type
  116. LibusbJava.c:527: error: dereferencing pointer to incomplete type
  117. LibusbJava.c:534: error: dereferencing pointer to incomplete type
  118. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1open’:
  119. LibusbJava.c:560: error: dereferencing pointer to incomplete type
  120. LibusbJava.c:562: error: dereferencing pointer to incomplete type
  121. LibusbJava.c:562: error: dereferencing pointer to incomplete type
  122. LibusbJava.c:564: warning: implicit declaration of function ‘usb_open’
  123. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1close’:
  124. LibusbJava.c:581: warning: implicit declaration of function ‘usb_close’
  125. LibusbJava.c:581: error: ‘usb_dev_handle’ undeclared (first use in this function)
  126. LibusbJava.c:581: error: (Each undeclared identifier is reported only once
  127. LibusbJava.c:581: error: for each function it appears in.)
  128. LibusbJava.c:581: error: expected expression before ‘)’ token
  129. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1configuration’:
  130. LibusbJava.c:593: warning: implicit declaration of function ‘usb_set_configuration’
  131. LibusbJava.c:593: error: ‘usb_dev_handle’ undeclared (first use in this function)
  132. LibusbJava.c:593: error: expected expression before ‘)’ token
  133. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1set_1altinterface’:
  134. LibusbJava.c:605: warning: implicit declaration of function ‘usb_set_altinterface’
  135. LibusbJava.c:605: error: ‘usb_dev_handle’ undeclared (first use in this function)
  136. LibusbJava.c:605: error: expected expression before ‘)’ token
  137. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1clear_1halt’:
  138. LibusbJava.c:617: warning: implicit declaration of function ‘usb_clear_halt’
  139. LibusbJava.c:617: error: ‘usb_dev_handle’ undeclared (first use in this function)
  140. LibusbJava.c:617: error: expected expression before ‘)’ token
  141. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1reset’:
  142. LibusbJava.c:629: warning: implicit declaration of function ‘usb_reset’
  143. LibusbJava.c:629: error: ‘usb_dev_handle’ undeclared (first use in this function)
  144. LibusbJava.c:629: error: expected expression before ‘)’ token
  145. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1claim_1interface’:
  146. LibusbJava.c:641: warning: implicit declaration of function ‘usb_claim_interface’
  147. LibusbJava.c:641: error: ‘usb_dev_handle’ undeclared (first use in this function)
  148. LibusbJava.c:641: error: expected expression before ‘)’ token
  149. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1release_1interface’:
  150. LibusbJava.c:653: warning: implicit declaration of function ‘usb_release_interface’
  151. LibusbJava.c:653: error: ‘usb_dev_handle’ undeclared (first use in this function)
  152. LibusbJava.c:653: error: expected expression before ‘)’ token
  153. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1control_1msg’:
  154. LibusbJava.c:666: warning: implicit declaration of function ‘usb_control_msg’
  155. LibusbJava.c:666: error: ‘usb_dev_handle’ undeclared (first use in this function)
  156. LibusbJava.c:666: error: expected expression before ‘)’ token
  157. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1string’:
  158. LibusbJava.c:682: warning: implicit declaration of function ‘usb_get_string’
  159. LibusbJava.c:682: error: ‘usb_dev_handle’ undeclared (first use in this function)
  160. LibusbJava.c:682: error: expected expression before ‘)’ token
  161. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1string_1simple’:
  162. LibusbJava.c:698: warning: implicit declaration of function ‘usb_get_string_simple’
  163. LibusbJava.c:698: error: ‘usb_dev_handle’ undeclared (first use in this function)
  164. LibusbJava.c:698: error: expected expression before ‘)’ token
  165. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor’:
  166. LibusbJava.c:713: warning: implicit declaration of function ‘malloc’
  167. LibusbJava.c:713: warning: incompatible implicit declaration of built-in function ‘malloc’
  168. LibusbJava.c:714: warning: implicit declaration of function ‘usb_get_descriptor’
  169. LibusbJava.c:714: error: ‘usb_dev_handle’ undeclared (first use in this function)
  170. LibusbJava.c:714: error: expected expression before ‘)’ token
  171. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1get_1descriptor_1by_1endpoint’:
  172. LibusbJava.c:730: warning: incompatible implicit declaration of built-in function ‘malloc’
  173. LibusbJava.c:731: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
  174. LibusbJava.c:731: error: ‘usb_dev_handle’ undeclared (first use in this function)
  175. LibusbJava.c:731: error: expected expression before ‘)’ token
  176. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1bulk_1write’:
  177. LibusbJava.c:748: warning: implicit declaration of function ‘usb_bulk_write’
  178. LibusbJava.c:748: error: ‘usb_dev_handle’ undeclared (first use in this function)
  179. LibusbJava.c:748: error: expected expression before ‘)’ token
  180. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1bulk_1read’:
  181. LibusbJava.c:762: warning: incompatible implicit declaration of built-in function ‘malloc’
  182. LibusbJava.c:763: warning: implicit declaration of function ‘usb_bulk_read’
  183. LibusbJava.c:763: error: ‘usb_dev_handle’ undeclared (first use in this function)
  184. LibusbJava.c:763: error: expected expression before ‘)’ token
  185. LibusbJava.c:766: warning: implicit declaration of function ‘free’
  186. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1write’:
  187. LibusbJava.c:780: warning: implicit declaration of function ‘usb_interrupt_write’
  188. LibusbJava.c:780: error: ‘usb_dev_handle’ undeclared (first use in this function)
  189. LibusbJava.c:780: error: expected expression before ‘)’ token
  190. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read’:
  191. LibusbJava.c:794: warning: incompatible implicit declaration of built-in function ‘malloc’
  192. LibusbJava.c:795: warning: implicit declaration of function ‘usb_interrupt_read’
  193. LibusbJava.c:795: error: ‘usb_dev_handle’ undeclared (first use in this function)
  194. LibusbJava.c:795: error: expected expression before ‘)’ token
  195. LibusbJava.c: In function ‘Java_ch_ntb_usb_LibusbJava_usb_1strerror’:
  196. LibusbJava.c:816: warning: implicit declaration of function ‘usb_strerror’
  197. LibusbJava.c:816: warning: assignment makes pointer from integer without a cast
  198. make: *** [LibusbJava.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment