bitbouncer / kspp

A high performance/ real-time C++ Kafka streams framework (C++17)
Boost Software License 1.0
112 stars 24 forks source link

kspp build failing #28

Closed pvssrikanth closed 4 years ago

pvssrikanth commented 4 years ago

root@IIB-RND:/home/pvssrikanth/srik/kspp/build# make -j "$(getconf _NPROCESSORS_ONLN)" [ 3%] Built target kspp_grpc_s [ 7%] Built target kspp_grpc [ 29%] Built target kspp [ 51%] Built target kspp_s [ 52%] Built target kspp_avrogencpp [ 53%] Built target csv2avro [ 54%] Built target kafka2postgres [ 55%] Built target tds2kafka [ 56%] Built target example_setup [ 57%] Built target kafka2rocksdb [ 58%] Built target postgres2kafka [ 59%] Built target kafka2influxdb [ 60%] Built target example2-join [ 61%] Built target kafka2es [ 62%] Built target avro2pg [ 63%] Built target bb2pg [ 64%] Built target bb2console [ 65%] Built target kafka2avro [ 66%] Built target bb2avro [ 67%] Built target example1-partition-topology [ 68%] Built target example4-count-large [ 69%] Built target example3-count [ 70%] Built target example6-filter [ 72%] Built target example8-ktable-mem [ 72%] Built target example7-token-bucket [ 73%] Built target example5-repartition [ 74%] Built target test14_async [ 75%] Built target test1 [ 76%] Built target example10-avro [ 78%] Built target example9-ktable-rocksdb [ 78%] Built target aws-kinesis-consumer [ 79%] Built target example12-generic-avro [ 80%] Built target example14-raw-sink [ 81%] Linking CXX executable ../../../bin/aws-iot-sample [ 82%] Built target test2_rocksdb_windowed_store [ 82%] Linking CXX executable ../../../bin/mqtt-producer [ 83%] Built target test2_rocksdb_store [ 84%] Built target test7_cluster_uri Scanning dependencies of target test5_kafka_source_sink Scanning dependencies of target test10_http Scanning dependencies of target test7_url_vector Scanning dependencies of target test8_join Scanning dependencies of target test11_metrics [ 85%] Building CXX object tests/CMakeFiles/test7_url_vector.dir/test7_url_vector.cpp.o [ 86%] Built target test2_mem_counter_store [ 88%] Built target test2_mem_windowed_store [ 88%] Built target test13_mem [ 89%] Built target test2_mem_store [ 90%] Built target test2_rocksdb_counter_store [ 91%] Built target test3_mem_token_bucket [ 92%] Built target test12_s3 [ 93%] Built target test6_repartition [ 94%] Built target test4_kafka_consumer [ 95%] Building CXX object tests/CMakeFiles/test10_http.dir/test10_http.cpp.o [ 96%] Building CXX object tests/CMakeFiles/test5_kafka_source_sink.dir/test5_kafka_source_sink.cpp.o [ 97%] Building CXX object tests/CMakeFiles/test8_join.dir/test8_join.cpp.o [ 98%] Building CXX object tests/CMakeFiles/test11_metrics.dir/test11_metrics.cpp.o /usr/bin/ld: ../../../lib/libkspp_s.a(mqtt_producer.cpp.o): undefined reference to symbol 'MQTTAsync_isConnected' //usr/local/lib/libpaho-mqtt3as.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status examples/mqtt-producer/CMakeFiles/mqtt-producer.dir/build.make:105: recipe for target '../bin/mqtt-producer' failed make[2]: [../bin/mqtt-producer] Error 1 CMakeFiles/Makefile2:2758: recipe for target 'examples/mqtt-producer/CMakeFiles/mqtt-producer.dir/all' failed make[1]: [examples/mqtt-producer/CMakeFiles/mqtt-producer.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... /usr/bin/ld: ../../../lib/libkspp_s.a(mqtt_producer.cpp.o): undefined reference to symbol 'MQTTAsync_isConnected' //usr/local/lib/libpaho-mqtt3as.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status examples/aws-iot-sample/CMakeFiles/aws-iot-sample.dir/build.make:108: recipe for target '../bin/aws-iot-sample' failed make[2]: [../bin/aws-iot-sample] Error 1 CMakeFiles/Makefile2:2702: recipe for target 'examples/aws-iot-sample/CMakeFiles/aws-iot-sample.dir/all' failed make[1]: [examples/aws-iot-sample/CMakeFiles/aws-iot-sample.dir/all] Error 2 [ 98%] Linking CXX executable bin/test7_url_vector [ 98%] Built target test7_url_vector [ 98%] Linking CXX executable bin/test10_http [ 98%] Built target test10_http [ 98%] Linking CXX executable bin/test5_kafka_source_sink [ 98%] Linking CXX executable bin/test11_metrics [ 98%] Built target test5_kafka_source_sink [ 98%] Built target test11_metrics [ 99%] Linking CXX executable bin/test8_join [ 99%] Built target test8_join Makefile:140: recipe for target 'all' failed make: [all] Error 2 root@IIB-RND:/home/pvssrikanth/srik/kspp/build#

PLEASE KIND HELP HOW TO FIX THIS ISSUE and mail me at srikanthpvs@gmail.com

thanks