Advertisement
patrickmay

c2ffi step 2

Mar 27th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.52 KB | None | 0 0
  1. The command "c2ffi apple.m -o ./apple.spec -A x86_64-apple-darwin9" yields:
  2.  
  3. c2ffi warning: Unhandled environment: '' for triple 'x86_64-apple-darwin9'
  4. apple.m:1:46: error: use of undeclared identifier 'RD_KAFKA_OFFSET_INVALID'
  5. const long __c2ffi_RD_KAFKA_OFFSET_INVALID = RD_KAFKA_OFFSET_INVALID;
  6. ^
  7. Skipping invalid Decl:
  8. VarDecl 0x7fc16e039f70 <apple.m:1:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_INVALID 'const long'
  9. apple.m:2:48: error: use of undeclared identifier 'RD_KAFKA_OFFSET_TAIL_BASE'
  10. const long __c2ffi_RD_KAFKA_OFFSET_TAIL_BASE = RD_KAFKA_OFFSET_TAIL_BASE;
  11. ^
  12. Skipping invalid Decl:
  13. VarDecl 0x7fc16e03a050 <apple.m:2:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_TAIL_BASE 'const long'
  14. apple.m:3:37: error: use of undeclared identifier 'RD_KAFKA_V_END'
  15. const long __c2ffi_RD_KAFKA_V_END = RD_KAFKA_V_END;
  16. ^
  17. Skipping invalid Decl:
  18. VarDecl 0x7fc16e03a0d8 <apple.m:3:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_V_END 'const long'
  19. apple.m:4:40: error: use of undeclared identifier 'RD_KAFKA_EVENT_DR'
  20. const long __c2ffi_RD_KAFKA_EVENT_DR = RD_KAFKA_EVENT_DR;
  21. ^
  22. Skipping invalid Decl:
  23. VarDecl 0x7fc16e03a160 <apple.m:4:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DR 'const long'
  24. apple.m:5:42: error: use of undeclared identifier 'RD_KAFKA_EVENT_NONE'
  25. const long __c2ffi_RD_KAFKA_EVENT_NONE = RD_KAFKA_EVENT_NONE;
  26. ^
  27. Skipping invalid Decl:
  28. VarDecl 0x7fc16e03a1e8 <apple.m:5:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_NONE 'const long'
  29. apple.m:6:41: error: use of undeclared identifier 'RD_KAFKA_EVENT_LOG'
  30. const long __c2ffi_RD_KAFKA_EVENT_LOG = RD_KAFKA_EVENT_LOG;
  31. ^
  32. Skipping invalid Decl:
  33. VarDecl 0x7fc16e03a270 <apple.m:6:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_LOG 'const long'
  34. apple.m:7:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_FETCH'
  35. const long __c2ffi_RD_KAFKA_EVENT_FETCH = RD_KAFKA_EVENT_FETCH;
  36. ^
  37. Skipping invalid Decl:
  38. VarDecl 0x7fc16e03a2f8 <apple.m:7:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_FETCH 'const long'
  39. apple.m:8:47: error: use of undeclared identifier 'RD_KAFKA_EVENT_REBALANCE'
  40. const long __c2ffi_RD_KAFKA_EVENT_REBALANCE = RD_KAFKA_EVENT_REBALANCE;
  41. ^
  42. Skipping invalid Decl:
  43. VarDecl 0x7fc16e03a380 <apple.m:8:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_REBALANCE 'const long'
  44. apple.m:9:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_ERROR'
  45. const long __c2ffi_RD_KAFKA_EVENT_ERROR = RD_KAFKA_EVENT_ERROR;
  46. ^
  47. Skipping invalid Decl:
  48. VarDecl 0x7fc16e03a408 <apple.m:9:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_ERROR 'const long'
  49. apple.m:10:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_CREATETOPICS_RESULT'
  50. const long __c2ffi_RD_KAFKA_EVENT_CREATETOPICS_RESULT = RD_KAFKA_EVENT_CREATETOPICS_RESULT;
  51. ^
  52. Skipping invalid Decl:
  53. VarDecl 0x7fc16e03a490 <apple.m:10:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_CREATETOPICS_RESULT 'const long'
  54. apple.m:11:51: error: use of undeclared identifier 'RD_KAFKA_EVENT_OFFSET_COMMIT'
  55. const long __c2ffi_RD_KAFKA_EVENT_OFFSET_COMMIT = RD_KAFKA_EVENT_OFFSET_COMMIT;
  56. ^
  57. Skipping invalid Decl:
  58. VarDecl 0x7fc16e03a518 <apple.m:11:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_OFFSET_COMMIT 'const long'
  59. apple.m:12:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_STATS'
  60. const long __c2ffi_RD_KAFKA_EVENT_STATS = RD_KAFKA_EVENT_STATS;
  61. ^
  62. Skipping invalid Decl:
  63. VarDecl 0x7fc16e03a5a0 <apple.m:12:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_STATS 'const long'
  64. apple.m:13:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_ALTERCONFIGS_RESULT'
  65. const long __c2ffi_RD_KAFKA_EVENT_ALTERCONFIGS_RESULT = RD_KAFKA_EVENT_ALTERCONFIGS_RESULT;
  66. ^
  67. Skipping invalid Decl:
  68. VarDecl 0x7fc16e03a628 <apple.m:13:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_ALTERCONFIGS_RESULT 'const long'
  69. apple.m:14:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_DELETETOPICS_RESULT'
  70. const long __c2ffi_RD_KAFKA_EVENT_DELETETOPICS_RESULT = RD_KAFKA_EVENT_DELETETOPICS_RESULT;
  71. ^
  72. Skipping invalid Decl:
  73. VarDecl 0x7fc16e03a6b0 <apple.m:14:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DELETETOPICS_RESULT 'const long'
  74. apple.m:15:61: error: use of undeclared identifier 'RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT'
  75. const long __c2ffi_RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT = RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT;
  76. ^
  77. Skipping invalid Decl:
  78. VarDecl 0x7fc16e03a738 <apple.m:15:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT 'const long'
  79. apple.m:16:60: error: use of undeclared identifier 'RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT'
  80. const long __c2ffi_RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT = RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT;
  81. ^
  82. Skipping invalid Decl:
  83. VarDecl 0x7fc16e03a7c0 <apple.m:16:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT 'const long'
  84. apple.m:17:39: error: use of undeclared identifier 'RD_KAFKA_VERSION'
  85. const long __c2ffi_RD_KAFKA_VERSION = RD_KAFKA_VERSION;
  86. ^
  87. Skipping invalid Decl:
  88. VarDecl 0x7fc16e03a848 <apple.m:17:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_VERSION 'const long'
  89. apple.m:18:47: error: use of undeclared identifier 'RD_KAFKA_DEBUG_CONTEXTS'
  90. const char* __c2ffi_RD_KAFKA_DEBUG_CONTEXTS = RD_KAFKA_DEBUG_CONTEXTS;
  91. ^
  92. Skipping invalid Decl:
  93. VarDecl 0x7fc16e03a8d0 <apple.m:18:1, col:13> col:13 invalid __c2ffi_RD_KAFKA_DEBUG_CONTEXTS 'const char *'
  94. apple.m:19:44: error: use of undeclared identifier 'LIBRDKAFKA_TYPECHECKS'
  95. const long __c2ffi_LIBRDKAFKA_TYPECHECKS = LIBRDKAFKA_TYPECHECKS;
  96. ^
  97. Skipping invalid Decl:
  98. VarDecl 0x7fc16e03a958 <apple.m:19:1, col:12> col:12 invalid __c2ffi_LIBRDKAFKA_TYPECHECKS 'const long'
  99. apple.m:20:32: error: use of undeclared identifier 'RD_EXPORT'
  100. const long __c2ffi_RD_EXPORT = RD_EXPORT;
  101. ^
  102. Skipping invalid Decl:
  103. VarDecl 0x7fc16e059600 <apple.m:20:1, col:12> col:12 invalid __c2ffi_RD_EXPORT 'const long'
  104. apple.m:21:36: error: use of undeclared identifier 'RD_DEPRECATED'
  105. const long __c2ffi_RD_DEPRECATED = RD_DEPRECATED;
  106. ^
  107. Skipping invalid Decl:
  108. VarDecl 0x7fc16e059688 <apple.m:21:1, col:12> col:12 invalid __c2ffi_RD_DEPRECATED 'const long'
  109. apple.m:22:32: error: use of undeclared identifier 'RD_INLINE'
  110. const long __c2ffi_RD_INLINE = RD_INLINE;
  111. ^
  112. Skipping invalid Decl:
  113. VarDecl 0x7fc16e059710 <apple.m:22:1, col:12> col:12 invalid __c2ffi_RD_INLINE 'const long'
  114. apple.m:23:32: error: use of undeclared identifier 'RD_UNUSED'
  115. const long __c2ffi_RD_UNUSED = RD_UNUSED;
  116. ^
  117. Skipping invalid Decl:
  118. VarDecl 0x7fc16e059798 <apple.m:23:1, col:12> col:12 invalid __c2ffi_RD_UNUSED 'const long'
  119. apple.m:24:47: error: use of undeclared identifier 'RD_KAFKA_MSG_F_PARTITION'
  120. const long __c2ffi_RD_KAFKA_MSG_F_PARTITION = RD_KAFKA_MSG_F_PARTITION;
  121. ^
  122. Skipping invalid Decl:
  123. VarDecl 0x7fc16e059820 <apple.m:24:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_PARTITION 'const long'
  124. apple.m:25:42: error: use of undeclared identifier 'RD_KAFKA_MSG_F_COPY'
  125. const long __c2ffi_RD_KAFKA_MSG_F_COPY = RD_KAFKA_MSG_F_COPY;
  126. ^
  127. Skipping invalid Decl:
  128. VarDecl 0x7fc16e0598a8 <apple.m:25:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_COPY 'const long'
  129. apple.m:26:43: error: use of undeclared identifier 'RD_KAFKA_MSG_F_BLOCK'
  130. const long __c2ffi_RD_KAFKA_MSG_F_BLOCK = RD_KAFKA_MSG_F_BLOCK;
  131. ^
  132. Skipping invalid Decl:
  133. VarDecl 0x7fc16e059930 <apple.m:26:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_BLOCK 'const long'
  134. apple.m:27:42: error: use of undeclared identifier 'RD_KAFKA_MSG_F_FREE'
  135. const long __c2ffi_RD_KAFKA_MSG_F_FREE = RD_KAFKA_MSG_F_FREE;
  136. ^
  137. Skipping invalid Decl:
  138. VarDecl 0x7fc16e0599b8 <apple.m:27:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_FREE 'const long'
  139. apple.m:28:34: error: use of undeclared identifier '_RDKAFKA_H_'
  140. const long __c2ffi__RDKAFKA_H_ = _RDKAFKA_H_;
  141. ^
  142. Skipping invalid Decl:
  143. VarDecl 0x7fc16e059a40 <apple.m:28:1, col:12> col:12 invalid __c2ffi__RDKAFKA_H_ 'const long'
  144. apple.m:29:48: error: use of undeclared identifier 'RD_KAFKA_OFFSET_BEGINNING'
  145. const long __c2ffi_RD_KAFKA_OFFSET_BEGINNING = RD_KAFKA_OFFSET_BEGINNING;
  146. ^
  147. Skipping invalid Decl:
  148. VarDecl 0x7fc16e059ac8 <apple.m:29:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_BEGINNING 'const long'
  149. apple.m:30:42: error: use of undeclared identifier 'RD_KAFKA_OFFSET_END'
  150. const long __c2ffi_RD_KAFKA_OFFSET_END = RD_KAFKA_OFFSET_END;
  151. ^
  152. Skipping invalid Decl:
  153. VarDecl 0x7fc16e059b50 <apple.m:30:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_END 'const long'
  154. apple.m:31:44: error: use of undeclared identifier 'RD_KAFKA_PARTITION_UA'
  155. const long __c2ffi_RD_KAFKA_PARTITION_UA = RD_KAFKA_PARTITION_UA;
  156. ^
  157. Skipping invalid Decl:
  158. VarDecl 0x7fc16e059bd8 <apple.m:31:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_PARTITION_UA 'const long'
  159. apple.m:32:59: error: use of undeclared identifier 'RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE'
  160. const long __c2ffi_RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE = RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE;
  161. ^
  162. Skipping invalid Decl:
  163. VarDecl 0x7fc16e059c60 <apple.m:32:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE 'const long'
  164. apple.m:33:45: error: use of undeclared identifier 'RD_KAFKA_OFFSET_STORED'
  165. const long __c2ffi_RD_KAFKA_OFFSET_STORED = RD_KAFKA_OFFSET_STORED;
  166. ^
  167. Skipping invalid Decl:
  168. VarDecl 0x7fc16e059ce8 <apple.m:33:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_STORED 'const long'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement