Net-Kafka v1.06 Perl 5 v5.24.4 x86_64-linux
- Status
- Unknown
- From
- Slaven Rezić (SREZIC)
- Dist
-
Net-Kafka v1.06
- Platform
- Perl 5 v5.24.4 x86_64-linux
- Date
- 2019-10-29 23:51:46
- ID
- 11631f0c-faa7-11e9-b1a3-c5511f24ea8f
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Alex Mironov,
This is a computer-generated report for Net-Kafka-1.06
on perl 5.24.4, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, attempting to
test your distribution gave an inconclusive result.
This could be because your distribution had an error during the make/build
stage, did not define tests, tests could not be found, because your tests were
interrupted before they finished, or because the results of the tests could not
be parsed. You may wish to consult the CPAN Testers Wiki:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make':
cp lib/Net/Kafka/Producer.pm blib/lib/Net/Kafka/Producer.pm
cp lib/Net/Kafka/Consumer.pm blib/lib/Net/Kafka/Consumer.pm
cp lib/Net/Kafka.pm blib/lib/Net/Kafka.pm
cp lib/Net/Kafka/Util.pm blib/lib/Net/Kafka/Util.pm
Running Mkbootstrap for Kafka ()
chmod 644 "Kafka.bs"
"/opt/perl-5.24.4/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Kafka.bs blib/arch/auto/Net/Kafka/Kafka.bs 644
"/opt/perl-5.24.4/bin/perl" "/opt/perl-5.24.4/lib/site_perl/5.24.4/ExtUtils/xsubpp" -typemap '/opt/perl-5.24.4/lib/5.24.4/ExtUtils/typemap' -typemap '/home/cpansand/.cpan/build/2019102909/Net-Kafka-1.06-R1pU2g/typemap' -typemap '/home/cpansand/.cpan/build/2019102909/Net-Kafka-1.06-R1pU2g/typemap' Kafka.xs > Kafka.xsc
mv Kafka.xsc Kafka.c
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE" Kafka.c
Kafka.xs: In function âÂÂXS_Net__Kafka_get_debug_contextsâÂÂ:
Kafka.xs:131:18: warning: implicit declaration of function âÂÂrd_kafka_get_debug_contextsâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_get_debug_contexts();
^
Kafka.xs:131:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_get_debug_contexts();
^
Kafka.xs: In function âÂÂXS_Net__Kafka_subscribeâÂÂ:
Kafka.xs:142:9: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* topic_list;
^
Kafka.xs:148:22: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_newâ [-Wimplicit-function-declaration]
topic_list = rd_kafka_topic_partition_list_new(len);
^
Kafka.xs:148:20: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
topic_list = rd_kafka_topic_partition_list_new(len);
^
Kafka.xs:153:17: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_addâ [-Wimplicit-function-declaration]
rd_kafka_topic_partition_list_add(topic_list, topic, -1);
^
Kafka.xs:156:15: warning: implicit declaration of function âÂÂrd_kafka_subscribeâ [-Wimplicit-function-declaration]
err = rd_kafka_subscribe(rdk->rk, topic_list);
^
Kafka.xs:157:9: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_destroyâ [-Wimplicit-function-declaration]
rd_kafka_topic_partition_list_destroy(topic_list);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_unsubscribeâÂÂ:
Kafka.xs:168:15: warning: implicit declaration of function âÂÂrd_kafka_unsubscribeâ [-Wimplicit-function-declaration]
err = rd_kafka_unsubscribe(rdk->rk);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_subscriptionâÂÂ:
Kafka.xs:177:9: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
Kafka.c:418:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * RETVAL;
^
Kafka.xs:180:15: warning: implicit declaration of function âÂÂrd_kafka_subscriptionâ [-Wimplicit-function-declaration]
err = rd_kafka_subscription(rdk->rk, &tp_list);
^
Kafka.c: In function âÂÂXS_Net__Kafka_assignâÂÂ:
Kafka.c:454:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:473:21: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:473:21: note: each undeclared identifier is reported only once for each function it appears in
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:473:13: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:195:15: warning: implicit declaration of function âÂÂrd_kafka_assignâ [-Wimplicit-function-declaration]
err = rd_kafka_assign(rdk->rk, tp_list);
^
Kafka.c: In function âÂÂXS_Net__Kafka_positionâÂÂ:
Kafka.c:499:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:515:35: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:515:27: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:207:15: warning: implicit declaration of function âÂÂrd_kafka_positionâ [-Wimplicit-function-declaration]
err = rd_kafka_position(rdk->rk, tp_list);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_assignmentâÂÂ:
Kafka.xs:216:9: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
Kafka.c:544:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * RETVAL;
^
Kafka.xs:219:15: warning: implicit declaration of function âÂÂrd_kafka_assignmentâ [-Wimplicit-function-declaration]
err = rd_kafka_assignment(rdk->rk, &tp_list);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_queue_pollâÂÂ:
Kafka.xs:232:9: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rke;
^
Kafka.c:586:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t * RETVAL;
^
Kafka.xs:234:15: warning: implicit declaration of function âÂÂrd_kafka_queue_pollâ [-Wimplicit-function-declaration]
rke = rd_kafka_queue_poll(rdk->queue, timeout_ms);
^
Kafka.xs:234:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
rke = rd_kafka_queue_poll(rdk->queue, timeout_ms);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_queue_lengthâÂÂ:
Kafka.xs:248:18: warning: implicit declaration of function âÂÂrd_kafka_queue_lengthâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_queue_length(rdk->queue);
^
Kafka.c: In function âÂÂXS_Net__Kafka_commitâÂÂ:
Kafka.c:657:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:683:21: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:683:13: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:260:15: warning: implicit declaration of function âÂÂrd_kafka_commitâ [-Wimplicit-function-declaration]
err = rd_kafka_commit(rdk->rk, tp_list, async);
^
Kafka.xs:261:57: error: âÂÂRD_KAFKA_RESP_ERR__NO_OFFSETâ undeclared (first use in this function)
if (err != RD_KAFKA_RESP_ERR_NO_ERROR && err != RD_KAFKA_RESP_ERR__NO_OFFSET) {
^
Kafka.xs: In function âÂÂXS_Net__Kafka_commit_messageâÂÂ:
Kafka.xs:273:15: warning: implicit declaration of function âÂÂrd_kafka_commit_messageâ [-Wimplicit-function-declaration]
err = rd_kafka_commit_message(rdk->rk, rd_msg, async);
^
Kafka.c: In function âÂÂXS_Net__Kafka_committedâÂÂ:
Kafka.c:758:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:776:35: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:776:27: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:286:15: warning: implicit declaration of function âÂÂrd_kafka_committedâ [-Wimplicit-function-declaration]
err = rd_kafka_committed(rdk->rk, tp_list, timeout_ms);
^
Kafka.c: In function âÂÂXS_Net__Kafka_offsets_for_timesâÂÂ:
Kafka.c:801:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:819:35: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:819:27: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:299:15: warning: implicit declaration of function âÂÂrd_kafka_offsets_for_timesâ [-Wimplicit-function-declaration]
err = rd_kafka_offsets_for_times(rdk->rk, tp_list, timeout_ms);
^
Kafka.c: In function âÂÂXS_Net__Kafka_pauseâÂÂ:
Kafka.c:844:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:863:21: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:863:13: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:311:15: warning: implicit declaration of function âÂÂrd_kafka_pause_partitionsâ [-Wimplicit-function-declaration]
err = rd_kafka_pause_partitions(rdk->rk, tp_list);
^
Kafka.c: In function âÂÂXS_Net__Kafka_produceâÂÂ:
Kafka.c:902:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t * hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:932:18: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:932:10: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:337:15: warning: implicit declaration of function âÂÂrd_kafka_producevâ [-Wimplicit-function-declaration]
err = rd_kafka_producev(
^
Kafka.xs:339:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_TOPICâ [-Wimplicit-function-declaration]
RD_KAFKA_V_TOPIC(topic),
^
Kafka.xs:340:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_PARTITIONâ [-Wimplicit-function-declaration]
RD_KAFKA_V_PARTITION(partition),
^
Kafka.xs:341:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_MSGFLAGSâ [-Wimplicit-function-declaration]
RD_KAFKA_V_MSGFLAGS(RD_KAFKA_MSG_F_COPY | msgflags),
^
Kafka.xs:342:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_KEYâ [-Wimplicit-function-declaration]
RD_KAFKA_V_KEY(keyptr, klen),
^
Kafka.xs:343:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_TIMESTAMPâ [-Wimplicit-function-declaration]
RD_KAFKA_V_TIMESTAMP(timestamp),
^
Kafka.xs:344:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_VALUEâ [-Wimplicit-function-declaration]
RD_KAFKA_V_VALUE(plptr, plen),
^
Kafka.xs:345:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_OPAQUEâ [-Wimplicit-function-declaration]
RD_KAFKA_V_OPAQUE((void *) msg_id),
^
Kafka.xs:347:13: warning: implicit declaration of function âÂÂRD_KAFKA_V_HEADERSâ [-Wimplicit-function-declaration]
RD_KAFKA_V_HEADERS(hdrs ? rd_kafka_headers_copy(hdrs) : NULL),
^
Kafka.xs:347:39: warning: implicit declaration of function âÂÂrd_kafka_headers_copyâ [-Wimplicit-function-declaration]
RD_KAFKA_V_HEADERS(hdrs ? rd_kafka_headers_copy(hdrs) : NULL),
^
Kafka.xs:347:67: warning: pointer/integer type mismatch in conditional expression
RD_KAFKA_V_HEADERS(hdrs ? rd_kafka_headers_copy(hdrs) : NULL),
^
Kafka.xs:348:13: error: âÂÂRD_KAFKA_V_ENDâ undeclared (first use in this function)
RD_KAFKA_V_END);
^
Kafka.c: In function âÂÂXS_Net__Kafka_resumeâÂÂ:
Kafka.c:975:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* tp_list;
^
In file included from Kafka.xs:4:0:
Kafka.c:994:21: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:994:13: note: in expansion of macro âÂÂINT2PTRâÂÂ
tp_list = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:361:15: warning: implicit declaration of function âÂÂrd_kafka_resume_partitionsâ [-Wimplicit-function-declaration]
err = rd_kafka_resume_partitions(rdk->rk, tp_list);
^
Kafka.xs: In function âÂÂXS_Net__Kafka_consumer_pollâÂÂ:
Kafka.xs:371:38: warning: implicit declaration of function âÂÂrd_kafka_consumer_pollâ [-Wimplicit-function-declaration]
rd_kafka_message_t *rd_msg = rd_kafka_consumer_poll( rdk->rk, timeout_ms );
^
Kafka.xs:371:38: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
Kafka.xs: In function âÂÂXS_Net__Kafka_query_watermark_offsetsâÂÂ:
Kafka.xs:423:15: warning: implicit declaration of function âÂÂrd_kafka_query_watermark_offsetsâ [-Wimplicit-function-declaration]
err = rd_kafka_query_watermark_offsets(rdk->rk, topic, partition, &low, &high, timeout_ms);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_nameâÂÂ:
Kafka.c:1219:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1225:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1225:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:438:18: warning: implicit declaration of function âÂÂrd_kafka_event_nameâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_name(rkev);
^
Kafka.xs:438:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_event_name(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_errorâÂÂ:
Kafka.c:1247:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1253:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1253:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:446:18: warning: implicit declaration of function âÂÂrd_kafka_event_errorâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_error(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_error_stringâÂÂ:
Kafka.c:1275:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1281:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1281:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:454:18: warning: implicit declaration of function âÂÂrd_kafka_event_error_stringâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_error_string(rkev);
^
Kafka.xs:454:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_event_error_string(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_statsâÂÂ:
Kafka.c:1303:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1309:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1309:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:462:18: warning: implicit declaration of function âÂÂrd_kafka_event_statsâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_stats(rkev);
^
Kafka.xs:462:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_event_stats(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_message_countâÂÂ:
Kafka.c:1331:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1337:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1337:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:470:18: warning: implicit declaration of function âÂÂrd_kafka_event_message_countâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_message_count(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_delivery_report_nextâÂÂ:
Kafka.c:1359:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1367:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1367:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:480:15: warning: implicit declaration of function âÂÂrd_kafka_event_message_nextâ [-Wimplicit-function-declaration]
rkm = rd_kafka_event_message_next(rkev);
^
Kafka.xs:480:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
rkm = rd_kafka_event_message_next(rkev);
^
In file included from /opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:2690:0,
from Kafka.xs:4:
Kafka.xs:489:48: warning: implicit declaration of function âÂÂrd_kafka_message_timestampâ [-Wimplicit-function-declaration]
hv_stores(RETVAL, "timestamp", newSViv(rd_kafka_message_timestamp(rkm, NULL)));
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/handy.h:418:43: note: in definition of macro âÂÂhv_storesâÂÂ
(HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), (val), 0))
^
Kafka.xs:489:40: note: in expansion of macro âÂÂnewSVivâÂÂ
hv_stores(RETVAL, "timestamp", newSViv(rd_kafka_message_timestamp(rkm, NULL)));
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_event_typeâÂÂ:
Kafka.c:1410:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1416:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1416:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:504:18: warning: implicit declaration of function âÂÂrd_kafka_event_typeâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_event_type(rkev);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Event_DESTROYâÂÂ:
Kafka.c:1438:2: error: unknown type name âÂÂrd_kafka_event_tâÂÂ
rd_kafka_event_t* rkev;
^
In file included from Kafka.xs:4:0:
Kafka.c:1442:32: error: âÂÂrd_kafka_event_tâ undeclared (first use in this function)
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:1442:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
rkev = INT2PTR(rd_kafka_event_t *, tmp);
^
Kafka.xs:512:9: warning: implicit declaration of function âÂÂrd_kafka_event_destroyâ [-Wimplicit-function-declaration]
rd_kafka_event_destroy(rkev);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Topic_metadataâÂÂ:
Kafka.xs:530:31: warning: implicit declaration of function âÂÂrd_kafka_topic_opaqueâ [-Wimplicit-function-declaration]
rdk = (plrd_kafka_t *)rd_kafka_topic_opaque(rkt);
^
Kafka.xs:530:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
rdk = (plrd_kafka_t *)rd_kafka_topic_opaque(rkt);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Topic_seekâÂÂ:
Kafka.xs:606:15: warning: implicit declaration of function âÂÂrd_kafka_seekâ [-Wimplicit-function-declaration]
err = rd_kafka_seek(rkt, partition, offset, timeout_ms);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Topic_DESTROYâÂÂ:
Kafka.xs:615:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
plrd_kafka_t* krd = (plrd_kafka_t *)rd_kafka_topic_opaque(rkt);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Message_err_nameâÂÂ:
Kafka.xs:634:18: warning: implicit declaration of function âÂÂrd_kafka_err2nameâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_err2name(rd_msg->err);
^
Kafka.xs:634:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_err2name(rd_msg->err);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Message_timestampâÂÂ:
Kafka.xs:678:9: error: unknown type name âÂÂrd_kafka_timestamp_type_tâÂÂ
rd_kafka_timestamp_type_t tstype;
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Message_headersâÂÂ:
Kafka.xs:698:9: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t *hdrs;
^
Kafka.c:1885:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t * RETVAL;
^
Kafka.xs:701:15: warning: implicit declaration of function âÂÂrd_kafka_message_headersâ [-Wimplicit-function-declaration]
err = rd_kafka_message_headers(rd_msg, &hdrs);
^
Kafka.xs:704:20: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_headers_copy(hdrs);
^
Kafka.xs:705:27: error: âÂÂRD_KAFKA_RESP_ERR__NOENTâ undeclared (first use in this function)
} else if (err == RD_KAFKA_RESP_ERR__NOENT) {
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Message_detach_headersâÂÂ:
Kafka.xs:717:9: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t *hdrs;
^
Kafka.c:1929:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t * RETVAL;
^
Kafka.xs:720:15: warning: implicit declaration of function âÂÂrd_kafka_message_detach_headersâ [-Wimplicit-function-declaration]
err = rd_kafka_message_detach_headers(rd_msg, &hdrs);
^
Kafka.xs:723:27: error: âÂÂRD_KAFKA_RESP_ERR__NOENTâ undeclared (first use in this function)
} else if (err == RD_KAFKA_RESP_ERR__NOENT) {
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_newâÂÂ:
Kafka.c:1994:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t * RETVAL;
^
Kafka.xs:744:18: warning: implicit declaration of function âÂÂrd_kafka_headers_newâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_headers_new(0);
^
Kafka.xs:744:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_headers_new(0);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_addâÂÂ:
Kafka.c:2020:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t* hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:2028:32: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2028:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:758:15: warning: implicit declaration of function âÂÂrd_kafka_header_addâ [-Wimplicit-function-declaration]
err = rd_kafka_header_add(hdrs, name, name_len, value, value_len);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_removeâÂÂ:
Kafka.c:2055:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t* hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:2063:32: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2063:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:771:15: warning: implicit declaration of function âÂÂrd_kafka_header_removeâ [-Wimplicit-function-declaration]
err = rd_kafka_header_remove(hdrs, name);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_get_lastâÂÂ:
Kafka.c:2094:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t* hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:2102:32: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2102:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:786:15: warning: implicit declaration of function âÂÂrd_kafka_header_get_lastâ [-Wimplicit-function-declaration]
err = rd_kafka_header_get_last(hdrs, name, &value, &value_len);
^
Kafka.xs:789:27: error: âÂÂRD_KAFKA_RESP_ERR__NOENTâ undeclared (first use in this function)
} else if (err == RD_KAFKA_RESP_ERR__NOENT) {
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_to_hashâÂÂ:
Kafka.c:2131:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t* hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:2147:32: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2147:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:809:19: warning: implicit declaration of function âÂÂrd_kafka_header_get_allâ [-Wimplicit-function-declaration]
err = rd_kafka_header_get_all(hdrs, i, &name, &value, &value_len);
^
Kafka.c: In function âÂÂXS_Net__Kafka__Headers_DESTROYâÂÂ:
Kafka.c:2194:2: error: unknown type name âÂÂrd_kafka_headers_tâÂÂ
rd_kafka_headers_t* hdrs;
^
In file included from Kafka.xs:4:0:
Kafka.c:2200:32: error: âÂÂrd_kafka_headers_tâ undeclared (first use in this function)
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2200:24: note: in expansion of macro âÂÂINT2PTRâÂÂ
hdrs = INT2PTR(rd_kafka_headers_t *, tmp);
^
Kafka.xs:835:9: warning: implicit declaration of function âÂÂrd_kafka_headers_destroyâ [-Wimplicit-function-declaration]
rd_kafka_headers_destroy(hdrs);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Error_rd_kafka_get_err_descsâÂÂ:
Kafka.xs:847:9: warning: implicit declaration of function âÂÂrd_kafka_get_err_descsâ [-Wimplicit-function-declaration]
rd_kafka_get_err_descs(&descs, &cnt);
^
Kafka.xs:850:13: error: invalid use of undefined type âÂÂstruct rd_kafka_err_descâÂÂ
if (descs[i].name != NULL) {
^
Kafka.xs:850:22: error: dereferencing pointer to incomplete type âÂÂconst struct rd_kafka_err_descâÂÂ
if (descs[i].name != NULL) {
^
Kafka.xs:851:17: error: invalid use of undefined type âÂÂstruct rd_kafka_err_descâÂÂ
hv_store(RETVAL, descs[i].name, strnlen(descs[i].name, 1024), newSViv(descs[i].code), 0);
^
Kafka.xs:851:17: error: invalid use of undefined type âÂÂstruct rd_kafka_err_descâÂÂ
Kafka.xs:851:17: error: invalid use of undefined type âÂÂstruct rd_kafka_err_descâÂÂ
Kafka.xs: In function âÂÂXS_Net__Kafka__Error_to_nameâÂÂ:
Kafka.xs:869:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_err2name(code);
^
Kafka.xs: In function âÂÂXS_Net__Kafka__Error_last_errorâÂÂ:
Kafka.xs:876:18: warning: implicit declaration of function âÂÂrd_kafka_last_errorâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_last_error();
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_newâÂÂ:
Kafka.c:2315:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * RETVAL;
^
Kafka.xs:888:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_topic_partition_list_new(initial_size);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_addâÂÂ:
Kafka.c:2344:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
Kafka.xs:898:9: error: unknown type name âÂÂrd_kafka_topic_partition_tâÂÂ
rd_kafka_topic_partition_t *tp;
^
In file included from Kafka.xs:4:0:
Kafka.c:2355:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2355:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:900:14: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_findâ [-Wimplicit-function-declaration]
tp = rd_kafka_topic_partition_list_find(rktpl, topic, partition);
^
Kafka.xs:900:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tp = rd_kafka_topic_partition_list_find(rktpl, topic, partition);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_copyâÂÂ:
Kafka.c:2379:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t* rktpl;
^
Kafka.c:2380:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * RETVAL;
^
In file included from Kafka.xs:4:0:
Kafka.c:2384:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2384:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:909:18: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_copyâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_topic_partition_list_copy(rktpl);
^
Kafka.xs:909:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RETVAL = rd_kafka_topic_partition_list_copy(rktpl);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_getâÂÂ:
Kafka.c:2413:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
In file included from Kafka.xs:4:0:
Kafka.c:2419:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2419:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:918:46: error: request for member âÂÂcntâ in something not a structure or union
if (!rktpl || idx < 0 || idx >= rktpl->cnt) {
^
Kafka.xs:921:25: error: request for member âÂÂelemsâ in something not a structure or union
char* tn = rktpl->elems[idx].topic;
^
In file included from /opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:5568:0,
from Kafka.xs:4:
Kafka.xs:924:39: error: request for member âÂÂelemsâ in something not a structure or union
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].partition)));
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/pp.h:451:28: note: in definition of macro âÂÂPUSHsâÂÂ
#define PUSHs(s) (*++sp = (s))
^
Kafka.xs:924:15: note: in expansion of macro âÂÂsv_2mortalâÂÂ
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].partition)));
^
Kafka.xs:924:26: note: in expansion of macro âÂÂnewSVivâÂÂ
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].partition)));
^
Kafka.xs:925:39: error: request for member âÂÂelemsâ in something not a structure or union
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].offset)));
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/pp.h:451:28: note: in definition of macro âÂÂPUSHsâÂÂ
#define PUSHs(s) (*++sp = (s))
^
Kafka.xs:925:15: note: in expansion of macro âÂÂsv_2mortalâÂÂ
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].offset)));
^
Kafka.xs:925:26: note: in expansion of macro âÂÂnewSVivâÂÂ
PUSHs(sv_2mortal(newSViv(rktpl->elems[idx].offset)));
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_set_offsetâÂÂ:
Kafka.c:2448:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
In file included from Kafka.xs:4:0:
Kafka.c:2461:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2461:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:936:15: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_set_offsetâ [-Wimplicit-function-declaration]
err = rd_kafka_topic_partition_list_set_offset(rktpl, topic, partition, offset);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_offsetâÂÂ:
Kafka.c:2487:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
Kafka.xs:947:9: error: unknown type name âÂÂrd_kafka_topic_partition_tâÂÂ
rd_kafka_topic_partition_t *tp;
^
In file included from Kafka.xs:4:0:
Kafka.c:2498:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2498:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:949:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tp = rd_kafka_topic_partition_list_find(rktpl, topic, partition);
^
In file included from /opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:5623:0,
from Kafka.xs:4:
Kafka.xs:955:38: error: request for member âÂÂoffsetâ in something not a structure or union
ST(0) = sv_2mortal(newSViv(tp->offset));
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/embed.h:581:46: note: in definition of macro âÂÂsv_2mortalâÂÂ
#define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
^
Kafka.xs:955:28: note: in expansion of macro âÂÂnewSVivâÂÂ
ST(0) = sv_2mortal(newSViv(tp->offset));
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_delâÂÂ:
Kafka.c:2527:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
In file included from Kafka.xs:4:0:
Kafka.c:2537:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2537:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:964:18: warning: implicit declaration of function âÂÂrd_kafka_topic_partition_list_delâ [-Wimplicit-function-declaration]
RETVAL = rd_kafka_topic_partition_list_del(rktpl, topic, partition);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_sizeâÂÂ:
Kafka.c:2559:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
In file included from Kafka.xs:4:0:
Kafka.c:2565:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2565:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs:972:44: error: request for member âÂÂcntâ in something not a structure or union
RETVAL = (rktpl == NULL ? 0 : rktpl->cnt);
^
Kafka.c: In function âÂÂXS_Net__Kafka__TopicPartitionList_DESTROYâÂÂ:
Kafka.c:2587:2: error: unknown type name âÂÂrd_kafka_topic_partition_list_tâÂÂ
rd_kafka_topic_partition_list_t * rktpl;
^
In file included from Kafka.xs:4:0:
Kafka.c:2591:33: error: âÂÂrd_kafka_topic_partition_list_tâ undeclared (first use in this function)
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:27: note: in definition of macro âÂÂINT2PTRâÂÂ
# define INT2PTR(any,d) (any)(d)
^
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux/CORE/perl.h:1731:30: error: expected expression before âÂÂ)â token
# define INT2PTR(any,d) (any)(d)
^
Kafka.c:2591:25: note: in expansion of macro âÂÂINT2PTRâÂÂ
rktpl = INT2PTR(rd_kafka_topic_partition_list_t *, tmp);
^
Kafka.xs: In function âÂÂboot_Net__KafkaâÂÂ:
Kafka.xs:59:27: error: âÂÂRD_KAFKA_TIMESTAMP_NOT_AVAILABLEâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_TIMESTAMP_NOT_AVAILABLE );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:60:27: error: âÂÂRD_KAFKA_TIMESTAMP_CREATE_TIMEâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_TIMESTAMP_CREATE_TIME );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:61:27: error: âÂÂRD_KAFKA_TIMESTAMP_LOG_APPEND_TIMEâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_TIMESTAMP_LOG_APPEND_TIME );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:66:27: error: âÂÂRD_KAFKA_OFFSET_INVALIDâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_OFFSET_INVALID );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:68:27: error: âÂÂRD_KAFKA_EVENT_NONEâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_NONE );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:69:27: error: âÂÂRD_KAFKA_EVENT_DRâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_DR );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:70:27: error: âÂÂRD_KAFKA_EVENT_FETCHâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_FETCH );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:71:27: error: âÂÂRD_KAFKA_EVENT_LOGâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_LOG );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:72:27: error: âÂÂRD_KAFKA_EVENT_ERRORâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_ERROR );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:73:27: error: âÂÂRD_KAFKA_EVENT_REBALANCEâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_REBALANCE );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:74:27: error: âÂÂRD_KAFKA_EVENT_OFFSET_COMMITâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_OFFSET_COMMIT );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Kafka.xs:75:27: error: âÂÂRD_KAFKA_EVENT_STATSâ undeclared (first use in this function)
MAKE_CONSTANT_IV( RD_KAFKA_EVENT_STATS );
^
Kafka.xs:46:89: note: in definition of macro âÂÂMAKE_CONSTANT_IVâÂÂ
#define MAKE_CONSTANT_IV( name ) make_constant_iv( aTHX_ stash, #name, strlen( #name ), name )
^
Makefile:348: recipe for target 'Kafka.o' failed
make: *** [Kafka.o] Error 1
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
-------------------- -------- --------
AnyEvent 0 7.16
AnyEvent::XSPromises 0 0
perl 5.022000 5.024004
Test::More 0 1.302167
build_requires:
Module Need Have
-------------------- -------- --------
ExtUtils::MakeMaker 0 7.38
configure_requires:
Module Need Have
-------------------- -------- --------
ExtUtils::MakeMaker 0 7.38
ExtUtils::PkgConfig 0 1.16
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = en_US.UTF-8
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
PERL = /opt/perl-5.24.4/bin/perl
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 13465
PERL5_CPAN_IS_RUNNING = 13465
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 13406,13465
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2019102909/cpanreporter_000_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
SHELL = /usr/bin/zsh
TERM = screen
TMPDIR = /var/tmp/cpansmoker-1023/2019102909
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /opt/perl-5.24.4/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11_01
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280231
ExtUtils::Command 7.38
ExtUtils::Install 2.06
ExtUtils::MakeMaker 7.38
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.35
File::Spec 3.75
JSON 4.02
JSON::PP 4.04
Module::Build 0.4229
Module::Signature n/a
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302167
YAML 1.29
YAML::Syck 1.31
version 0.9916
--
Summary of my perl5 (revision 5 version 24 subversion 4) configuration:
Platform:
osname=linux, osvers=4.4.0-157-generic, archname=x86_64-linux
uname='linux ubuntu16 4.4.0-157-generic #185-ubuntu smp tue jul 23 09:17:01 utc 2019 x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/opt/perl-5.24.4 -Dcf_email=srezic@cpan.org'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='5.4.0 20160609', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.23.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.23'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Aug 6 2019 17:24:30
%ENV:
PERL="/opt/perl-5.24.4/bin/perl"
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="13465"
PERL5_CPAN_IS_RUNNING="13465"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="13406,13465"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2019102909/cpanreporter_000_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
@INC:
/opt/perl-5.24.4/lib/site_perl/5.24.4/x86_64-linux
/opt/perl-5.24.4/lib/site_perl/5.24.4
/opt/perl-5.24.4/lib/5.24.4/x86_64-linux
/opt/perl-5.24.4/lib/5.24.4
.