Comments (5)
Try: CC=clang make
or add -Wno-gnu-designator to CFLAGS in Makefile
from librdkafka.
error message like this when I try you method
clang -MD -MP -O2 -Wall -Werror -Wfloat-equal -Wpointer-arith -fPIC -I. -g -Wno-gnu-designator -DSG -c rdkafka.c
clang -MD -MP -O2 -Wall -Werror -Wfloat-equal -Wpointer-arith -fPIC -I. -g -Wno-gnu-designator -DSG -c rdkafka_broker.c
rdkafka_broker.c:2192:22: error: implicit declaration of function 'be64toh' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
hdr->Offset = be64toh(hdr->Offset);
^
rdkafka_broker.c:2793:30: error: implicit declaration of function 'htobe64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
part2->Time = htobe64(rktp->rktp_query_offset);
^
2 errors generated.
make: *** [rdkafka_broker.o] Error 1
from librdkafka.
I found something useful for this issue, and use it, the library can build successfully in my mac
https://gist.github.com/yinyin/2027912
from librdkafka.
Hi @xiaojun789, could you update your master checkout and try again.
Compile support for OSX 10.9 was just merged and I hope it fixes 10.8 aswell.
from librdkafka.
Reopen if still problems
from librdkafka.
Related Issues (20)
- Error handling question "treat any error that has neither retriable, abortable, or fatal set, as a fatal error" HOT 1
- rd_kafka_commit_transaction failed, but messages were delivered to topics HOT 1
- I am unable to get producer. HOT 2
- Unable to check for updates HOT 6
- The lib can't work on windows. HOT 2
- `rd_kafka_offsets_store` with `rd_kafka_commit` does not preserve metadata on `NULL` HOT 1
- Question regardless blocked signals in threads HOT 6
- Onprem SQL to AWS Confluent Cloud Kafka "Not selecting any broker for cluster connection" HOT 1
- producer continually refreshing client metadata after broker disconnection HOT 8
- APIVERSION_QUERY timeout in first connection with TLSv1.3 kafka broker
- mklove/modules/configure.base: line 2126: source: configure.self: file not found on windows HOT 3
- Consumer initialization hangs HOT 1
- rd_kafka_metadata can cause a UNKNOWN_TOPIC_OR_PART message HOT 10
- Expose `rd_kafka_global_init` to prevent forking issues on macOS HOT 7
- librdkafka cannot be built with LLD linker HOT 2
- Upgrade CMake minimum version
- Issue with Confluent Kafka Python and MSK: "metadata information unknown" HOT 1
- Message is 'stuck' when the network cable is unplugged
- adminClient describeConsumerGroups leads to python: rdkafka_queue.h:1052: rd_kafka_enq_once_del_source_return: Assertion `eonce->refcnt > 0' failed. HOT 2
- Producer never reconnects to broker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librdkafka.