edenhill / kcat

Generic command line non-JVM Apache Kafka producer and consumer
Other
5.45k stars 484 forks source link

Some 32-bit archs need linking to `libatomic` #448

Open barracuda156 opened 5 months ago

barracuda156 commented 5 months ago
Creating program kcat
/opt/local/bin/gcc-mp-13 -I/opt/local/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc kcat.o format.o tools.o input.o json.o -o kcat -L/opt/local/lib -lyajl -L/opt/local/lib -L/opt/local/libexec/openssl3/lib -L/opt/local/lib //opt/local/lib/librdkafka.a -lm -ldl -lpthread -lz -lcrypto -lssl -lsasl2 -lzstd -lcurl -llz4
Undefined symbols:
  "___atomic_store_8", referenced from:
      _rd_kafka_app_polled in librdkafka.a(rdkafka.o)
      _rd_kafka_app_poll_blocking in librdkafka.a(rdkafka.o)
      _rd_kafka_app_polled in librdkafka.a(rdkafka_queue.o)
      _rd_kafka_app_poll_blocking in librdkafka.a(rdkafka_queue.o)
      _rd_kafka_txn_op_begin_transaction in librdkafka.a(rdkafka_txnmgr.o)
      _rd_kafka_broker_fail in librdkafka.a(rdkafka_broker.o)
      _rd_kafka_broker_fail in librdkafka.a(rdkafka_broker.o)
      _rd_kafka_send in librdkafka.a(rdkafka_broker.o)
      _rd_kafka_recv in librdkafka.a(rdkafka_broker.o)
      _rd_kafka_cgrp_op_serve in librdkafka.a(rdkafka_cgrp.o)
  "___atomic_fetch_add_8", referenced from:
      _rd_atomic64_get in librdkafka.a(rdkafka.o)
      _rd_kafka_msg_partitioner in librdkafka.a(rdkafka_msg.o)
      _rd_kafka_txn_op_commit_transaction.part.0 in librdkafka.a(rdkafka_txnmgr.o)
      _rd_atomic64_get in librdkafka.a(rdkafka_broker.o)
      _rd_atomic64_add.isra.0 in librdkafka.a(rdkafka_broker.o)
      _rd_kafka_max_poll_exceeded in librdkafka.a(rdkafka_cgrp.o)
      _rd_kafka_fetch_reply_handle.constprop.0 in librdkafka.a(rdkafka_fetcher.o)
      _rd_atomic64_add.isra.0 in librdkafka.a(rdkafka_msgset_reader.o)
      _rd_kafka_msgset_create_ProduceRequest in librdkafka.a(rdkafka_msgset_writer.o)
      _rd_kafka_msgset_create_ProduceRequest in librdkafka.a(rdkafka_msgset_writer.o)
      _rd_kafka_zstd_decompress in librdkafka.a(rdkafka_zstd.o)
      _rd_kafka_lz4_decompress in librdkafka.a(rdkafka_lz4.o)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status