Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The command "c2ffi apple.m -o ./apple.spec -A x86_64-apple-darwin9" yields:
- c2ffi warning: Unhandled environment: '' for triple 'x86_64-apple-darwin9'
- apple.m:1:46: error: use of undeclared identifier 'RD_KAFKA_OFFSET_INVALID'
- const long __c2ffi_RD_KAFKA_OFFSET_INVALID = RD_KAFKA_OFFSET_INVALID;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e039f70 <apple.m:1:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_INVALID 'const long'
- apple.m:2:48: error: use of undeclared identifier 'RD_KAFKA_OFFSET_TAIL_BASE'
- const long __c2ffi_RD_KAFKA_OFFSET_TAIL_BASE = RD_KAFKA_OFFSET_TAIL_BASE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a050 <apple.m:2:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_TAIL_BASE 'const long'
- apple.m:3:37: error: use of undeclared identifier 'RD_KAFKA_V_END'
- const long __c2ffi_RD_KAFKA_V_END = RD_KAFKA_V_END;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a0d8 <apple.m:3:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_V_END 'const long'
- apple.m:4:40: error: use of undeclared identifier 'RD_KAFKA_EVENT_DR'
- const long __c2ffi_RD_KAFKA_EVENT_DR = RD_KAFKA_EVENT_DR;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a160 <apple.m:4:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DR 'const long'
- apple.m:5:42: error: use of undeclared identifier 'RD_KAFKA_EVENT_NONE'
- const long __c2ffi_RD_KAFKA_EVENT_NONE = RD_KAFKA_EVENT_NONE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a1e8 <apple.m:5:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_NONE 'const long'
- apple.m:6:41: error: use of undeclared identifier 'RD_KAFKA_EVENT_LOG'
- const long __c2ffi_RD_KAFKA_EVENT_LOG = RD_KAFKA_EVENT_LOG;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a270 <apple.m:6:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_LOG 'const long'
- apple.m:7:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_FETCH'
- const long __c2ffi_RD_KAFKA_EVENT_FETCH = RD_KAFKA_EVENT_FETCH;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a2f8 <apple.m:7:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_FETCH 'const long'
- apple.m:8:47: error: use of undeclared identifier 'RD_KAFKA_EVENT_REBALANCE'
- const long __c2ffi_RD_KAFKA_EVENT_REBALANCE = RD_KAFKA_EVENT_REBALANCE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a380 <apple.m:8:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_REBALANCE 'const long'
- apple.m:9:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_ERROR'
- const long __c2ffi_RD_KAFKA_EVENT_ERROR = RD_KAFKA_EVENT_ERROR;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a408 <apple.m:9:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_ERROR 'const long'
- apple.m:10:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_CREATETOPICS_RESULT'
- const long __c2ffi_RD_KAFKA_EVENT_CREATETOPICS_RESULT = RD_KAFKA_EVENT_CREATETOPICS_RESULT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a490 <apple.m:10:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_CREATETOPICS_RESULT 'const long'
- apple.m:11:51: error: use of undeclared identifier 'RD_KAFKA_EVENT_OFFSET_COMMIT'
- const long __c2ffi_RD_KAFKA_EVENT_OFFSET_COMMIT = RD_KAFKA_EVENT_OFFSET_COMMIT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a518 <apple.m:11:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_OFFSET_COMMIT 'const long'
- apple.m:12:43: error: use of undeclared identifier 'RD_KAFKA_EVENT_STATS'
- const long __c2ffi_RD_KAFKA_EVENT_STATS = RD_KAFKA_EVENT_STATS;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a5a0 <apple.m:12:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_STATS 'const long'
- apple.m:13:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_ALTERCONFIGS_RESULT'
- const long __c2ffi_RD_KAFKA_EVENT_ALTERCONFIGS_RESULT = RD_KAFKA_EVENT_ALTERCONFIGS_RESULT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a628 <apple.m:13:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_ALTERCONFIGS_RESULT 'const long'
- apple.m:14:57: error: use of undeclared identifier 'RD_KAFKA_EVENT_DELETETOPICS_RESULT'
- const long __c2ffi_RD_KAFKA_EVENT_DELETETOPICS_RESULT = RD_KAFKA_EVENT_DELETETOPICS_RESULT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a6b0 <apple.m:14:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DELETETOPICS_RESULT 'const long'
- apple.m:15:61: error: use of undeclared identifier 'RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT'
- const long __c2ffi_RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT = RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a738 <apple.m:15:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_CREATEPARTITIONS_RESULT 'const long'
- apple.m:16:60: error: use of undeclared identifier 'RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT'
- const long __c2ffi_RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT = RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a7c0 <apple.m:16:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_EVENT_DESCRIBECONFIGS_RESULT 'const long'
- apple.m:17:39: error: use of undeclared identifier 'RD_KAFKA_VERSION'
- const long __c2ffi_RD_KAFKA_VERSION = RD_KAFKA_VERSION;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a848 <apple.m:17:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_VERSION 'const long'
- apple.m:18:47: error: use of undeclared identifier 'RD_KAFKA_DEBUG_CONTEXTS'
- const char* __c2ffi_RD_KAFKA_DEBUG_CONTEXTS = RD_KAFKA_DEBUG_CONTEXTS;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a8d0 <apple.m:18:1, col:13> col:13 invalid __c2ffi_RD_KAFKA_DEBUG_CONTEXTS 'const char *'
- apple.m:19:44: error: use of undeclared identifier 'LIBRDKAFKA_TYPECHECKS'
- const long __c2ffi_LIBRDKAFKA_TYPECHECKS = LIBRDKAFKA_TYPECHECKS;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e03a958 <apple.m:19:1, col:12> col:12 invalid __c2ffi_LIBRDKAFKA_TYPECHECKS 'const long'
- apple.m:20:32: error: use of undeclared identifier 'RD_EXPORT'
- const long __c2ffi_RD_EXPORT = RD_EXPORT;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059600 <apple.m:20:1, col:12> col:12 invalid __c2ffi_RD_EXPORT 'const long'
- apple.m:21:36: error: use of undeclared identifier 'RD_DEPRECATED'
- const long __c2ffi_RD_DEPRECATED = RD_DEPRECATED;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059688 <apple.m:21:1, col:12> col:12 invalid __c2ffi_RD_DEPRECATED 'const long'
- apple.m:22:32: error: use of undeclared identifier 'RD_INLINE'
- const long __c2ffi_RD_INLINE = RD_INLINE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059710 <apple.m:22:1, col:12> col:12 invalid __c2ffi_RD_INLINE 'const long'
- apple.m:23:32: error: use of undeclared identifier 'RD_UNUSED'
- const long __c2ffi_RD_UNUSED = RD_UNUSED;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059798 <apple.m:23:1, col:12> col:12 invalid __c2ffi_RD_UNUSED 'const long'
- apple.m:24:47: error: use of undeclared identifier 'RD_KAFKA_MSG_F_PARTITION'
- const long __c2ffi_RD_KAFKA_MSG_F_PARTITION = RD_KAFKA_MSG_F_PARTITION;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059820 <apple.m:24:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_PARTITION 'const long'
- apple.m:25:42: error: use of undeclared identifier 'RD_KAFKA_MSG_F_COPY'
- const long __c2ffi_RD_KAFKA_MSG_F_COPY = RD_KAFKA_MSG_F_COPY;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e0598a8 <apple.m:25:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_COPY 'const long'
- apple.m:26:43: error: use of undeclared identifier 'RD_KAFKA_MSG_F_BLOCK'
- const long __c2ffi_RD_KAFKA_MSG_F_BLOCK = RD_KAFKA_MSG_F_BLOCK;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059930 <apple.m:26:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_BLOCK 'const long'
- apple.m:27:42: error: use of undeclared identifier 'RD_KAFKA_MSG_F_FREE'
- const long __c2ffi_RD_KAFKA_MSG_F_FREE = RD_KAFKA_MSG_F_FREE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e0599b8 <apple.m:27:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_MSG_F_FREE 'const long'
- apple.m:28:34: error: use of undeclared identifier '_RDKAFKA_H_'
- const long __c2ffi__RDKAFKA_H_ = _RDKAFKA_H_;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059a40 <apple.m:28:1, col:12> col:12 invalid __c2ffi__RDKAFKA_H_ 'const long'
- apple.m:29:48: error: use of undeclared identifier 'RD_KAFKA_OFFSET_BEGINNING'
- const long __c2ffi_RD_KAFKA_OFFSET_BEGINNING = RD_KAFKA_OFFSET_BEGINNING;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059ac8 <apple.m:29:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_BEGINNING 'const long'
- apple.m:30:42: error: use of undeclared identifier 'RD_KAFKA_OFFSET_END'
- const long __c2ffi_RD_KAFKA_OFFSET_END = RD_KAFKA_OFFSET_END;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059b50 <apple.m:30:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_OFFSET_END 'const long'
- apple.m:31:44: error: use of undeclared identifier 'RD_KAFKA_PARTITION_UA'
- const long __c2ffi_RD_KAFKA_PARTITION_UA = RD_KAFKA_PARTITION_UA;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059bd8 <apple.m:31:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_PARTITION_UA 'const long'
- apple.m:32:59: error: use of undeclared identifier 'RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE'
- const long __c2ffi_RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE = RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE;
- ^
- Skipping invalid Decl:
- VarDecl 0x7fc16e059c60 <apple.m:32:1, col:12> col:12 invalid __c2ffi_RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE 'const long'
- apple.m:33:45: error: use of undeclared identifier 'RD_KAFKA_OFFSET_STORED'
- const long __c2ffi_RD_KAFKA_OFFSET_STORED = RD_KAFKA_OFFSET_STORED;
- ^
- Skipping invalid Decl:
- 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