You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During a "make" or "make examples", I get the following compiler error:
#
# More usage options:
./rdkafka_example --help
cc1: warnings being treated as errors
rdkafka_performance.c: In function ‘main’:
rdkafka_performance.c:640: error: ‘rkmessages’ may be used uninitialized in this function
make[1]: *** [rdkafka_performance] Error 1
make[1]: Leaving directory `/tmp/librdkafka-master/examples'
make: *** [examples] Error 2
Changing line 640 of rdkafka_performance.c to the following fixes my problem:
rd_kafka_message_t**rkmessages=NULL;
Information about my system if it helps you:
$ cat /etc/redhat-release
CentOS release 6.4 (Final)
$ uname -a
Linux XXXXXXXX 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cc --version
cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
$ make --version
GNU Make 3.81
The text was updated successfully, but these errors were encountered:
During a "make" or "make examples", I get the following compiler error:
Changing line 640 of rdkafka_performance.c to the following fixes my problem:
Information about my system if it helps you:
The text was updated successfully, but these errors were encountered: