Guest User

Error Code

a guest
Apr 9th, 2011
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 10.18 KB | None | 0 0
  1. gcc -c -O3 -Wformat -g  -I/include/ -L/ -o miner.o miner.c
  2. miner.c:23:21: jansson.h: No such file or directory
  3. In file included from miner.h:3,
  4.                  from miner.c:26:
  5. ocl.h:6:19: CL/cl.h: No such file or directory
  6. In file included from miner.h:3,
  7.                  from miner.c:26:
  8. ocl.h:10: error: parse error before "cl_context"
  9. ocl.h:10: warning: no semicolon at end of struct or union
  10. ocl.h:11: warning: data definition has no type or storage class
  11. ocl.h:12: error: parse error before "commandQueue"
  12. ocl.h:12: warning: data definition has no type or storage class
  13. ocl.h:13: error: parse error before "program"
  14. ocl.h:13: warning: data definition has no type or storage class
  15. ocl.h:14: error: parse error before "inputBuffer"
  16. ocl.h:14: warning: data definition has no type or storage class
  17. ocl.h:15: error: parse error before "outputBuffer"
  18. ocl.h:15: warning: data definition has no type or storage class
  19. ocl.h:16: warning: data definition has no type or storage class
  20. ocl.h:20: error: parse error before '*' token
  21. ocl.h:20: warning: data definition has no type or storage class
  22. In file included from miner.c:26:
  23. miner.h:11: error: parse error before '*' token
  24. miner.h:12: warning: data definition has no type or storage class
  25. In file included from miner.c:28:
  26. findnonce.h:10: error: parse error before "cl_uint"
  27. findnonce.h:10: warning: no semicolon at end of struct or union
  28. findnonce.h:10: warning: data definition has no type or storage class
  29. findnonce.h:10: error: parse error before "ctx_c"
  30. findnonce.h:10: warning: data definition has no type or storage class
  31. findnonce.h:10: error: parse error before "ctx_d"
  32. findnonce.h:10: warning: data definition has no type or storage class
  33. findnonce.h:11: error: parse error before "ctx_e"
  34. findnonce.h:11: warning: data definition has no type or storage class
  35. findnonce.h:11: error: parse error before "ctx_f"
  36. findnonce.h:11: warning: data definition has no type or storage class
  37. findnonce.h:11: error: parse error before "ctx_g"
  38. findnonce.h:11: warning: data definition has no type or storage class
  39. findnonce.h:11: error: parse error before "ctx_h"
  40. findnonce.h:11: warning: data definition has no type or storage class
  41. findnonce.h:12: error: parse error before "cty_a"
  42. findnonce.h:12: warning: data definition has no type or storage class
  43. findnonce.h:12: error: parse error before "cty_b"
  44. findnonce.h:12: warning: data definition has no type or storage class
  45. findnonce.h:12: error: parse error before "cty_c"
  46. findnonce.h:12: warning: data definition has no type or storage class
  47. findnonce.h:12: error: parse error before "cty_d"
  48. findnonce.h:12: warning: data definition has no type or storage class
  49. findnonce.h:13: error: parse error before "cty_e"
  50. findnonce.h:13: warning: data definition has no type or storage class
  51. findnonce.h:13: error: parse error before "cty_f"
  52. findnonce.h:13: warning: data definition has no type or storage class
  53. findnonce.h:13: error: parse error before "cty_g"
  54. findnonce.h:13: warning: data definition has no type or storage class
  55. findnonce.h:13: error: parse error before "cty_h"
  56. findnonce.h:13: warning: data definition has no type or storage class
  57. findnonce.h:14: error: parse error before "merkle"
  58. findnonce.h:14: warning: data definition has no type or storage class
  59. findnonce.h:14: error: parse error before "ntime"
  60. findnonce.h:14: warning: data definition has no type or storage class
  61. findnonce.h:14: error: parse error before "nbits"
  62. findnonce.h:14: warning: data definition has no type or storage class
  63. findnonce.h:14: error: parse error before "nonce"
  64. findnonce.h:14: warning: data definition has no type or storage class
  65. findnonce.h:15: error: parse error before "fW0"
  66. findnonce.h:15: warning: data definition has no type or storage class
  67. findnonce.h:15: error: parse error before "fW1"
  68. findnonce.h:15: warning: data definition has no type or storage class
  69. findnonce.h:15: error: parse error before "fW2"
  70. findnonce.h:15: warning: data definition has no type or storage class
  71. findnonce.h:15: error: parse error before "fW3"
  72. findnonce.h:15: warning: data definition has no type or storage class
  73. findnonce.h:15: error: parse error before "fW15"
  74. findnonce.h:15: warning: data definition has no type or storage class
  75. findnonce.h:16: error: parse error before "fW01r"
  76. findnonce.h:16: warning: data definition has no type or storage class
  77. findnonce.h:16: error: parse error before "fcty_e"
  78. findnonce.h:16: warning: data definition has no type or storage class
  79. findnonce.h:16: error: parse error before "fcty_e2"
  80. findnonce.h:16: warning: data definition has no type or storage class
  81. findnonce.h:17: warning: data definition has no type or storage class
  82. findnonce.h:30: error: parse error before "dev_blk_ctx"
  83. findnonce.h:30: warning: no semicolon at end of struct or union
  84. findnonce.h:33: error: parse error before '*' token
  85. findnonce.h:34: error: parse error before '*' token
  86. miner.c:57: error: parse error before '*' token
  87. miner.c:57: warning: data definition has no type or storage class
  88. miner.c:105: error: parse error before '*' token
  89. miner.c: In function `jobj_binary':
  90. miner.c:109: error: `json_t' undeclared (first use in this function)
  91. miner.c:109: error: (Each undeclared identifier is reported only once
  92. miner.c:109: error: for each function it appears in.)
  93. miner.c:109: error: `tmp' undeclared (first use in this function)
  94. miner.c:111: error: `obj' undeclared (first use in this function)
  95. miner.c:111: error: `key' undeclared (first use in this function)
  96. miner.c:116: warning: assignment makes pointer from integer without a cast
  97. miner.c:121: error: `buf' undeclared (first use in this function)
  98. miner.c:121: error: `buflen' undeclared (first use in this function)
  99. miner.c: At top level:
  100. miner.c:127: error: parse error before '*' token
  101. miner.c: In function `work_decode':
  102. miner.c:129: error: `val' undeclared (first use in this function)
  103. miner.c:130: error: `work' undeclared (first use in this function)
  104. miner.c: In function `submit_work':
  105. miner.c:161: error: `json_t' undeclared (first use in this function)
  106. miner.c:161: error: `val' undeclared (first use in this function)
  107. miner.c:161: error: `res' undeclared (first use in this function)
  108. miner.c:167: error: dereferencing pointer to incomplete type
  109. miner.c:167: error: dereferencing pointer to incomplete type
  110. miner.c: In function `getwork':
  111. miner.c:228: error: `json_t' undeclared (first use in this function)
  112. miner.c:228: error: `val' undeclared (first use in this function)
  113. miner.c: In function `submit_nonce':
  114. miner.c:251: error: dereferencing pointer to incomplete type
  115. miner.c:252: error: dereferencing pointer to incomplete type
  116. miner.c:253: error: dereferencing pointer to incomplete type
  117. miner.c:254: error: dereferencing pointer to incomplete type
  118. miner.c: In function `miner_thread':
  119. miner.c:268: error: `cl_int' undeclared (first use in this function)
  120. miner.c:268: error: parse error before "status"
  121. miner.c:270: error: `clState' undeclared (first use in this function)
  122. miner.c:272: error: `status' undeclared (first use in this function)
  123. miner.c:272: error: `cl_mem' undeclared (first use in this function)
  124. miner.c:273: error: `CL_SUCCESS' undeclared (first use in this function)
  125. miner.c:279: error: invalid application of `sizeof' to incomplete type `work_t'
  126.  
  127. miner.c:281: error: invalid use of undefined type `struct work_t'
  128. miner.c:281: error: dereferencing pointer to incomplete type
  129. miner.c:282: error: invalid use of undefined type `struct work_t'
  130. miner.c:282: error: dereferencing pointer to incomplete type
  131. miner.c:307: error: invalid use of undefined type `struct work_t'
  132. miner.c:307: error: dereferencing pointer to incomplete type
  133. miner.c:323: error: invalid use of undefined type `struct work_t'
  134. miner.c:323: error: dereferencing pointer to incomplete type
  135. miner.c:323: error: invalid use of undefined type `struct work_t'
  136. miner.c:323: error: dereferencing pointer to incomplete type
  137. miner.c:323: error: invalid use of undefined type `struct work_t'
  138. miner.c:323: error: dereferencing pointer to incomplete type
  139. miner.c:325: error: invalid use of undefined type `struct work_t'
  140. miner.c:325: error: dereferencing pointer to incomplete type
  141. miner.c:326: error: invalid use of undefined type `struct work_t'
  142. miner.c:326: error: dereferencing pointer to incomplete type
  143. miner.c:327: error: invalid use of undefined type `struct work_t'
  144. miner.c:327: error: dereferencing pointer to incomplete type
  145. miner.c:339: error: `CL_TRUE' undeclared (first use in this function)
  146. miner.c:340: error: invalid use of undefined type `struct work_t'
  147. miner.c:340: error: dereferencing pointer to incomplete type
  148. miner.c:353: error: invalid use of undefined type `struct work_t'
  149. miner.c:353: error: dereferencing pointer to incomplete type
  150. miner.c:359: error: invalid use of undefined type `struct work_t'
  151. miner.c:359: error: dereferencing pointer to incomplete type
  152. miner.c:361: error: invalid use of undefined type `struct work_t'
  153. miner.c:361: error: dereferencing pointer to incomplete type
  154. miner.c:363: error: invalid use of undefined type `struct work_t'
  155. miner.c:363: error: dereferencing pointer to incomplete type
  156. miner.c:363: error: invalid use of undefined type `struct work_t'
  157. miner.c:363: error: dereferencing pointer to incomplete type
  158. miner.c:381: error: invalid use of undefined type `struct work_t'
  159. miner.c:381: error: dereferencing pointer to incomplete type
  160. miner.c:383: error: invalid use of undefined type `struct work_t'
  161. miner.c:383: error: dereferencing pointer to incomplete type
  162. miner.c:388: error: invalid use of undefined type `struct work_t'
  163. miner.c:388: error: dereferencing pointer to incomplete type
  164. miner.c:408: error: invalid use of undefined type `struct work_t'
  165. miner.c:408: error: dereferencing pointer to incomplete type
  166. miner.c:409: error: invalid use of undefined type `struct work_t'
  167. miner.c:409: error: dereferencing pointer to incomplete type
  168. miner.c:409: error: invalid use of undefined type `struct work_t'
  169. miner.c:409: error: dereferencing pointer to incomplete type
  170. miner.c:411: error: invalid use of undefined type `struct work_t'
  171. miner.c:411: error: dereferencing pointer to incomplete type
  172. miner.c:413: error: invalid use of undefined type `struct work_t'
  173. miner.c:413: error: dereferencing pointer to incomplete type
  174. make: *** [miner.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment