Project

General

Profile

Actions

Bug #44220

closed

ceph build error rgw_kafka.cc:365: undefined reference to rd_kafka_last_error

Added by Swing Hu about 4 years ago. Updated about 4 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph build error

sys info:
/work/ceph/build$ uname -a
Linux db01-Latitude-7490 4.15.0-76-generic #86~16.04.1-Ubuntu SMP Mon Jan 20 11:02:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

ERROR:

[ 94%] Linking CXX executable ../../../bin/ceph-dencoder
[ 94%] Built target ceph_test_librgw_file_marker
[ 95%] Built target radosgw
[ 96%] Built target radosgwd
[100%] Built target unittest_librbd
../../../lib/librgw_a.a(rgw_kafka.cc.o): In function `rgw::kafka::create_connection(boost::intrusive_ptr<rgw::kafka::connection_t>&)':
/home/db01/work/ceph/src/rgw/rgw_kafka.cc:239: undefined reference to `rd_kafka_last_error'
/home/db01/work/ceph/src/rgw/rgw_kafka.cc:250: undefined reference to `rd_kafka_last_error'
../../../lib/librgw_a.a(rgw_kafka.cc.o): In function `rgw::kafka::connection_t::destroy(int)':
/home/db01/work/ceph/src/rgw/rgw_kafka.cc:89: undefined reference to `rd_kafka_flush'
../../../lib/librgw_a.a(rgw_kafka.cc.o): In function `rgw::kafka::Manager::publish_internal(rgw::kafka::message_wrapper_t*)':
/home/db01/work/ceph/src/rgw/rgw_kafka.cc:331: undefined reference to `rd_kafka_last_error'
/home/db01/work/ceph/src/rgw/rgw_kafka.cc:365: undefined reference to `rd_kafka_last_error'
collect2: error: ld returned 1 exit status
src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/build.make:292: recipe for target 'bin/ceph-dencoder' failed
make2: * [bin/ceph-dencoder] Error 1
CMakeFiles/Makefile2:7242: recipe for target 'src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/all' failed
make1:
[src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *
* [all] Error 2

Actions

Also available in: Atom PDF