Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403720 Details for
Bug 550044
net-analyzer/pmacct-1.5.1 - log.c:46:5: error: format not a string literal and no format arguments [-Werror=format-security]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pmacct-1.5.1:20150521-130415.log
pmacct-1.5.1:20150521-130415.log (text/plain), 300.58 KB, created by
Agostino Sarubbo
on 2015-05-21 13:06:47 UTC
(
hide
)
Description:
pmacct-1.5.1:20150521-130415.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2015-05-21 13:06:47 UTC
Size:
300.58 KB
patch
obsolete
> * Package: net-analyzer/pmacct-1.5.1 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >creating cache ./config.cache >checking for a BSD compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking whether make sets ${MAKE}... yes >checking for working aclocal-1.4... missing >checking for working autoconf... found >checking for working automake-1.4... missing >checking for working autoheader... found >checking for working makeinfo... found >checking for gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) works... yes >checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) is a cross-compiler... no >checking whether we are using GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking OS... Linux >checking hardware... x86_64 >checking for ranlib... x86_64-pc-linux-gnu-ranlib >checking whether to enable debugging compiler options... yes >checking whether to relax compiler optimizations... no >checking whether to disable linking against shared objects... no >checking for dlopen... no >checking for dlopen in -ldl... yes >checking for gmake... gmake >checking whether gmake sets ${MAKE}... yes >checking for __progname... yes >checking for extra flags needed to export symbols... --export-dynamic >checking for static inline... yes >checking endianess... little >checking unaligned accesses... ok >checking whether to enable L2 features... yes >checking whether to enable IPv6 code... yes >checking for inet_pton... yes >checking for inet_ntop... yes >checking whether to enable IPv4-mapped IPv6 sockets ... yes >checking whether to enable IP prefix labels... checking default locations for pcap.h... found in /usr/include >checking default locations for libpcap... no >checking for pcap_dispatch in -lpcap... yes >checking for pcap_setnonblock in -lpcap... yes >checking packet capture type... linux >checking whether to enable MySQL support... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >no >checking whether to enable PostgreSQL support... no >checking whether to enable MongoDB support... no >checking whether to enable SQLite3 support... no >checking whether to enable RabbitMQ/AMQP support... no >checking whether to enable GeoIP support... no >checking whether to enable Jansson support... no >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for getopt.h... yes >checking for sys/select.h... yes >checking for sys/time.h... yes >checking for u_int64_t in sys/types.h... yes >checking for u_int32_t in sys/types.h... yes >checking for u_int16_t in sys/types.h... yes >checking for u_int8_t in sys/types.h... yes >checking for uint64_t in sys/types.h... no >checking for uint32_t in sys/types.h... no >checking for uint16_t in sys/types.h... no >checking for uint8_t in sys/types.h... no >checking whether to enable 64bit counters... no >checking whether to enable multithreading in pmacct... no >checking whether to enable ULOG support... no >checking return type of signal handlers... void >checking for strlcpy... no >checking for vsnprintf... yes >checking for setproctitle... no >checking for mallopt... yes > >PLATFORM ..... : x86_64 >OS ........... : Linux 3.2.68-hardened-xxxx-std-ipv6-64 (ns207970.ip-94-23-217.eu) >COMPILER ..... : x86_64-pc-linux-gnu-gcc >CFLAGS ....... : -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall >LIBS ......... : -lpcap -ldl >SERVER_LIBS ...: -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ -ltee_plugin -Ltee_plugin/ -lisis -Lisis/ -lbmp -Lbmp/ >LDFLAGS ...... : -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu > >Now type 'make' to compile the source code. > >Are you willing to get in touch with other pmacct users? >Join the pmacct mailing-list by sending a message to pmacct-discussion-subscribe@pmacct.net > >Need for documentation and examples? >Read the README file or go to http://wiki.pmacct.net/ > > >updating cache ./config.cache >creating ./config.status >creating Makefile >creating src/Makefile >creating src/nfprobe_plugin/Makefile >creating src/sfprobe_plugin/Makefile >creating src/bgp/Makefile >creating src/tee_plugin/Makefile >creating src/isis/Makefile >creating src/bmp/Makefile >Making all in src >gmake[1]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src' >Making all in nfprobe_plugin >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/nfprobe_plugin' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o nfprobe_plugin.o nfprobe_plugin.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow1.o netflow1.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow5.o netflow5.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o netflow9.o netflow9.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o convtime.o convtime.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -DFLOW_SPLAY -DEXPIRY_RB -c -o strlcat.o strlcat.c >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from netflow5.c:34: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from netflow1.c:27: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from strlcat.c:21: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from netflow9.c:36: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from nfprobe_plugin.c:53: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from /usr/include/sys/types.h:25:0, > from /usr/include/pcap/pcap.h:44, > from /usr/include/pcap.h:43, > from ../pmacct.h:30, > from common.h:30, > from convtime.c:25: >/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >netflow5.c: In function âsend_netflow_v5â: >netflow5.c:127:14: warning: unused variable ârec32â [-Wunused-variable] > u_int32_t rec32; > ^ >netflow5.c:175:14: warning: unused variable ârec32â [-Wunused-variable] > u_int32_t rec32; > ^ >netflow1.c: In function âsend_netflow_v1â: >netflow1.c:68:32: warning: unused parameter âengine_typeâ [-Wunused-parameter] > int verbose_flag, u_int8_t engine_type, u_int8_t engine_id) > ^ >netflow1.c:68:54: warning: unused parameter âengine_idâ [-Wunused-parameter] > int verbose_flag, u_int8_t engine_type, u_int8_t engine_id) > ^ >netflow9.c: In function âflow_to_flowset_ip_proto_handlerâ: >netflow9.c:398:78: warning: unused parameter âidxâ [-Wunused-parameter] > flow_to_flowset_ip_proto_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_vlan_handlerâ: >netflow9.c:438:74: warning: unused parameter âidxâ [-Wunused-parameter] > flow_to_flowset_vlan_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_class_handlerâ: >netflow9.c:454:75: warning: unused parameter âidxâ [-Wunused-parameter] > flow_to_flowset_class_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_label_handlerâ: >netflow9.c:484:84: warning: unused parameter âsizeâ [-Wunused-parameter] > flow_to_flowset_label_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_sampler_id_handlerâ: >netflow9.c:507:70: warning: unused parameter âflowâ [-Wunused-parameter] > flow_to_flowset_sampler_id_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c:507:80: warning: unused parameter âidxâ [-Wunused-parameter] > flow_to_flowset_sampler_id_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_cp_handlerâ: >netflow9.c:518:81: warning: unused parameter âsizeâ [-Wunused-parameter] > flow_to_flowset_cp_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >netflow9.c: In function âflow_to_flowset_cp_pen_handlerâ: >netflow9.c:563:85: warning: unused parameter âsizeâ [-Wunused-parameter] > flow_to_flowset_cp_pen_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >nfprobe_plugin.c: In function ânfprobe_exit_gracefullyâ: >nfprobe_plugin.c:108:34: warning: unused parameter âsignumâ [-Wunused-parameter] > void nfprobe_exit_gracefully(int signum) > ^ >In file included from nfprobe_plugin.c:54:0: >nfprobe_plugin.c: In function âEXPIRIES_RB_NEXTâ: >sys-tree.h:625:29: warning: unused parameter âheadâ [-Wunused-parameter] > name##_RB_NEXT(struct name *head, struct type *elm) \ > ^ >treetype.h:61:25: note: in expansion of macro âRB_GENERATEâ > #define EXPIRY_GENERATE RB_GENERATE > ^ >nfprobe_plugin.c:180:1: note: in expansion of macro âEXPIRY_GENERATEâ > EXPIRY_GENERATE(EXPIRIES, EXPIRY, trp, expiry_compare); > ^ >nfprobe_plugin.c: In function âformat_flowâ: >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âu_int64_tâ [-Wformat=] > flow->ip6_flowlabel[0], flow->ip6_flowlabel[1]); > ^ >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 10 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 11 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 12 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 13 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%uâ expects argument of type âunsigned intâ, but argument 15 has type â__suseconds_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%uâ expects argument of type âunsigned intâ, but argument 17 has type â__suseconds_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âu_int64_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 10 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 11 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 12 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 13 has type âu_int32_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%uâ expects argument of type âunsigned intâ, but argument 15 has type â__suseconds_tâ [-Wformat=] >nfprobe_plugin.c:221:6: warning: format â%uâ expects argument of type âunsigned intâ, but argument 17 has type â__suseconds_tâ [-Wformat=] >nfprobe_plugin.c: In function âformat_flow_briefâ: >nfprobe_plugin.c:240:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âu_int64_tâ [-Wformat=] > (int)flow->protocol); > ^ >nfprobe_plugin.c:240:6: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âu_int64_tâ [-Wformat=] >nfprobe_plugin.c: In function âl2_to_flowrec_updateâ: >nfprobe_plugin.c:381:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ >nfprobe_plugin.c:357:83: warning: unused parameter âextrasâ [-Wunused-parameter] > l2_to_flowrec_update(struct FLOW *flow, struct pkt_data *data, struct pkt_extras *extras, int ndx) > ^ >nfprobe_plugin.c: In function âvlen_to_flowrecâ: >nfprobe_plugin.c:423:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ >nfprobe_plugin.c: In function âipv4_to_flowrec_updateâ: >nfprobe_plugin.c:482:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ >nfprobe_plugin.c:465:83: warning: unused parameter âisfragâ [-Wunused-parameter] > ipv4_to_flowrec_update(struct FLOW *flow, struct primitives_ptrs *prim_ptrs, int *isfrag, int af) > ^ >nfprobe_plugin.c:465:95: warning: unused parameter âafâ [-Wunused-parameter] > ipv4_to_flowrec_update(struct FLOW *flow, struct primitives_ptrs *prim_ptrs, int *isfrag, int af) > ^ >nfprobe_plugin.c: In function âipv6_to_flowrecâ: >nfprobe_plugin.c:494:12: warning: unused variable ânxtâ [-Wunused-variable] > int ndx, nxt; > ^ >nfprobe_plugin.c: In function âipv6_to_flowrec_updateâ: >nfprobe_plugin.c:547:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ >nfprobe_plugin.c:527:83: warning: unused parameter âisfragâ [-Wunused-parameter] > ipv6_to_flowrec_update(struct FLOW *flow, struct primitives_ptrs *prim_ptrs, int *isfrag, int af) > ^ >nfprobe_plugin.c:527:95: warning: unused parameter âafâ [-Wunused-parameter] > ipv6_to_flowrec_update(struct FLOW *flow, struct primitives_ptrs *prim_ptrs, int *isfrag, int af) > ^ >netflow9.c: In function ânf_sampling_option_to_flowsetâ: >netflow9.c:1882:80: warning: unused parameter âsystem_boot_timeâ [-Wunused-parameter] > nf_sampling_option_to_flowset(u_char *packet, u_int len, const struct timeval *system_boot_time, u_int *len_used) > ^ >netflow9.c: In function ânf_class_option_to_flowsetâ: >nfprobe_plugin.c: In function âforce_expireâ: >netflow9.c:1939:88: warning: unused parameter âsystem_boot_timeâ [-Wunused-parameter] > nf_class_option_to_flowset(u_int idx, u_char *packet, u_int len, const struct timeval *system_boot_time, u_int *len_used) > ^ >nfprobe_plugin.c:1043:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (i >= num_to_expire) > ^ >netflow9.c: In function âsend_netflow_v9â: >nfprobe_plugin.c:1047:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (i < num_to_expire) { > ^ >netflow9.c:2022:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (flow_j = 0, class_j = 0; flow_j < num_flows;) { > ^ >nfprobe_plugin.c:1053:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for(i = 0; i < num_to_expire; i++) { > ^ >nfprobe_plugin.c: In function âconnsockâ: >nfprobe_plugin.c:1134:5: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > ret = str_to_addr(config.nfprobe_source_ip, &config.nfprobe_source_ha); > ^ >netflow9.c:2112:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (flow_i = 0, class_i = 0; flow_i + flow_j < num_flows; flow_i++) { > ^ >nfprobe_plugin.c:1135:5: warning: implicit declaration of function âaddr_to_saâ [-Wimplicit-function-declaration] > addr_to_sa(&ssource_ip, &config.nfprobe_source_ha, 0); > ^ >netflow9.c:2114:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (dh == NULL || (!send_options && (flows[flow_i + flow_j]->af != last_af || new_direction)) || > ^ >netflow9.c:2169:31: warning: pointer targets in passing argument 1 of ânf_sampling_option_to_flowsetâ differ in signedness [-Wpointer-sign] > sizeof(packet) - offset, system_boot_time, &inc); > ^ >netflow9.c:1882:1: note: expected âu_char *â but argument is of type âchar *â > nf_sampling_option_to_flowset(u_char *packet, u_int len, const struct timeval *system_boot_time, u_int *len_used) > ^ >nfprobe_plugin.c: In function âhandle_timeoutsâ: >nfprobe_plugin.c:1276:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (sep = strchr(current, ':')) { > ^ >netflow9.c:2174:31: warning: pointer targets in passing argument 2 of ânf_class_option_to_flowsetâ differ in signedness [-Wpointer-sign] > sizeof(packet) - offset, system_boot_time, &inc); > ^ >netflow9.c:1939:1: note: expected âu_char *â but argument is of type âchar *â > nf_class_option_to_flowset(u_int idx, u_char *packet, u_int len, const struct timeval *system_boot_time, u_int *len_used) > ^ >nfprobe_plugin.c: In function ânfprobe_pluginâ: >netflow9.c:2182:8: warning: pointer targets in passing argument 2 of ânf_flow_to_flowsetâ differ in signedness [-Wpointer-sign] > sizeof(packet) - offset, system_boot_time, &inc, direction); > ^ >nfprobe_plugin.c:1396:3: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s [%s]", "Netflow Probe Plugin", config.name); > ^ >netflow9.c:1613:1: note: expected âu_char *â but argument is of type âchar *â > nf_flow_to_flowset(const struct FLOW *flow, u_char *packet, u_int len, > ^ >netflow9.c: At top level: >netflow9.c:446:1: warning: âflow_to_flowset_mpls_handlerâ defined but not used [-Wunused-function] > flow_to_flowset_mpls_handler(char *flowset, const struct FLOW *flow, int idx, int size) > ^ >nfprobe_plugin.c:1609:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (flowtrack.num_flows > max_flows || next_expire(&flowtrack) == 0) { > ^ >nfprobe_plugin.c:1635:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (flowtrack.num_flows > max_flows) { > ^ >nfprobe_plugin.c:1381:40: warning: unused variable âexit_requestâ [-Wunused-variable] > int max_flows, stop_collection_flag, exit_request, hoplimit; > ^ >nfprobe_plugin.c:1381:18: warning: variable âstop_collection_flagâ set but not used [-Wunused-but-set-variable] > int max_flows, stop_collection_flag, exit_request, hoplimit; > ^ >nfprobe_plugin.c:1380:21: warning: unused variable âctlsockâ [-Wunused-variable] > int ch, linktype, ctlsock, i, r, err, always_v6; > ^ >nfprobe_plugin.c:1380:7: warning: unused variable âchâ [-Wunused-variable] > int ch, linktype, ctlsock, i, r, err, always_v6; > ^ >nfprobe_plugin.c:1365:15: warning: unused variable ârefresh_deadlineâ [-Wunused-variable] > time_t now, refresh_deadline; > ^ >nfprobe_plugin.c:1365:10: warning: unused variable ânowâ [-Wunused-variable] > time_t now, refresh_deadline; > ^ >nfprobe_plugin.c:1363:19: warning: unused variable âtzâ [-Wunused-variable] > struct timezone tz; > ^ >In file included from nfprobe_plugin.c:56:0: >nfprobe_plugin.c: At top level: >../nfacctd.h:588:14: warning: âtpl_desc_listâ defined but not used [-Wunused-variable] > static char *tpl_desc_list[] = { > ^ >../nfacctd.h:657:14: warning: âopt_tpl_desc_listâ defined but not used [-Wunused-variable] > static char *opt_tpl_desc_list[] = { > ^ >In file included from nfprobe_plugin.c:60:0: >../pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >nfprobe_plugin.c:1066:1: warning: âdelete_all_flowsâ defined but not used [-Wunused-function] > delete_all_flows(struct FLOWTRACK *ft) > ^ >nfprobe_plugin.c: In function âcust_to_flowrecâ: >nfprobe_plugin.c:409:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >nfprobe_plugin.c: In function ânfprobe_pluginâ: >nfprobe_plugin.c:1475:20: warning: âlinktypeâ is used uninitialized in this function [-Wuninitialized] > cb_ctxt.linktype = linktype; > ^ >ar rc libnfprobe_plugin.a netflow1.o netflow5.o netflow9.o nfprobe_plugin.o convtime.o strlcat.o >x86_64-pc-linux-gnu-ranlib libnfprobe_plugin.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/nfprobe_plugin' >Making all in sfprobe_plugin >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/sfprobe_plugin' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sflow_agent.o sflow_agent.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sflow_poller.o sflow_poller.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sflow_receiver.o sflow_receiver.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sflow_sampler.o sflow_sampler.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sfprobe_plugin.o sfprobe_plugin.c >sflow_sampler.c: In function âsfl_sampler_tickâ: >sflow_sampler.c:102:51: warning: unused parameter ânowâ [-Wunused-parameter] > void sfl_sampler_tick(SFLSampler *sampler, time_t now) > ^ >sflow_receiver.c: In function âsfl_receiver_tickâ: >sflow_receiver.c:119:54: warning: unused parameter ânowâ [-Wunused-parameter] > void sfl_receiver_tick(SFLReceiver *receiver, time_t now) > ^ >sflow_receiver.c: In function âputGatewayâ: >sflow_receiver.c:235:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for(seg = 0; seg < gw->dst_as_path_segments; seg++) { > ^ >sflow_receiver.c: In function âgatewayEncodingLengthâ: >sflow_receiver.c:250:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for(seg = 0; seg < gw->dst_as_path_segments; seg++) { > ^ >sflow_receiver.c: In function âmplsLdpFecEncodingLengthâ: >sflow_receiver.c:359:76: warning: unused parameter âldpfecâ [-Wunused-parameter] > inline static u_int32_t mplsLdpFecEncodingLength(SFLExtended_mpls_LDP_FEC *ldpfec) { > ^ >sflow_receiver.c: In function âputClassâ: >sflow_receiver.c:383:3: warning: pointer targets in passing argument 2 of âput128â differ in signedness [-Wpointer-sign] > put128(receiver, buf); > ^ >sflow_receiver.c:165:20: note: expected âu_char *â but argument is of type âchar *â > inline static void put128(SFLReceiver *receiver, u_char *val) > ^ >sflow_receiver.c: In function âsfl_receiver_writeFlowSampleâ: >sflow_receiver.c:490:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if(packedSize > (receiver->sFlowRcvrMaximumDatagramSize / 2)) { > ^ >sflow_receiver.c:481:7: warning: unused variable ânum_extendedâ [-Wunused-variable] > int num_extended = 0, packedSize; > ^ >sflow_receiver.c: In function âsfl_receiver_writeCountersSampleâ: >sflow_receiver.c:662:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if(packedSize > (receiver->sFlowRcvrMaximumDatagramSize / 2)) { > ^ >sfprobe_plugin.c: In function âsfprobe_exit_nowâ: >sfprobe_plugin.c:77:27: warning: unused parameter âsignumâ [-Wunused-parameter] > void sfprobe_exit_now(int signum) > ^ >sfprobe_plugin.c: In function âagentCB_allocâ: >sfprobe_plugin.c:141:34: warning: unused parameter âmagicâ [-Wunused-parameter] > static void *agentCB_alloc(void *magic, SFLAgent *agent, size_t bytes) > ^ >sfprobe_plugin.c:141:51: warning: unused parameter âagentâ [-Wunused-parameter] > static void *agentCB_alloc(void *magic, SFLAgent *agent, size_t bytes) > ^ >sfprobe_plugin.c: In function âagentCB_freeâ: >sfprobe_plugin.c:146:31: warning: unused parameter âmagicâ [-Wunused-parameter] > static int agentCB_free(void *magic, SFLAgent *agent, void *obj) > ^ >sfprobe_plugin.c:146:48: warning: unused parameter âagentâ [-Wunused-parameter] > static int agentCB_free(void *magic, SFLAgent *agent, void *obj) > ^ >sfprobe_plugin.c: In function âagentCB_errorâ: >sfprobe_plugin.c:152:33: warning: unused parameter âmagicâ [-Wunused-parameter] > static void agentCB_error(void *magic, SFLAgent *agent, char *msg) > ^ >sfprobe_plugin.c:152:50: warning: unused parameter âagentâ [-Wunused-parameter] > static void agentCB_error(void *magic, SFLAgent *agent, char *msg) > ^ >sfprobe_plugin.c: In function âinit_agentâ: >sfprobe_plugin.c:206:16: warning: variable âreceiverâ set but not used [-Wunused-but-set-variable] > SFLReceiver *receiver; > ^ >sfprobe_plugin.c: In function âreadPacketâ: >sfprobe_plugin.c:443:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (header_len > sp->snaplen) header_len = sp->snaplen; > ^ >sfprobe_plugin.c:277:18: warning: unused variable âsampledPacketsâ [-Wunused-variable] > int direction, sampledPackets, ethHdrLen, idx = 0; > ^ >sfprobe_plugin.c: In function âsfprobe_pluginâ: >sfprobe_plugin.c:592:3: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s [%s]", "sFlow Probe Plugin", config.name); > ^ >sfprobe_plugin.c:574:10: warning: unused variable ânowâ [-Wunused-variable] > time_t now; > ^ >sfprobe_plugin.c:572:19: warning: unused variable âtzâ [-Wunused-variable] > struct timezone tz; > ^ >In file included from sfprobe_plugin.c:30:0: >sfprobe_plugin.c: At top level: >../pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >sflow_poller.c: In function âsfl_poller_tickâ: >sflow_poller.c:90:48: warning: unused parameter ânowâ [-Wunused-parameter] > void sfl_poller_tick(SFLPoller *poller, time_t now) > ^ >ar rc libsfprobe_plugin.a sflow_agent.o sflow_poller.o sflow_receiver.o sflow_sampler.o sfprobe_plugin.o >x86_64-pc-linux-gnu-ranlib libsfprobe_plugin.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/sfprobe_plugin' >Making all in bgp >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/bgp' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp.o bgp.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_aspath.o bgp_aspath.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_community.o bgp_community.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_ecommunity.o bgp_ecommunity.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_hash.o bgp_hash.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_prefix.o bgp_prefix.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_table.o bgp_table.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bgp_logdump.o bgp_logdump.c >bgp_table.c: In function âbgp_node_free_aggressiveâ: >bgp_table.c:114:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (ri_idx = 0; ri_idx < (config.bgp_table_peer_buckets * config.bgp_table_per_peer_buckets); ri_idx++) { > ^ >bgp_logdump.c: In function âbgp_peer_log_msgâ: >bgp_logdump.c:40:20: warning: unused variable âattrâ [-Wunused-variable] > struct bgp_attr *attr = ri->attr; > ^ >bgp_logdump.c:39:20: warning: unused variable âpeerâ [-Wunused-variable] > struct bgp_peer *peer = ri->peer; > ^ >bgp_logdump.c:38:8: warning: unused variable âlog_rkâ [-Wunused-variable] > char log_rk[SRVBUFLEN]; > ^ >bgp_logdump.c:36:39: warning: unused parameter ârouteâ [-Wunused-parameter] > int bgp_peer_log_msg(struct bgp_node *route, struct bgp_info *ri, safi_t safi, char *event_type, int output) > ^ >bgp_logdump.c:36:74: warning: unused parameter âsafiâ [-Wunused-parameter] > int bgp_peer_log_msg(struct bgp_node *route, struct bgp_info *ri, safi_t safi, char *event_type, int output) > ^ >bgp_logdump.c:36:86: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bgp_peer_log_msg(struct bgp_node *route, struct bgp_info *ri, safi_t safi, char *event_type, int output) > ^ >bgp_table.c: In function âbgp_node_deleteâ: >bgp_table.c:400:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (ri_idx = 0; ri_idx < (config.bgp_table_peer_buckets * config.bgp_table_per_peer_buckets); ri_idx++) > ^ >bgp_logdump.c: In function âbgp_peer_log_initâ: >bgp_logdump.c:190:38: warning: âreturnâ with no value, in function returning non-void [-Wreturn-type] > if (!(*bpl) || !peer || peer->log) return; > ^ >bgp_logdump.c:164:14: warning: variable âlsâ set but not used [-Wunused-but-set-variable] > u_int64_t *ls; > ^ >bgp_logdump.c:163:7: warning: variable âamqp_routing_key_rrâ set but not used [-Wunused-but-set-variable] > int amqp_routing_key_rr, max_peers; > ^ >bgp_logdump.c:162:41: warning: variable âpa_strâ set but not used [-Wunused-but-set-variable] > char *file, *amqp_routing_key, *lts, *pa_str; > ^ >bgp_logdump.c:162:35: warning: variable âltsâ set but not used [-Wunused-but-set-variable] > char *file, *amqp_routing_key, *lts, *pa_str; > ^ >bgp_logdump.c:157:33: warning: unused variable âevent_typeâ [-Wunused-variable] > char log_filename[SRVBUFLEN], event_type[] = "log_init"; > ^ >bgp_logdump.c: In function âbgp_peer_log_closeâ: >bgp_logdump.c:301:27: warning: âreturnâ with no value, in function returning non-void [-Wreturn-type] > if (!peer || peer->log) return; > ^ >bgp_table.c: At top level: >bgp_table.c:133:1: warning: âbgp_table_freeâ defined but not used [-Wunused-function] > bgp_table_free (struct bgp_table *rt) > ^ >bgp.c: In function âskinny_bgp_daemonâ: >bgp_logdump.c:281:14: warning: variable âlsâ set but not used [-Wunused-but-set-variable] > u_int64_t *ls; > ^ >bgp.c:121:5: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > ret = str_to_addr(config.nfacctd_bgp_ip, &addr); > ^ >bgp_logdump.c:280:41: warning: variable âpa_strâ set but not used [-Wunused-but-set-variable] > char *file, *amqp_routing_key, *lts, *pa_str; > ^ >bgp_logdump.c:280:35: warning: variable âltsâ set but not used [-Wunused-but-set-variable] > char *file, *amqp_routing_key, *lts, *pa_str; > ^ >bgp.c:126:5: warning: implicit declaration of function âaddr_to_saâ [-Wimplicit-function-declaration] > slen = addr_to_sa((struct sockaddr *)&server, &addr, config.nfacctd_bgp_port); > ^ >bgp_logdump.c:280:16: warning: variable âamqp_routing_keyâ set but not used [-Wunused-but-set-variable] > char *file, *amqp_routing_key, *lts, *pa_str; > ^ >bgp_logdump.c:276:9: warning: variable âamqp_log_ptrâ set but not used [-Wunused-but-set-variable] > void *amqp_log_ptr; > ^ >bgp_table.c: In function âbgp_node_createâ: >bgp_logdump.c:274:8: warning: unused variable âevent_typeâ [-Wunused-variable] > char event_type[] = "log_close", peer_ip_src[] = "peer_ip_src", bmp_router[] = "bmp_router"; > ^ >bgp_table.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >bgp_logdump.c: In function âbgp_peer_log_dynnameâ: >bgp_logdump.c:395:5: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > if (peer->addr.family) addr_to_str(peer_src_ip, &peer->addr); > ^ >bgp.c:216:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bgp_sock, SOL_SOCKET, SO_RCVBUF, &saved, &l); > ^ >bgp_logdump.c:388:14: warning: unused variable âhowmanyâ [-Wunused-variable] > int len, howmany; > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >bgp_logdump.c: In function âbgp_peer_dump_initâ: >bgp.c:218:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bgp_sock, SOL_SOCKET, SO_RCVBUF, &obtained, &l); > ^ >bgp_logdump.c:417:28: warning: âreturnâ with no value, in function returning non-void [-Wreturn-type] > if (!peer || !peer->log) return; > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >bgp.c:221:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bgp_sock, SOL_SOCKET, SO_RCVBUF, &obtained, &l); > ^ >bgp_logdump.c:415:7: warning: variable âamqp_routing_key_rrâ set but not used [-Wunused-but-set-variable] > int amqp_routing_key_rr; > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >bgp_logdump.c:414:44: warning: variable âltsâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:414:35: warning: variable âpa_strâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:414:28: warning: variable âfileâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:414:9: warning: variable âamqp_routing_keyâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp.c:251:5: warning: implicit declaration of function âsa_to_addrâ [-Wimplicit-function-declaration] > sa_to_addr(&server, &srv_addr, &srv_port); > ^ >bgp_logdump.c:410:8: warning: unused variable âevent_typeâ [-Wunused-variable] > char event_type[] = "dump_init", peer_ip_src[] = "peer_ip_src", bmp_router[] = "bmp_router"; > ^ >bgp.c:252:5: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > addr_to_str(srv_string, &srv_addr); > ^ >bgp_logdump.c: In function âbgp_peer_dump_closeâ: >bgp_logdump.c:488:28: warning: âreturnâ with no value, in function returning non-void [-Wreturn-type] > if (!peer || !peer->log) return; > ^ >bgp_logdump.c:486:44: warning: variable âltsâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:486:35: warning: variable âpa_strâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:486:28: warning: variable âfileâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:486:9: warning: variable âamqp_routing_keyâ set but not used [-Wunused-but-set-variable] > char *amqp_routing_key, *file, *pa_str, *lts; > ^ >bgp_logdump.c:482:8: warning: unused variable âevent_typeâ [-Wunused-variable] > char event_type[] = "dump_close", peer_src_ip[] = "peer_src_ip", bmp_router[] = "bmp_router"; > ^ >bgp_logdump.c: In function âbgp_handle_dump_eventâ: >bgp_logdump.c:568:5: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s %s [%s]", config.type, "Core Process -- BGP Dump Writer", config.name); > ^ >bgp.c:425:50: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > fd = accept(config.bgp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bgp.c:439:39: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > fd = accept(config.bgp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bgp_logdump.c:634:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (peer_buckets = 0; peer_buckets < config.bgp_table_per_peer_buckets; peer_buckets++) { > ^ >bgp.c:443:50: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > peer->fd = accept(config.bgp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bgp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bgp.c:446:7: warning: implicit declaration of function âipv4_mapped_to_ipv4â [-Wimplicit-function-declaration] > ipv4_mapped_to_ipv4(&client); > ^ >In file included from bgp_logdump.c:28:0: >bgp_logdump.c: At top level: >../bmp/bmp.h:41:20: warning: âbmp_msg_typesâ defined but not used [-Wunused-variable] > static const char *bmp_msg_types[] = { > ^ >../bmp/bmp.h:89:20: warning: âbmp_term_reason_typesâ defined but not used [-Wunused-variable] > static const char *bmp_term_reason_types[] = { > ^ >../bmp/bmp.h:116:20: warning: âbmp_stats_cnt_typesâ defined but not used [-Wunused-variable] > static const char *bmp_stats_cnt_types[] = { > ^ >bgp.c:542:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (peer->buf.truncated_len+peer->msglen > peer->buf.len) { > ^ >bgp.c:627:41: warning: unused variable âcap_typeâ [-Wunused-variable] > u_int8_t len, opt_type, opt_len, cap_type; > ^ >bgp.c:67:20: warning: unused variable âmulti_req6â [-Wunused-variable] > struct ipv6_mreq multi_req6; > ^ >bgp.c: In function âbgp_open_msgâ: >bgp.c:914:3: warning: implicit declaration of function âis_anyâ [-Wimplicit-function-declaration] > if (config.nfacctd_bgp_id && !is_any(&bgp_id) && !my_id_addr.family) { > ^ >bgp.c: In function âbgp_update_msgâ: >bgp.c:979:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > withdraw.nlri = pkt; > ^ >bgp.c:1004:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > update.nlri = pkt; > ^ >bgp.c:943:20: warning: unused variable âendpâ [-Wunused-variable] > u_char *startp, *endp; > ^ >bgp.c:943:11: warning: unused variable âstartpâ [-Wunused-variable] > u_char *startp, *endp; > ^ >bgp.c: In function âbgp_attr_parseâ: >bgp.c:1063:30: warning: variable âmp_nlriâ set but not used [-Wunused-but-set-variable] > u_int8_t flag, type, *tmp, mp_nlri = 0; > ^ >bgp.c: In function âbgp_attr_parse_aspathâ: >bgp.c:1141:108: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_aspath(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag) > ^ >bgp.c: In function âbgp_attr_parse_as4pathâ: >bgp.c:1150:45: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_as4path(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag, struct aspath **aspath4) > ^ >bgp.c:1150:83: warning: unused parameter âattrâ [-Wunused-parameter] > int bgp_attr_parse_as4path(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag, struct aspath **aspath4) > ^ >bgp.c:1150:109: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_as4path(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag, struct aspath **aspath4) > ^ >bgp.c: In function âbgp_attr_parse_nexthopâ: >bgp.c:1157:45: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_nexthop(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c:1157:107: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_nexthop(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c: In function âbgp_attr_parse_communityâ: >bgp.c:1171:47: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_community(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag) > ^ >bgp.c:1171:111: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_community(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag) > ^ >bgp.c: In function âbgp_attr_parse_ecommunityâ: >bgp.c:1182:35: warning: pointer targets in passing argument 1 of âecommunity_parseâ differ in signedness [-Wpointer-sign] > else attr->ecommunity = (struct ecommunity *) ecommunity_parse(ptr, len); > ^ >In file included from bgp.h:27:0, > from bgp.c:27: >bgp_ecommunity.h:82:24: note: expected âu_int8_t *â but argument is of type âchar *â > EXT struct ecommunity *ecommunity_parse (u_int8_t *, u_short); > ^ >bgp.c:1179:48: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_ecommunity(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag) > ^ >bgp.c:1179:112: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_ecommunity(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_int8_t flag) > ^ >bgp.c: In function âbgp_attr_parse_medâ: >bgp.c:1188:41: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_med(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c:1188:103: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_med(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c: In function âbgp_attr_parse_local_prefâ: >bgp.c:1203:48: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_local_pref(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c:1203:110: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_local_pref(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c: In function âbgp_attr_parse_originâ: >bgp.c:1217:44: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_origin(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c:1217:106: warning: unused parameter âflagâ [-Wunused-parameter] > int bgp_attr_parse_origin(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, u_char flag) > ^ >bgp.c: In function âbgp_attr_parse_mp_reachâ: >bgp.c:1292:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > mp_update->nlri = ptr; > ^ >bgp.c:1227:46: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_mp_reach(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, struct bgp_nlri *mp_update) > ^ >bgp.c: In function âbgp_attr_parse_mp_unreachâ: >bgp.c:1317:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > mp_withdraw->nlri = ptr; > ^ >bgp.c:1298:48: warning: unused parameter âpeerâ [-Wunused-parameter] > int bgp_attr_parse_mp_unreach(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, struct bgp_nlri *mp_withdraw) > ^ >bgp.c:1298:86: warning: unused parameter âattrâ [-Wunused-parameter] > int bgp_attr_parse_mp_unreach(struct bgp_peer *peer, u_int16_t len, struct bgp_attr *attr, char *ptr, struct bgp_nlri *mp_withdraw) > ^ >bgp.c: In function âbgp_nlri_parseâ: >bgp.c:1390:28: warning: suggest parentheses around â&&â within â||â [-Wparentheses] > if (info->afi == AFI_IP && p.prefixlen > 120 || (info->afi == AFI_IP6 && p.prefixlen > 216)) return -1; > ^ >bgp.c:1433:4: warning: pointer targets in passing argument 8 of âbgp_process_updateâ differ in signedness [-Wpointer-sign] > ret = bgp_process_update(peer, &p, attr, info->afi, safi, &rd, &path_id, label); > ^ >In file included from bgp.c:27:0: >bgp.h:167:9: note: expected âchar *â but argument is of type âu_char *â > EXT int bgp_process_update(struct bgp_peer *, struct prefix *, void *, afi_t, safi_t, rd_t *, path_id_t *, char *); > ^ >bgp.c:1435:4: warning: pointer targets in passing argument 8 of âbgp_process_withdrawâ differ in signedness [-Wpointer-sign] > ret = bgp_process_withdraw(peer, &p, attr, info->afi, safi, &rd, &path_id, label); > ^ >In file included from bgp.c:27:0: >bgp.h:168:9: note: expected âchar *â but argument is of type âu_char *â > EXT int bgp_process_withdraw(struct bgp_peer *, struct prefix *, void *, afi_t, safi_t, rd_t *, path_id_t *, char *); > ^ >bgp.c:1332:7: warning: variable âretâ set but not used [-Wunused-but-set-variable] > int ret; > ^ >bgp.c: In function âbgp_process_withdrawâ: >bgp.c:1605:10: warning: suggest parentheses around â&&â within â||â [-Wparentheses] > if (ri && config.nfacctd_bgp_msglog_file || config.nfacctd_bgp_msglog_amqp_routing_key) { > ^ >bgp.c:1572:73: warning: unused parameter âattrâ [-Wunused-parameter] > int bgp_process_withdraw(struct bgp_peer *peer, struct prefix *p, void *attr, afi_t afi, safi_t safi, > ^ >bgp.c:1573:41: warning: unused parameter âlabelâ [-Wunused-parameter] > rd_t *rd, path_id_t *path_id, char *label) > ^ >bgp.c: In function âbgp_str2rdâ: >bgp.c:1671:13: warning: unused variable âtmp16â [-Wunused-variable] > u_int16_t tmp16; > ^ >bgp.c: In function âbgp_peer_initâ: >bgp.c:1989:10: warning: unused variable âsafiâ [-Wunused-variable] > safi_t safi; > ^ >bgp.c:1988:9: warning: unused variable âafiâ [-Wunused-variable] > afi_t afi; > ^ >bgp.c: In function âbgp_peer_closeâ: >bgp.c:2040:5: warning: implicit declaration of function âbmp_dump_close_peerâ [-Wimplicit-function-declaration] > bmp_dump_close_peer(peer); > ^ >bgp.c:2010:10: warning: unused variable âsafiâ [-Wunused-variable] > safi_t safi; > ^ >bgp.c:2009:9: warning: unused variable âafiâ [-Wunused-variable] > afi_t afi; > ^ >bgp.c: In function âbgp_peer_info_deleteâ: >bgp.c:2072:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (peer_buckets = 0; peer_buckets < config.bgp_table_per_peer_buckets; peer_buckets++) { > ^ >bgp.c: In function âevaluate_comm_patternsâ: >bgp.c:2152:18: warning: variable âsrclenâ set but not used [-Wunused-but-set-variable] > int idx, i, j, srclen; > ^ >bgp.c: In function âbgp_srcdst_lookupâ: >bgp.c:2317:7: warning: implicit declaration of function âip6_addr_32bit_cpyâ [-Wimplicit-function-declaration] > ip6_addr_32bit_cpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &pptrs->bta, 0, 0, 1); > ^ >bgp.c:2344:5: warning: implicit declaration of function âsa_addr_cmpâ [-Wimplicit-function-declaration] > if ((!sa_addr_cmp(sa, &peers[peer_idx].addr) || !sa_addr_cmp(sa, &peers[peer_idx].id)) && > ^ >bgp.c:2345:9: warning: implicit declaration of function âsa_port_cmpâ [-Wimplicit-function-declaration] > (!compare_bgp_port || !sa_port_cmp(sa, peers[peer_idx].tcp_port))) { > ^ >bgp.c:2383:7: warning: implicit declaration of function âNF_peer_dst_ip_handlerâ [-Wimplicit-function-declaration] > if (config.acct_type == ACCT_NF) NF_peer_dst_ip_handler(NULL, pptrs, &pbgp_ptr); > ^ >bgp.c:2384:7: warning: implicit declaration of function âSF_peer_dst_ip_handlerâ [-Wimplicit-function-declaration] > else if (config.acct_type == ACCT_SF) SF_peer_dst_ip_handler(NULL, pptrs, &pbgp_ptr); > ^ >bgp.c:2604:15: warning: implicit declaration of function âip6_addr_cpyâ [-Wimplicit-function-declaration] > ip6_addr_cpy(&((struct sockaddr_in6 *)sa)->sin6_addr, &info->attr->mp_nexthop.address.ipv6); > ^ >bgp.c: In function âbgp_follow_nexthop_lookupâ: >bgp.c:2639:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] > char *saved_agent = pptrs->f_agent; > ^ >bgp.c:2713:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pptrs->f_agent = (char *) &sa_local; > ^ >bgp.c:2737:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pptrs->f_agent = (char *) &sa_local; > ^ >bgp.c:2761:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pptrs->f_agent = (char *) &sa_local; > ^ >bgp.c:2777:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pptrs->f_agent = saved_agent; > ^ >bgp.c: In function âbgp_rd2strâ: >bgp.c:1664:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >ar rc libbgp.a bgp.o bgp_aspath.o bgp_community.o bgp_ecommunity.o bgp_hash.o bgp_prefix.o bgp_table.o bgp_logdump.o >x86_64-pc-linux-gnu-ranlib libbgp.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/bgp' >Making all in tee_plugin >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/tee_plugin' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o tee_plugin.o tee_plugin.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o tee_recvs.o tee_recvs.c >tee_recvs.c: In function âtee_recvs_map_id_handlerâ: >tee_recvs.c:31:17: warning: unused variable ârecv_idxâ [-Wunused-variable] > int pool_idx, recv_idx; > ^ >tee_recvs.c:28:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int tee_recvs_map_id_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c:28:63: warning: unused parameter âeâ [-Wunused-parameter] > int tee_recvs_map_id_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c:28:112: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int tee_recvs_map_id_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c: In function âtee_recvs_map_ip_handlerâ: >tee_recvs.c:78:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (token = extract_token(&str_ptr, ',')) { > ^ >tee_recvs.c:71:7: warning: unused variable âpool_idxâ [-Wunused-variable] > int pool_idx, recv_idx; > ^ >tee_recvs.c:67:63: warning: unused parameter âeâ [-Wunused-parameter] > int tee_recvs_map_ip_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c:67:112: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int tee_recvs_map_ip_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c: In function âtee_recvs_map_tag_handlerâ: >tee_recvs.c:110:17: warning: unused variable ârecv_idxâ [-Wunused-variable] > int pool_idx, recv_idx, ret; > ^ >tee_recvs.c:110:7: warning: unused variable âpool_idxâ [-Wunused-variable] > int pool_idx, recv_idx, ret; > ^ >tee_recvs.c:107:64: warning: unused parameter âeâ [-Wunused-parameter] > int tee_recvs_map_tag_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c:107:113: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int tee_recvs_map_tag_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c: In function âtee_recvs_map_balance_alg_handlerâ: >tee_recvs.c:125:27: warning: unused variable âretâ [-Wunused-variable] > int pool_idx, recv_idx, ret; > ^ >tee_recvs.c:125:17: warning: unused variable ârecv_idxâ [-Wunused-variable] > int pool_idx, recv_idx, ret; > ^ >tee_recvs.c:125:7: warning: unused variable âpool_idxâ [-Wunused-variable] > int pool_idx, recv_idx, ret; > ^ >tee_recvs.c:122:72: warning: unused parameter âeâ [-Wunused-parameter] > int tee_recvs_map_balance_alg_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c:122:121: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int tee_recvs_map_balance_alg_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >tee_recvs.c: In function âtee_recvs_map_validateâ: >tee_recvs.c:153:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > void tee_recvs_map_validate(char *filename, struct plugin_requests *req) > ^ >tee_plugin.c: In function âtee_pluginâ: >tee_plugin.c:49:3: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s [%s]", "Tee Plugin", config.name); > ^ >tee_plugin.c:212:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > dataptr = (unsigned char *) msg; > ^ >tee_plugin.c:39:34: warning: unused variable âdest_servâ [-Wunused-variable] > char *dataptr, dest_addr[256], dest_serv[256]; > ^ >tee_plugin.c:39:18: warning: unused variable âdest_addrâ [-Wunused-variable] > char *dataptr, dest_addr[256], dest_serv[256]; > ^ >tee_plugin.c:35:17: warning: unused variable âfdâ [-Wunused-variable] > int ret, num, fd, pool_idx, recv_idx; > ^ >tee_plugin.c:35:12: warning: unused variable ânumâ [-Wunused-variable] > int ret, num, fd, pool_idx, recv_idx; > ^ >tee_plugin.c:34:16: warning: unused variable âerrâ [-Wunused-variable] > int timeout, err; > ^ >tee_plugin.c: In function âTee_exit_nowâ: >tee_plugin.c:222:23: warning: unused parameter âsignumâ [-Wunused-parameter] > void Tee_exit_now(int signum) > ^ >tee_plugin.c: In function âTee_sendâ: >tee_plugin.c:239:5: warning: implicit declaration of function âsa_to_addrâ [-Wimplicit-function-declaration] > sa_to_addr((struct sockaddr *)msg, &a, &agent_port); > ^ >tee_plugin.c:240:5: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > addr_to_str(agent_addr, &a); > ^ >tee_plugin.c: In function âTee_prepare_sockâ: >tee_plugin.c:424:7: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > ret = str_to_addr(config.nfprobe_source_ip, &source_ip); > ^ >tee_plugin.c:425:7: warning: implicit declaration of function âaddr_to_saâ [-Wimplicit-function-declaration] > addr_to_sa(&ssource_ip, &source_ip, 0); > ^ >tee_plugin.c:445:9: warning: unused variable âhinclâ [-Wunused-variable] > int hincl = 1; /* 1 = on, 0 = off */ > ^ >tee_plugin.c:462:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(s, SOL_SOCKET, SO_SNDBUF, &saved, &l); > ^ >In file included from ../pmacct.h:52:0, > from tee_plugin.c:24: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >tee_plugin.c:464:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(s, SOL_SOCKET, SO_SNDBUF, &obtained, &l); > ^ >In file included from ../pmacct.h:52:0, > from tee_plugin.c:24: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >tee_plugin.c:468:7: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(s, SOL_SOCKET, SO_SNDBUF, &obtained, &l); > ^ >In file included from ../pmacct.h:52:0, > from tee_plugin.c:24: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >tee_plugin.c: In function âTee_rr_balanceâ: >tee_plugin.c:520:65: warning: unused parameter âmsgâ [-Wunused-parameter] > struct tee_receiver *Tee_rr_balance(void *pool, struct pkt_msg *msg) > ^ >In file included from tee_plugin.c:26:0: >tee_plugin.c: At top level: >../pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >ar rc libtee_plugin.a tee_plugin.o tee_recvs.o >x86_64-pc-linux-gnu-ranlib libtee_plugin.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/tee_plugin' >Making all in isis >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/isis' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis.o isis.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o checksum.o checksum.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o dict.o dict.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o table.o table.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o prefix.o prefix.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o sockunion.o sockunion.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o hash.o hash.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o stream.o stream.c >In file included from checksum.c:12:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >table.c: In function âroute_node_match_ipv6â: >table.c:254:43: warning: passing argument 2 of âroute_node_matchâ from incompatible pointer type [enabled by default] > return route_node_match (table, (struct sis_prefix *) &p); > ^ >sockunion.c: In function âsockunion_connectâ: >table.c:199:1: note: expected âconst struct isis_prefix *â but argument is of type âstruct sis_prefix *â > route_node_match (const struct route_table *table, const struct isis_prefix *p) > ^ >sockunion.c:241:19: warning: unused parameter âifindexâ [-Wunused-parameter] > unsigned int ifindex) > ^ >sockunion.c: In function âsockopt_corkâ: >sockunion.c:443:19: warning: unused parameter âsockâ [-Wunused-parameter] > sockopt_cork (int sock, int onoff) > ^ >sockunion.c:443:29: warning: unused parameter âonoffâ [-Wunused-parameter] > sockopt_cork (int sock, int onoff) > ^ >In file included from table.c:26:0: >table.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >In file included from sockunion.c:25:0: >sockunion.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >In file included from prefix.c:26:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >In file included from hash.c:25:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >dict.c: In function âdnode_allocâ: >dict.c:51:17: warning: unused parameter âdict_contextâ [-Wunused-parameter] > #define context dict_context > ^ >dict.c:941:35: note: in expansion of macro âcontextâ > static dnode_t *dnode_alloc(void *context) > ^ >dict.c: In function âdnode_freeâ: >dict.c:51:17: warning: unused parameter âdict_contextâ [-Wunused-parameter] > #define context dict_context > ^ >dict.c:946:45: note: in expansion of macro âcontextâ > static void dnode_free(dnode_t *node, void *context) > ^ >In file included from dict.c:21:0: >dict.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis.c: In function âskinny_isis_daemonâ: >isis.c:153:3: warning: implicit declaration of function âarea_net_titleâ [-Wimplicit-function-declaration] > if (config.nfacctd_isis_net) area_net_title(area, config.nfacctd_isis_net); > ^ >isis.c:174:5: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > ret = str_to_addr(config.nfacctd_isis_ip, &addr); > ^ >isis.c:199:5: warning: implicit declaration of function âif_nametoindexâ [-Wimplicit-function-declaration] > circuit->interface->ifindex = if_nametoindex(config.nfacctd_isis_iface); > ^ >isis.c: In function âisis_pdu_runnerâ: >isis.c:270:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > ssnpa = pptrs.packet_ptr; > ^ >isis.c:275:2: warning: pointer targets in passing argument 2 of âisis_handle_pduâ differ in signedness [-Wpointer-sign] > isis_handle_pdu (circuit, ssnpa); > ^ >In file included from isis.c:51:0: >isis_pdu.h:241:9: note: expected âu_char *â but argument is of type âchar *â > EXT int isis_handle_pdu (struct isis_circuit *, u_char *); > ^ >isis.c:240:7: warning: variable âretâ set but not used [-Wunused-but-set-variable] > int ret; > ^ >isis.c:239:17: warning: unused variable âthreadâ [-Wunused-variable] > struct thread thread; > ^ >isis.c: In function âisis_sll_handlerâ: >isis.c:320:11: warning: variable âpâ set but not used [-Wunused-but-set-variable] > u_char *p; > ^ >isis.c: In function âiso_handlerâ: >isis.c:345:46: warning: unused parameter âpptrsâ [-Wunused-parameter] > int iso_handler(register struct packet_ptrs *pptrs) > ^ >In file included from stream.c:26:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis.c: In function âigp_daemon_map_node_handlerâ: >isis.c:433:66: warning: unused parameter âeâ [-Wunused-parameter] > int igp_daemon_map_node_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c:433:115: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int igp_daemon_map_node_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c: In function âigp_daemon_map_area_id_handlerâ: >isis.c:445:69: warning: unused parameter âeâ [-Wunused-parameter] > int igp_daemon_map_area_id_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c:445:118: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int igp_daemon_map_area_id_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c: In function âigp_daemon_map_adj_metric_handlerâ: >isis.c:483:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (token = extract_token(&str_ptr, ';')) { > ^ >isis.c:475:16: warning: unused variable âdebug_idxâ [-Wunused-variable] > int idx = 0, debug_idx; > ^ >isis.c:471:72: warning: unused parameter âeâ [-Wunused-parameter] > int igp_daemon_map_adj_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o thread.o thread.c >isis.c:471:121: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int igp_daemon_map_adj_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c: In function âigp_daemon_map_reach_metric_handlerâ: >isis.c:534:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (token = extract_token(&str_ptr, ';')) { > ^ >isis.c:526:16: warning: unused variable âdebug_idxâ [-Wunused-variable] > int idx = 0, debug_idx; > ^ >isis.c:522:74: warning: unused parameter âeâ [-Wunused-parameter] > int igp_daemon_map_reach_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c:522:123: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int igp_daemon_map_reach_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c: In function âigp_daemon_map_reach6_metric_handlerâ: >isis.c:586:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (token = extract_token(&str_ptr, ';')) { > ^ >isis.c:578:16: warning: unused variable âdebug_idxâ [-Wunused-variable] > int idx = 0, debug_idx; > ^ >isis.c:574:75: warning: unused parameter âeâ [-Wunused-parameter] > int igp_daemon_map_reach6_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c:574:124: warning: unused parameter âacct_typeâ [-Wunused-parameter] > int igp_daemon_map_reach6_metric_handler(char *filename, struct id_entry *e, char *value, struct plugin_requests *req, int acct_type) > ^ >isis.c: In function âigp_daemon_map_validateâ: >isis.c:670:7: warning: pointer targets in passing argument 1 of âigp_daemon_map_handle_lsp_idâ differ in signedness [-Wpointer-sign] > if (igp_daemon_map_handle_lsp_id(lsp_hdr->lsp_id, &entry->node)) return; > ^ >In file included from isis.c:28:0: >isis.h:104:9: note: expected âchar *â but argument is of type âu_char *â > EXT int igp_daemon_map_handle_lsp_id(char *, struct host_addr *); > ^ >isis.c:806:2: warning: pointer targets in passing argument 1 of âpcap_dumpâ differ in signedness [-Wpointer-sign] > pcap_dump((char *) idmm_fd, &phdr, isis_dgram); > ^ >In file included from /usr/include/pcap.h:43:0, > from ../pmacct.h:30, > from isis.c:26: >/usr/include/pcap/pcap.h:419:6: note: expected âu_char *â but argument is of type âchar *â > void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); > ^ >isis.c:806:2: warning: pointer targets in passing argument 3 of âpcap_dumpâ differ in signedness [-Wpointer-sign] > pcap_dump((char *) idmm_fd, &phdr, isis_dgram); > ^ >In file included from /usr/include/pcap.h:43:0, > from ../pmacct.h:30, > from isis.c:26: >/usr/include/pcap/pcap.h:419:6: note: expected âconst u_char *â but argument is of type âchar *â > void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); > ^ >isis.c: In function âigp_daemon_map_initializeâ: >isis.c:818:38: warning: unused parameter âfilenameâ [-Wunused-parameter] > void igp_daemon_map_initialize(char *filename, struct plugin_requests *req) > ^ >isis.c:818:72: warning: unused parameter âreqâ [-Wunused-parameter] > void igp_daemon_map_initialize(char *filename, struct plugin_requests *req) > ^ >isis.c: In function âigp_daemon_map_finalizeâ: >isis.c:833:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > void igp_daemon_map_finalize(char *filename, struct plugin_requests *req) > ^ >isis.c:833:70: warning: unused parameter âreqâ [-Wunused-parameter] > void igp_daemon_map_finalize(char *filename, struct plugin_requests *req) > ^ >isis.c: In function âiso_handlerâ: >isis.c:347:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o linklist.o linklist.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_circuit.o isis_circuit.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_events.o isis_events.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_route.o isis_route.c >thread.c: In function âcpu_record_hash_keyâ: >thread.c:220:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > return (unsigned int) a->func; > ^ >thread.c: In function âfuncname_thread_executeâ: >thread.c:949:48: warning: unused parameter âmâ [-Wunused-parameter] > funcname_thread_execute (struct thread_master *m, > ^ >In file included from thread.c:25:0: >thread.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >thread.c:250:1: warning: âcpu_record_hash_clearâ defined but not used [-Wunused-function] > cpu_record_hash_clear (struct hash_backet *bucket, > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_tlv.o isis_tlv.c >In file included from linklist.c:25:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_csm.o isis_csm.c >In file included from isis_circuit.c:26:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_events.c: In function âisis_event_area_addr_changeâ: >isis_events.c:125:48: warning: unused parameter âareaâ [-Wunused-parameter] > isis_event_area_addr_change (struct isis_area *area) > ^ >isis_events.c: In function âcircuit_commence_levelâ: >isis_events.c:132:46: warning: unused parameter âcircuitâ [-Wunused-parameter] > circuit_commence_level (struct isis_circuit *circuit, int level) > ^ >isis_events.c: In function âcircuit_resign_levelâ: >isis_events.c:149:7: warning: unused variable âidxâ [-Wunused-variable] > int idx = level - 1; > ^ >isis_events.c:147:44: warning: unused parameter âcircuitâ [-Wunused-parameter] > circuit_resign_level (struct isis_circuit *circuit, int level) > ^ >isis_events.c: In function âisis_event_adjacency_state_changeâ: >isis_events.c:229:68: warning: unused parameter ânewstateâ [-Wunused-parameter] > isis_event_adjacency_state_change (struct isis_adjacency *adj, int newstate) > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_flags.o isis_flags.c >In file included from isis_route.c:28:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_misc.o isis_misc.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isisd.o isisd.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_adjacency.o isis_adjacency.c >isis_tlv.c: In function âparse_tlvsâ: >isis_tlv.c:122:10: warning: variable âvirtualâ set but not used [-Wunused-but-set-variable] > u_char virtual; > ^ >isis_tlv.c: In function âtlv_add_authinfoâ: >isis_tlv.c:805:24: warning: unused parameter âauth_typeâ [-Wunused-parameter] > tlv_add_authinfo (char auth_type, char auth_len, u_char *auth_value, > ^ >isis_tlv.c: In function âtlv_add_checksumâ: >isis_tlv.c:817:36: warning: unused parameter âchecksumâ [-Wunused-parameter] > tlv_add_checksum (struct checksum *checksum, struct stream *stream) > ^ >In file included from isis_tlv.c:27:0: >isis_tlv.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >In file included from isis_csm.c:26:0: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_dynhn.o isis_dynhn.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_spf.o isis_spf.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o iso_checksum.o iso_checksum.c >isis_flags.c: In function âflags_get_indexâ: >isis_flags.c:55:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > index = (int) listgetdata (node); > ^ >isis_flags.c:56:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > isis_listnode_delete (flags->free_idcs, (void *) index); > ^ >isis_flags.c: In function âflags_free_indexâ: >isis_flags.c:77:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > isis_listnode_add (flags->free_idcs, (void *) (index + 1)); > ^ >In file included from isis_flags.c:27:0: >isis_flags.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_lsp.o isis_lsp.c >isis_misc.c: In function âdotformat2buffâ: >isis_misc.c:109:3: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > dotlen = strlen(dotted); > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âconst u_char *â > extern size_t strlen (const char *__s) > ^ >isis_misc.c: In function âsysid2buffâ: >isis_misc.c:167:3: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > if (strlen (dotted) != 14) > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âconst u_char *â > extern size_t strlen (const char *__s) > ^ >isis_misc.c: In function âstring2circuit_tâ: >isis_misc.c:279:3: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp (str, "level-1")) > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âconst u_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >isis_misc.c:282:3: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp (str, "level-2-only") || !strcmp (str, "level-2")) > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âconst u_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >isis_misc.c:282:3: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp (str, "level-2-only") || !strcmp (str, "level-2")) > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âconst u_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >isis_misc.c:285:3: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp (str, "level-1-2")) > ^ >In file included from ../pmacct.h:36:0, > from isis_misc.c:26: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âconst u_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >isisd.c: In function âisis_area_destroyâ: >isisd.c:202:4: warning: implicit declaration of function âisis_circuit_downâ [-Wimplicit-function-declaration] > isis_circuit_down (circuit); > ^ >In file included from isis_misc.c:27:0: >isis_misc.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >In file included from isisd.c:26:0: >isisd.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_adjacency.c: In function âisis_new_adjâ: >isis_adjacency.c:61:7: warning: unused variable âiâ [-Wunused-variable] > int i; > ^ >isis_adjacency.c: In function âisis_adj_state_changeâ: >isis_adjacency.c:138:7: warning: unused variable âlevelâ [-Wunused-variable] > int level = adj->level; > ^ >isis_adjacency.c: In function âisis_adj_expireâ: >isis_adjacency.c:170:7: warning: variable âlevelâ set but not used [-Wunused-but-set-variable] > int level; > ^ >In file included from isis_adjacency.c:27:0: >isis_adjacency.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_adjacency.c:186:1: warning: âadj_state2stringâ defined but not used [-Wunused-function] > adj_state2string (int state) > ^ >isis_dynhn.c: In function âdyn_cache_cleanupâ: >isis_dynhn.c:64:7: warning: implicit declaration of function âisis_list_delete_nodeâ [-Wimplicit-function-declaration] > isis_list_delete_node (dyn_cache, node); > ^ >In file included from isis_dynhn.c:26:0: >isis_dynhn.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o isis_pdu.o isis_pdu.c >iso_checksum.c: In function âiso_csum_verifyâ: >iso_checksum.c:75:3: warning: implicit declaration of function âfletcher_checksumâ [-Wimplicit-function-declaration] > checksum = fletcher_checksum(buffer, len, offset); > ^ >In file included from iso_checksum.c:27:0: >iso_checksum.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_spf.c: In function âvid2stringâ: >isis_spf.c:107:7: warning: return discards âconstâ qualifier from pointer target type [enabled by default] > return rawlspid_print (vertex->N.id); > ^ >isis_spf.c:112:7: warning: return discards âconstâ qualifier from pointer target type [enabled by default] > return sysid_print (vertex->N.id); > ^ >isis_spf.c: In function âremove_excess_adjsâ: >isis_spf.c:182:3: warning: implicit declaration of function âisis_list_delete_nodeâ [-Wimplicit-function-declaration] > isis_list_delete_node (adjs, excess); > ^ >isis_spf.c: In function âisis_spf_add2tentâ: >isis_spf.c:413:4: warning: implicit declaration of function âisis_list_add_node_prevâ [-Wimplicit-function-declaration] > isis_list_add_node_prev (spftree->tents, node, vertex); > ^ >isis_spf.c:434:4: warning: implicit declaration of function âisis_list_add_node_nextâ [-Wimplicit-function-declaration] > isis_list_add_node_next (spftree->tents, node, vertex); > ^ >isis_spf.c:381:21: warning: unused parameter âfamilyâ [-Wunused-parameter] > int depth, int family) > ^ >isis_spf.c: In function âisis_spf_preload_tentâ: >isis_spf.c:760:10: warning: unused variable âlsp_idâ [-Wunused-variable] > u_char lsp_id[ISIS_SYS_ID_LEN + 2]; > ^ >isis_spf.c:756:16: warning: unused variable âadjdbâ [-Wunused-variable] > struct list *adjdb; > ^ >isis_spf.c:755:16: warning: unused variable âadj_listâ [-Wunused-variable] > struct list *adj_list; > ^ >isis_spf.c:754:20: warning: unused variable âlspâ [-Wunused-variable] > struct isis_lsp *lsp; > ^ >isis_spf.c:752:28: warning: unused variable âanodeâ [-Wunused-variable] > struct listnode *cnode, *anode, *ipnode; > ^ >isis_spf.c:750:23: warning: unused variable âvertexâ [-Wunused-variable] > struct isis_vertex *vertex; > ^ >isis_spf.c: In function âadd_to_pathsâ: >isis_spf.c:858:4: warning: pointer targets in passing argument 2 of âisis_prefix2strâ differ in signedness [-Wpointer-sign] > isis_prefix2str (&vertex->N.prefix, prefix, BUFSIZ); > ^ >In file included from isis.h:27:0, > from isis_spf.c:27: >prefix.h:167:9: note: expected âchar *â but argument is of type âu_char *â > EXT int isis_prefix2str (const struct isis_prefix *, char *, int); > ^ >isis_spf.c:868:4: warning: pointer targets in passing argument 2 of âisis_prefix2strâ differ in signedness [-Wpointer-sign] > isis_prefix2str (&vertex->N.prefix, prefix, BUFSIZ); > ^ >In file included from isis.h:27:0, > from isis_spf.c:27: >prefix.h:167:9: note: expected âchar *â but argument is of type âu_char *â > EXT int isis_prefix2str (const struct isis_prefix *, char *, int); > ^ >In file included from isis_spf.c:27:0: >isis_spf.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_lsp.c: In function âlsp_inc_seqnumâ: >isis_lsp.c:292:3: warning: implicit declaration of function âfletcher_checksumâ [-Wimplicit-function-declaration] > fletcher_checksum (STREAM_DATA (lsp->pdu) + 12, > ^ >isis_lsp.c: In function âlsp_update_dataâ: >isis_lsp.c:342:7: warning: variable âretvalâ set but not used [-Wunused-but-set-variable] > int retval; > ^ >isis_lsp.c: In function âlsp_new_from_stream_ptrâ: >isis_lsp.c:422:15: warning: unused parameter âpdu_lenâ [-Wunused-parameter] > u_int16_t pdu_len, struct isis_lsp *lsp0, > ^ >isis_lsp.c: In function âlsp_build_nonpseudoâ: >isis_lsp.c:762:3: warning: implicit declaration of function âisis_list_add_listâ [-Wimplicit-function-declaration] > isis_list_add_list (lsp->tlv_data.area_addrs, area->area_addrs); > ^ >In file included from isis_lsp.c:27:0: >isis_lsp.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_lsp.c:594:1: warning: âlsp_set_timeâ defined but not used [-Wunused-function] > lsp_set_time (struct isis_lsp *lsp) > ^ >isis_pdu.c: In function âprocess_lspâ: >isis_pdu.c:825:5: warning: implicit declaration of function âfletcher_checksumâ [-Wimplicit-function-declaration] > fletcher_checksum (STREAM_DATA (lsp->pdu) + 12, > ^ >isis_pdu.c:657:64: warning: unused parameter âssnpaâ [-Wunused-parameter] > process_lsp (int level, struct isis_circuit *circuit, u_char * ssnpa) > ^ >isis_pdu.c: In function âprocess_snpâ: >isis_pdu.c:1133:7: warning: implicit declaration of function âlsp_build_isis_list_nonzero_htâ [-Wimplicit-function-declaration] > lsp_build_isis_list_nonzero_ht (chdr->start_lsp_id, chdr->stop_lsp_id, > ^ >isis_pdu.c:1145:5: warning: implicit declaration of function âisis_list_delete_nodeâ [-Wimplicit-function-declaration] > isis_list_delete_node (lsp_list, node2); > ^ >isis_pdu.c:963:26: warning: unused variable âadjâ [-Wunused-variable] > struct isis_adjacency *adj; > ^ >isis_pdu.c:961:8: warning: variable âtypecharâ set but not used [-Wunused-but-set-variable] > char typechar = ' '; > ^ >isis_pdu.c:957:16: warning: unused parameter âssnpaâ [-Wunused-parameter] > u_char * ssnpa) > ^ >isis_pdu.c: In function âisis_send_pdu_p2pâ: >isis_pdu.c:1625:3: warning: implicit declaration of function âif_nametoindexâ [-Wimplicit-function-declaration] > sa.sll_ifindex = if_nametoindex(config.nfacctd_isis_iface); > ^ >isis_pdu.c:1618:7: warning: variable âwrittenâ set but not used [-Wunused-but-set-variable] > int written = 1; > ^ >isis_pdu.c: In function âsend_psnpâ: >isis_pdu.c:1730:11: warning: implicit declaration of function âlsp_build_isis_list_ssnâ [-Wimplicit-function-declaration] > lsp_build_isis_list_ssn (circuit, list, circuit->area->lspdb[level - 1]); > ^ >In file included from isis_pdu.c:27:0: >isis_pdu.c: At top level: >isis.h:46:31: warning: â_isis_devicesâ defined but not used [-Wunused-variable] > static struct _devices_struct _isis_devices[] = { > ^ >isis_pdu.c:141:1: warning: âip_matchâ defined but not used [-Wunused-function] > ip_match (struct list *left, struct list *right) > ^ >ar rc libisis.a isis.o checksum.o dict.o table.o prefix.o sockunion.o hash.o stream.o thread.o linklist.o isis_circuit.o isis_events.o isis_route.o isis_tlv.o isis_csm.o isis_flags.o isis_misc.o isisd.o isis_adjacency.o isis_dynhn.o isis_spf.o iso_checksum.o isis_lsp.o isis_pdu.o >x86_64-pc-linux-gnu-ranlib libisis.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/isis' >Making all in bmp >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/bmp' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bmp.o bmp.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I.. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c -o bmp_logdump.o bmp_logdump.c >bmp_logdump.c: In function âbmp_log_msgâ: >bmp_logdump.c:39:16: warning: unused variable âamqp_retâ [-Wunused-variable] > int ret = 0, amqp_ret = 0; > ^ >bmp_logdump.c:37:34: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg(struct bgp_peer *peer, struct bmp_data *bdata, void *log_data, char *event_type, int output, int log_type) > ^ >bmp_logdump.c:37:57: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg(struct bgp_peer *peer, struct bmp_data *bdata, void *log_data, char *event_type, int output, int log_type) > ^ >bmp_logdump.c:37:70: warning: unused parameter âlog_dataâ [-Wunused-parameter] > int bmp_log_msg(struct bgp_peer *peer, struct bmp_data *bdata, void *log_data, char *event_type, int output, int log_type) > ^ >bmp_logdump.c:37:86: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg(struct bgp_peer *peer, struct bmp_data *bdata, void *log_data, char *event_type, int output, int log_type) > ^ >bmp_logdump.c:37:114: warning: unused parameter âlog_typeâ [-Wunused-parameter] > int bmp_log_msg(struct bgp_peer *peer, struct bmp_data *bdata, void *log_data, char *event_type, int output, int log_type) > ^ >bmp_logdump.c: In function âbmp_log_msg_statsâ: >bmp_logdump.c:109:8: warning: unused variable âbmp_msg_typeâ [-Wunused-variable] > char bmp_msg_type[] = "stats"; > ^ >bmp_logdump.c:107:40: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:107:63: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:107:92: warning: unused parameter âblstatsâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:107:107: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:107:123: warning: unused parameter âoutputâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:107:137: warning: unused parameter âvobjâ [-Wunused-parameter] > int bmp_log_msg_stats(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_stats *blstats, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c: In function âbmp_log_msg_initâ: >bmp_logdump.c:161:8: warning: unused variable âbmp_msg_typeâ [-Wunused-variable] > char bmp_msg_type[] = "init"; > ^ >bmp_logdump.c:159:39: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:159:62: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:159:90: warning: unused parameter âblinitâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:159:104: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:159:120: warning: unused parameter âoutputâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:159:134: warning: unused parameter âvobjâ [-Wunused-parameter] > int bmp_log_msg_init(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_init *blinit, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c: In function âbmp_log_msg_termâ: >bmp_logdump.c:194:8: warning: unused variable âbmp_msg_typeâ [-Wunused-variable] > char bmp_msg_type[] = "term"; > ^ >bmp_logdump.c:192:39: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:192:62: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:192:90: warning: unused parameter âbltermâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:192:104: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:192:120: warning: unused parameter âoutputâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:192:134: warning: unused parameter âvobjâ [-Wunused-parameter] > int bmp_log_msg_term(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_term *blterm, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c: In function âbmp_log_msg_peer_upâ: >bmp_logdump.c:238:8: warning: unused variable âbmp_msg_typeâ [-Wunused-variable] > char bmp_msg_type[] = "peer_up"; > ^ >bmp_logdump.c:236:42: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:236:65: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:236:96: warning: unused parameter âblpuâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:236:108: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:236:124: warning: unused parameter âoutputâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:236:138: warning: unused parameter âvobjâ [-Wunused-parameter] > int bmp_log_msg_peer_up(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_up *blpu, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c: In function âbmp_log_msg_peer_downâ: >bmp_logdump.c:286:8: warning: unused variable âbmp_msg_typeâ [-Wunused-variable] > char bmp_msg_type[] = "peer_down"; > ^ >bmp_logdump.c:284:44: warning: unused parameter âpeerâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:284:67: warning: unused parameter âbdataâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:284:100: warning: unused parameter âblpdâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:284:112: warning: unused parameter âevent_typeâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:284:128: warning: unused parameter âoutputâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp_logdump.c:284:142: warning: unused parameter âvobjâ [-Wunused-parameter] > int bmp_log_msg_peer_down(struct bgp_peer *peer, struct bmp_data *bdata, struct bmp_log_peer_down *blpd, char *event_type, int output, void *vobj) > ^ >bmp.c: In function âskinny_bmp_daemonâ: >bmp.c:118:5: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > ret = str_to_addr(config.nfacctd_bmp_ip, &addr); > ^ >bmp_logdump.c: In function âbmp_handle_dump_eventâ: >bmp.c:123:5: warning: implicit declaration of function âaddr_to_saâ [-Wimplicit-function-declaration] > slen = addr_to_sa((struct sockaddr *)&server, &addr, config.nfacctd_bmp_port); > ^ >bmp_logdump.c:454:5: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s %s [%s]", config.type, "Core Process -- BMP Dump Writer", config.name); > ^ >bmp.c:216:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bmp_sock, SOL_SOCKET, SO_RCVBUF, &saved, &l); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >bmp_logdump.c:436:8: warning: unused variable âevent_typeâ [-Wunused-variable] > char event_type[] = "dump"; > ^ >bmp.c:218:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bmp_sock, SOL_SOCKET, SO_RCVBUF, &obtained, &l); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >bmp.c:221:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(config.bmp_sock, SOL_SOCKET, SO_RCVBUF, &obtained, &l); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >In file included from bmp_logdump.c:29:0: >bmp_logdump.c: At top level: >bmp.h:41:20: warning: âbmp_msg_typesâ defined but not used [-Wunused-variable] > static const char *bmp_msg_types[] = { > ^ >bmp.h:89:20: warning: âbmp_term_reason_typesâ defined but not used [-Wunused-variable] > static const char *bmp_term_reason_types[] = { > ^ >bmp.h:116:20: warning: âbmp_stats_cnt_typesâ defined but not used [-Wunused-variable] > static const char *bmp_stats_cnt_types[] = { > ^ >bmp.c:251:5: warning: implicit declaration of function âsa_to_addrâ [-Wimplicit-function-declaration] > sa_to_addr(&server, &srv_addr, &srv_port); > ^ >bmp.c:252:5: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > addr_to_str(srv_string, &srv_addr); > ^ >bmp.c:408:50: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > fd = accept(config.bmp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bmp.c:421:46: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > fd = accept(config.bmp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bmp.c:425:50: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > peer->fd = accept(config.bmp_sock, (struct sockaddr *) &client, &clen); > ^ >In file included from ../pmacct.h:52:0, > from bmp.c:26: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >bmp.c:428:7: warning: implicit declaration of function âipv4_mapped_to_ipv4â [-Wimplicit-function-declaration] > ipv4_mapped_to_ipv4(&client); > ^ >bmp.c:69:20: warning: unused variable âmulti_req6â [-Wunused-variable] > struct ipv6_mreq multi_req6; > ^ >bmp.c:60:42: warning: unused variable âbmp_packet_ptrâ [-Wunused-variable] > char bmp_packet[BMP_MAX_PACKET_SIZE], *bmp_packet_ptr; > ^ >bmp.c: In function âbmp_process_msg_peer_upâ: >bmp.c:700:16: warning: value computed is not used [-Wunused-value] > config.name), peer->addr_str; > ^ >bmp.c: In function âbmp_stats_cnt_get_data64â: >bmp.c:1074:5: warning: implicit declaration of function âpm_ntohllâ [-Wimplicit-function-declaration] > (*data) = pm_ntohll((*data)); > ^ >In file included from bmp.c:28:0: >bmp.c: At top level: >bmp.h:89:20: warning: âbmp_term_reason_typesâ defined but not used [-Wunused-variable] > static const char *bmp_term_reason_types[] = { > ^ >bmp.h:116:20: warning: âbmp_stats_cnt_typesâ defined but not used [-Wunused-variable] > static const char *bmp_stats_cnt_types[] = { > ^ >ar rc libbmp.a bmp.o bmp_logdump.o >x86_64-pc-linux-gnu-ranlib libbmp.a >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src/bmp' >gmake[2]: Entering directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src' >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c pmacct.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c strlcpy.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c addr.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c pmacctd.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c signals.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c util.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c plugin_hooks.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c server.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c acct.c >signals.c: In function âhandle_falling_childâ: >signals.c:63:9: warning: implicit declaration of function âdelete_pipe_channelâ [-Wimplicit-function-declaration] > delete_pipe_channel(list->pipe[1]); > ^ >signals.c: In function âmy_sigint_handlerâ: >addr.c: In function âstr_to_addr_maskâ: >signals.c:119:3: warning: implicit declaration of function âfill_pipe_bufferâ [-Wimplicit-function-declaration] > fill_pipe_buffer(); > ^ >addr.c:81:24: warning: variable ânetâ set but not used [-Wunused-but-set-variable] > char *delim = NULL, *net = NULL, *mask = NULL; > ^ >signals.c:99:28: warning: unused parameter âsignumâ [-Wunused-parameter] > void my_sigint_handler(int signum) > ^ >addr.c: In function âsa_port_cmpâ: >addr.c:252:23: warning: unused variable âsa6_localâ [-Wunused-variable] > struct sockaddr_in6 sa6_local; > ^ >addr.c: In function âhost_addr_mask_sa_cmpâ: >addr.c:278:24: warning: unused variable âsa6â [-Wunused-variable] > struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)s1; > ^ >util.c: In function âextract_tokenâ: >util.c:93:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > if (delim_ptr = strchr(*string, delim)) { > ^ >pmacct.c: In function âversion_clientâ: >pmacct.c:112:27: warning: unused parameter âprogâ [-Wunused-parameter] > void version_client(char *prog) > ^ >pmacct.c: In function âpmc_sanitize_bufâ: >util.c: In function âopen_logfileâ: >pmacct.c:124:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > while (x < strlen(buf)) { > ^ >util.c:370:8: warning: unused variable âtimebufâ [-Wunused-variable] > char timebuf[SRVBUFLEN], buf[LARGEBUFLEN]; > ^ >util.c: In function âclose_print_output_fileâ: >util.c:408:13: warning: unused variable âoffsetâ [-Wunused-variable] > u_int16_t offset; > ^ >util.c: In function âhandle_dynname_internal_stringsâ: >util.c:570:5: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > if (prim_ptrs && prim_ptrs->pbgp) addr_to_str(peer_src_ip, &prim_ptrs->pbgp->peer_src_ip); > ^ >util.c:563:14: warning: unused variable âhowmanyâ [-Wunused-variable] > int len, howmany; > ^ >util.c:593:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] > if (prim_ptrs && prim_ptrs->data) snprintf(buf, newlen, "%llu", prim_ptrs->data->primitives.tag); > ^ >util.c:593:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] >util.c:594:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] > else snprintf(buf, newlen, "%llu", zero_tag); > ^ >util.c:594:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] >server.c: In function âprocess_query_dataâ: >util.c:586:14: warning: unused variable âhowmanyâ [-Wunused-variable] > int len, howmany; > ^ >server.c:156:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (idx = 0; idx < config.buckets; idx++) { > ^ >util.c:614:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] > if (prim_ptrs && prim_ptrs->data) snprintf(buf, newlen, "%llu", prim_ptrs->data->primitives.tag2); > ^ >util.c:614:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] >util.c:615:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] > else snprintf(buf, newlen, "%llu", zero_tag); > ^ >util.c:615:5: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 4 has type âpm_id_tâ [-Wformat=] >server.c:201:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (idx = 0; idx < config.buckets; idx++) { > ^ >util.c:607:14: warning: unused variable âhowmanyâ [-Wunused-variable] > int len, howmany; > ^ >util.c: In function âwrite_pid_file_pluginâ: >util.c:700:26: warning: argument to âsizeofâ in âmemsetâ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] > memset(fname, 0, sizeof(fname)); > ^ >server.c:331:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (idx = 0; idx < config.buckets; idx++) { > ^ >util.c: In function âfile_lockâ: >util.c:753:3: warning: implicit declaration of function âflockâ [-Wimplicit-function-declaration] > ret = flock(fd, LOCK_EX); > ^ >util.c: In function âsanitize_bufâ: >util.c:795:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > while (x < strlen(buf)) { > ^ >server.c:407:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (idx = 0; idx < config.cpptrs.num; idx++) { > ^ >server.c:408:7: warning: pointer targets in passing argument 1 of âstrlcpyâ differ in signedness [-Wpointer-sign] > strlcpy(custom_primitives_registry.primitive[idx].name, config.cpptrs.primitive[idx].name, MAX_CUSTOM_PRIMITIVE_NAMELEN); > ^ >In file included from server.c:25:0: >pmacct.h:327:8: note: expected âchar *â but argument is of type âu_char *â > size_t strlcpy(char *, const char *, size_t); > ^ >util.c: In function âSetsocksizeâ: >util.c:852:3: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(s, level, optname, &saved, &len); > ^ >server.c:438:5: warning: label âsend_pldt_dummyâ defined but not used [-Wunused-label] > send_pldt_dummy: > ^ >In file included from pmacct.h:52:0, > from util.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >server.c:68:29: warning: unused variable âtmpbufâ [-Wunused-variable] > struct acc *acc_elem = 0, tmpbuf; > ^ >server.c:66:57: warning: unused parameter âlenâ [-Wunused-parameter] > void process_query_data(int sd, unsigned char *buf, int len, struct extra_primitives *extras, int datasize, int forked) > ^ >plugin_hooks.c: In function âload_pluginsâ: >pmacctd.c: In function âmainâ: >pmacctd.c:352:3: warning: implicit declaration of function âinitsetproctitleâ [-Wimplicit-function-declaration] > initsetproctitle(argc, argv, envp); > ^ >plugin_hooks.c:86:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (list->cfg.pipe_size < min_sz) list->cfg.pipe_size = min_sz; > ^ >plugin_hooks.c:87:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (list->cfg.buffer_size < min_sz) list->cfg.buffer_size = min_sz; > ^ >util.c: In function âcopy_packet_ptrsâ: >util.c:1264:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > offset = (int) new_pptrs->packet_ptr - (int) pptrs->packet_ptr; > ^ >plugin_hooks.c:91:7: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &rcv_buflen, &l); > ^ >util.c:1264:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > offset = (int) new_pptrs->packet_ptr - (int) pptrs->packet_ptr; > ^ >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >util.c:1269:6: warning: suggest explicit braces to avoid ambiguous âelseâ [-Wparentheses] > if (pptrs->tlh_ptr) > ^ >plugin_hooks.c:92:7: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &snd_buflen, &l); > ^ >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >pmacct.c: In function âmainâ: >util.c: In function âload_allow_fileâ: >pmacct.c:981:4: warning: pointer targets in passing argument 1 of âstrlcpyâ differ in signedness [-Wpointer-sign] > count_token[count_index], MAX_CUSTOM_PRIMITIVE_NAMELEN); > ^ >In file included from pmacct.c:25:0: >pmacct.h:327:8: note: expected âchar *â but argument is of type âu_char *â > size_t strlcpy(char *, const char *, size_t); > ^ >util.c:1356:11: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > if (str_to_addr(buf, &t->table[index])) index++; > ^ >plugin_hooks.c:106:7: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &rcv_buflen, &l); > ^ >pmacctd.c:540:56: warning: suggest parentheses around â&&â within â||â [-Wparentheses] > if ((list->cfg.what_to_count & COUNT_SRC_HOST) && (list->cfg.what_to_count & COUNT_SRC_NET) || > ^ >util.c: In function âload_bgp_md5_fileâ: >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >util.c:1388:10: warning: unused variable âendptrâ [-Wunused-variable] > char *endptr, *token; > ^ >plugin_hooks.c:107:7: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &snd_buflen, &l); > ^ >util.c: In function âcheck_allowâ: >pmacctd.c:582:2: warning: implicit declaration of function âbgp_config_checksâ [-Wimplicit-function-declaration] > bgp_config_checks(&list->cfg); > ^ >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >util.c:1438:9: warning: implicit declaration of function âip6_addr_cmpâ [-Wimplicit-function-declaration] > if (!ip6_addr_cmp(&(((struct sockaddr_in6 *)sa)->sin6_addr), &allow->table[index].address.ipv6)) > ^ >pmacctd.c:593:5: warning: implicit declaration of function âinit_classifiersâ [-Wimplicit-function-declaration] > init_classifiers(config.classifiers_path); > ^ >pmacctd.c:594:5: warning: implicit declaration of function âinit_conntrack_tableâ [-Wimplicit-function-declaration] > init_conntrack_table(); > ^ >plugin_hooks.c:114:9: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[0], SOL_SOCKET, SO_RCVBUF, &rcv_buflen, &l); > ^ >pmacct.c:1167:8: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp(custom_primitives_input.primitive[idx].name, pmc_custom_primitives_registry.primitive[idx2].name)) { > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âu_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >pmacct.c:1167:8: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp(custom_primitives_input.primitive[idx].name, pmc_custom_primitives_registry.primitive[idx2].name)) { > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âu_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >util.c: In function âload_labelsâ: >pmacctd.c:664:5: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(pcap_fileno(device.dev_desc), SOL_SOCKET, SO_RCVBUF, &x, &slen); > ^ >In file included from pmacct.h:52:0, > from pmacctd.c:26: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >util.c:1538:23: warning: unused parameter âfilenameâ [-Wunused-parameter] > int load_labels(char *filename, struct pretag_label_filter *filter, char *value_ptr) > ^ >plugin_hooks.c:115:9: warning: pointer targets in passing argument 5 of âgetsockoptâ differ in signedness [-Wpointer-sign] > getsockopt(list->pipe[1], SOL_SOCKET, SO_SNDBUF, &snd_buflen, &l); > ^ >In file included from pmacct.h:52:0, > from plugin_hooks.c:25: >/usr/include/sys/socket.h:219:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int getsockopt (int __fd, int __level, int __optname, > ^ >util.c: In function âload_pkt_len_distrib_binsâ: >util.c:1608:34: warning: assignment discards âconstâ qualifier from pointer target type [enabled by default] > config.pkt_len_distrib_bins[0] = pkt_len_distrib_unknown; > ^ >pmacctd.c:817:3: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > if (!config.proc_name) pm_setproctitle("%s [%s]", "Core Process", "default"); > ^ >pmacctd.c:98:20: warning: unused variable âretâ [-Wunused-variable] > int index, logf, ret; > ^ >pmacctd.c: In function âNF_find_idâ: >pmacct.c:1338:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (q.num = 0; (q.num < strnum) && (q.num < MAX_QUERIES); q.num++) { > ^ >pmacctd.c:863:34: warning: unused parameter âtâ [-Wunused-parameter] > void NF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >pmacctd.c:863:57: warning: unused parameter âpptrsâ [-Wunused-parameter] > void NF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >util.c: In function âcompose_jsonâ: >pmacctd.c:863:73: warning: unused parameter âtagâ [-Wunused-parameter] > void NF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >pmacct.c:1360:11: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > if (!str_to_addr(match_string_token, &request.data.src_ip)) { > ^ >util.c:2217:30: warning: unused parameter âwtcâ [-Wunused-parameter] > char *compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacctd.c:863:87: warning: unused parameter âtag2â [-Wunused-parameter] > void NF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >pmacctd.c: In function âSF_find_idâ: >pmacctd.c:867:34: warning: unused parameter âtâ [-Wunused-parameter] > void SF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >util.c:2217:45: warning: unused parameter âwtc_2â [-Wunused-parameter] > char *compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacctd.c:867:57: warning: unused parameter âpptrsâ [-Wunused-parameter] > void SF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >pmacct.c:1390:11: warning: implicit declaration of function âstring_etheraddrâ [-Wimplicit-function-declaration] > res = string_etheraddr(match_string_token, ethaddr); > ^ >pmacctd.c:867:73: warning: unused parameter âtagâ [-Wunused-parameter] > void SF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >util.c:2217:61: warning: unused parameter âflow_typeâ [-Wunused-parameter] > char *compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacctd.c:867:87: warning: unused parameter âtag2â [-Wunused-parameter] > void SF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, pm_id_t *tag2) > ^ >util.c:2217:95: warning: unused parameter âpbaseâ [-Wunused-parameter] > char *compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacct.c:1415:4: warning: format â%xâ expects argument of type âunsigned int *â, but argument 3 has type âu_int16_t *â [-Wformat=] > sscanf(match_string_token, "%x", &request.data.etype); > ^ >util.c:2218:46: warning: unused parameter âpbgpâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >In file included from pmacctd.c:27:0: >pmacctd.c: At top level: >util.c:2218:79: warning: unused parameter âpnatâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >util.c:2218:113: warning: unused parameter âpmplsâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >util.c:2219:11: warning: unused parameter âpcustâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >util.c:2219:50: warning: unused parameter âpvlenâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >plugin_hooks.c: In function âexec_pluginsâ: >util.c:2219:70: warning: unused parameter âbytes_counterâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >plugin_hooks.c:307:5: warning: pointer targets in passing argument 2 of âevaluate_filtersâ differ in signedness [-Wpointer-sign] > if (evaluate_filters(&channels_list[index].agg_filter, pptrs->packet_ptr, pptrs->pkthdr) && > ^ >util.c:2220:18: warning: unused parameter âpacket_counterâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime, > ^ >In file included from plugin_hooks.c:28:0: >plugin_hooks.h:110:9: note: expected âchar *â but argument is of type âu_char *â > EXT int evaluate_filters(struct aggregate_filter *, char *, struct pcap_pkthdr *); > ^ >util.c:2220:47: warning: unused parameter âflow_counterâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime, > ^ >util.c:2220:71: warning: unused parameter âtcp_flagsâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime, > ^ >util.c:2220:98: warning: unused parameter âbasetimeâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime, > ^ >util.c:2221:27: warning: unused parameter âstitchâ [-Wunused-parameter] > struct pkt_stitching *stitch) > ^ >util.c: In function âwrite_and_free_jsonâ: >pmacct.c:1777:4: warning: implicit declaration of function âstrptimeâ [-Wimplicit-function-declaration] > strptime(match_string_token, "%Y-%m-%d %H:%M:%S", &tmp); > ^ >util.c:2228:32: warning: unused parameter âfâ [-Wunused-parameter] > void write_and_free_json(FILE *f, void *obj) > ^ >util.c:2228:41: warning: unused parameter âobjâ [-Wunused-parameter] > void write_and_free_json(FILE *f, void *obj) > ^ >pmacct.c:1806:13: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp(count_token[match_string_index], pmc_custom_primitives_registry.primitive[idx].name)) { > ^ >util.c: In function âwrite_and_free_json_amqpâ: >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âu_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >util.c:2233:36: warning: unused parameter âamqp_logâ [-Wunused-parameter] > int write_and_free_json_amqp(void *amqp_log, void *obj) > ^ >util.c:2233:52: warning: unused parameter âobjâ [-Wunused-parameter] > int write_and_free_json_amqp(void *amqp_log, void *obj) > ^ >util.c: In function âcompose_timestampâ: >util.c:2251:3: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] > if (usec) snprintf(buf, buflen, "%s.%u", tmpbuf, tv->tv_usec); > ^ >util.c:2251:3: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] >pmacct.c:1926:42: warning: suggest parentheses around â&&â within â||â [-Wparentheses] > if ((what_to_count & COUNT_SRC_HOST) && (what_to_count & COUNT_SRC_NET) || > ^ >plugin_hooks.c: In function âinsert_pipe_channelâ: >plugin_hooks.c:423:18: warning: unused variable âxâ [-Wunused-variable] > int index = 0, x; > ^ >pmacct.c:1966:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > if (extras.off_custom_primitives) pcust = ((u_char *)elem + extras.off_custom_primitives); > ^ >util.c: In function âcustom_primitives_reconcileâ: >pmacct.c:1979:4: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 2 has type âpm_id_tâ [-Wformat=] > if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10llu ", acc_elem->primitives.tag); > ^ >util.c:2367:7: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > if (!strcmp(cpptrs->primitive[cpptrs_idx].name, registry->primitive[registry_idx].name)) { > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:144:12: note: expected âconst char *â but argument is of type âu_char *â > extern int strcmp (const char *__s1, const char *__s2) > ^ >pmacct.c:1980:4: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 3 has type âpm_id_tâ [-Wformat=] > else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->primitives.tag); > ^ >util.c: In function âcustom_primitive_header_printâ: >pmacct.c:1984:4: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 2 has type âpm_id_tâ [-Wformat=] > if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10llu ", acc_elem->primitives.tag2); > ^ >util.c:2422:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name)); > ^ >pmacct.c:1985:4: warning: format â%lluâ expects argument of type âlong long unsigned intâ, but argument 3 has type âpm_id_tâ [-Wformat=] > else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->primitives.tag2); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >util.c:2422:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name)); > ^ >pmacct.c:1989:135: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-16s ", (acc_elem->primitives.class == 0 || acc_elem->primitives.class > ct_idx || > ^ >plugin_hooks.c: In function âevaluate_filtersâ: >util.c:2422:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:1992:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > (acc_elem->primitives.class == 0 || acc_elem->primitives.class > ct_idx || > ^ >plugin_hooks.c:624:5: warning: pointer targets in passing argument 2 of âbpf_filterâ differ in signedness [-Wpointer-sign] > if (bpf_filter(filter->table[index]->bf_insns, pkt, pkthdr->len, pkthdr->caplen)) return TRUE; > ^ >util.c:2422:129: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name)); > ^ >In file included from /usr/include/pcap.h:43:0, > from pmacct.h:30, > from plugin_hooks.c:25: >/usr/include/pcap/pcap.h:434:7: note: expected âconst u_char *â but argument is of type âchar *â > u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); > ^ >util.c:2422:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name)); > ^ >util.c:2422:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:2012:4: warning: implicit declaration of function âetheraddr_stringâ [-Wimplicit-function-declaration] > etheraddr_string(acc_elem->primitives.eth_shost, ethernet_address); > ^ >util.c:2430:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->ptr->len > strlen(cp_entry->ptr->name) ? cp_entry->ptr->len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c memory.c >util.c:2430:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->ptr->len > strlen(cp_entry->ptr->name) ? cp_entry->ptr->len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >util.c:2430:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->ptr->len > strlen(cp_entry->ptr->name) ? cp_entry->ptr->len : strlen(cp_entry->ptr->name)); > ^ >util.c:2430:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >util.c:2444:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >plugin_hooks.c: In function âpkt_payload_cleanâ: >util.c:2444:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >plugin_hooks.c:763:43: warning: unused parameter âlenâ [-Wunused-parameter] > int pkt_payload_clean(void *ppayload, int len) > ^ >util.c:2444:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2176:11: warning: implicit declaration of function âaddr_to_strâ [-Wimplicit-function-declaration] > addr_to_str(ip_address, &pbgp->peer_src_ip); > ^ >plugin_hooks.c: In function âpkt_msg_cleanâ: >util.c:2444:86: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >plugin_hooks.c:770:39: warning: unused parameter âlenâ [-Wunused-parameter] > int pkt_msg_clean(void *ppayload, int len) > ^ >util.c:2444:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >util.c:2444:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >plugin_hooks.c: In function âpkt_extras_cleanâ: >plugin_hooks.c:777:41: warning: unused parameter âlenâ [-Wunused-parameter] > int pkt_extras_clean(void *pextras, int len) > ^ >util.c:2453:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >util.c:2453:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >util.c:2453:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >In file included from plugin_hooks.c:26:0: >plugin_hooks.c: At top level: >util.c:2453:86: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >util.c:2453:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name)); > ^ >util.c:2453:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >util.c: In function âcustom_primitive_value_printâ: >util.c:2473:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name), > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2482:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] > snprintf(buf2, SRVBUFLEN, "%s.%u", buf1, pnat->timestamp_start.tv_usec); > ^ >util.c:2473:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name), > ^ >pmacct.c:2482:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] >util.c:2473:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name), > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2495:11: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] > snprintf(buf2, SRVBUFLEN, "%s.%u", buf1, pnat->timestamp_end.tv_usec); > ^ >pmacct.c:2495:11: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] >util.c:2473:138: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->ptr->len] > strlen(cp_entry->ptr->name) ? cps_flen[cp_entry->ptr->len] : strlen(cp_entry->ptr->name), > ^ >util.c:2474:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->ptr->semantics]); > ^ >util.c:2474:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:2526:11: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10lu ", acc_elem->pkt_num); > ^ >pmacct.c:2527:11: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âpm_counter_tâ [-Wformat=] > else if (want_output & PRINT_OUTPUT_CSV) printf("%s%lu", write_sep(sep_ptr, &count), acc_elem->pkt_num); > ^ >util.c:2502:9: warning: implicit declaration of function âpm_ntohllâ [-Wimplicit-function-declaration] > st64 = pm_ntohll(t64); > ^ >acct.c: In function âsearch_accounting_structureâ: >pmacct.c:2530:6: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10lu ", acc_elem->flo_num); > ^ >acct.c:38:35: warning: unused variable âpvlenâ [-Wunused-variable] > struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; > ^ >util.c:2509:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->ptr->len > strlen(cp_entry->ptr->name) ? cp_entry->ptr->len : strlen(cp_entry->ptr->name), > ^ >acct.c: In function âcompare_accounting_structureâ: >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >acct.c:88:7: warning: implicit declaration of function âcache_to_pkt_bgp_primitivesâ [-Wimplicit-function-declaration] > cache_to_pkt_bgp_primitives(&tmp_pbgp, elem->cbgp, config.what_to_count); > ^ >pmacct.c:2531:6: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âpm_counter_tâ [-Wformat=] > else if (want_output & PRINT_OUTPUT_CSV) printf("%s%lu", write_sep(sep_ptr, &count), acc_elem->flo_num); > ^ >util.c:2509:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->ptr->len > strlen(cp_entry->ptr->name) ? cp_entry->ptr->len : strlen(cp_entry->ptr->name), > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2535:6: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âpm_counter_tâ [-Wformat=] > printf("%s%lu\n", write_sep(sep_ptr, &count), acc_elem->pkt_len); > ^ >util.c:2510:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->ptr->semantics]); > ^ >util.c:2510:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >acct.c: In function âinsert_accounting_structureâ: >pmacct.c:2569:7: warning: format â%uâ expects argument of type âunsigned intâ, but argument 2 has type â__time_tâ [-Wformat=] > if (table_reset_stamp.tv_sec) printf("%u\n", cycle_stamp.tv_sec - table_reset_stamp.tv_sec); > ^ >acct.c:226:9: warning: implicit declaration of function âpkt_to_cache_bgp_primitivesâ [-Wimplicit-function-declaration] > pkt_to_cache_bgp_primitives(elem_acc->cbgp, pbgp, config.what_to_count); > ^ >util.c:2542:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >acct.c:228:7: warning: implicit declaration of function âfree_cache_bgp_primitivesâ [-Wimplicit-function-declaration] > else free_cache_bgp_primitives(&elem_acc->cbgp); > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >util.c:2542:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >pmacct.c:2635:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > if (which_counter == 0) printf("%lu\n", acc_elem->pkt_len); > ^ >acct.c:320:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (current_pool->space_left >= sizeof(struct acc)) { > ^ >util.c:2542:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2636:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > else if (which_counter == 1) printf("%lu\n", acc_elem->pkt_num); > ^ >util.c:2542:88: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >pmacct.c:2637:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > else if (which_counter == 2) printf("%lu %lu %lu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start.tv_sec); > ^ >pmacct.c:2637:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âpm_counter_tâ [-Wformat=] >pmacct.c:2637:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 4 has type âpm_counter_tâ [-Wformat=] >util.c:2543:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->ptr->semantics]); > ^ >util.c:2543:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:2638:9: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âpm_counter_tâ [-Wformat=] > else if (which_counter == 3) printf("%lu\n", acc_elem->flo_num); > ^ >In file included from acct.c:27:0: >acct.c: At top level: >util.c:2554:7: warning: implicit declaration of function âetheraddr_stringâ [-Wimplicit-function-declaration] > etheraddr_string(in+cp_entry->off, eth_str); > ^ >crc32.c:49:21: warning: âcrc_32_tabâ defined but not used [-Wunused-variable] > static unsigned int crc_32_tab[] = { /* CRC polynomial 0xedb88320 */ > ^ >crc32.c:84:21: warning: â__crc32â defined but not used [-Wunused-variable] > static unsigned int __crc32 = 0x0U; > ^ >pmacct.c:2650:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âu_int32_tâ [-Wformat=] > if (which_counter == 0) printf("%lu\n", bcnt); > ^ >util.c:2557:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2651:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âu_int32_tâ [-Wformat=] > else if (which_counter == 1) printf("%lu\n", pcnt); > ^ >util.c:2557:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >pmacct.c:2652:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âu_int32_tâ [-Wformat=] > else if (which_counter == 2) printf("%lu %lu %lu %u\n", pcnt, bcnt, fcnt, num_counters); > ^ >pmacct.c:2652:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 3 has type âu_int32_tâ [-Wformat=] >util.c:2557:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >pmacct.c:2652:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 4 has type âu_int32_tâ [-Wformat=] >In file included from pmacct.h:36:0, > from util.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:2653:7: warning: format â%luâ expects argument of type âlong unsigned intâ, but argument 2 has type âu_int32_tâ [-Wformat=] > else if (which_counter == 3) printf("%lu\n", fcnt); > ^ >util.c:2557:88: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->ptr->name) ? len : strlen(cp_entry->ptr->name), > ^ >util.c:2558:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->ptr->semantics]); > ^ >util.c:2558:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:2684:9: warning: unused variable âpldt_effâ [-Wunused-variable] > int pldt_eff=0; > ^ >pmacct.c:657:20: warning: variable âwant_mrtgâ set but not used [-Wunused-but-set-variable] > int want_status, want_mrtg, want_counter, want_match, want_all_fields; > ^ >pmacct.c: In function âRecvâ: >util.c: In function âvlen_prims_debugâ: >pmacct.c:2766:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > if (((u_int32_t)elem+num) > (u_int32_t)sbrk(0)) sbrk(LARGEBUFLEN); > ^ >util.c:2711:5: warning: format â%llxâ expects argument of type âlong long unsigned intâ, but argument 3 has type âpm_cfgreg_tâ [-Wformat=] > printf("LABEL #%u: type: %llx len: %u val: %s\n", x, label_ptr->type, label_ptr->len, ptr); > ^ >pmacct.c:2766:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > if (((u_int32_t)elem+num) > (u_int32_t)sbrk(0)) sbrk(LARGEBUFLEN); > ^ >pmacct.c: In function âcheck_data_sizesâ: >pmacct.c:2782:5: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong unsigned intâ [-Wformat=] > printf("ERROR: Counter sizes mismatch: daemon: %d client: %d\n", qh->cnt_sz*8, sizeof(acc_elem->pkt_len)*8); > ^ >pmacct.c:2789:5: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong unsigned intâ [-Wformat=] > printf("ERROR: IP address sizes mismatch. daemon: %d client: %d\n", qh->ip_sz, sizeof(acc_elem->primitives.src_ip)); > ^ >pmacct.c: In function âpmc_bgp_str2rdâ: >pmacct.c:2959:13: warning: unused variable âtmp16â [-Wunused-variable] > u_int16_t tmp16; > ^ >pmacct.c: In function âpmc_compose_jsonâ: >pmacct.c:3502:34: warning: unused parameter âwtcâ [-Wunused-parameter] > char *pmc_compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacct.c:3502:49: warning: unused parameter âwtc_2â [-Wunused-parameter] > char *pmc_compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacct.c:3502:65: warning: unused parameter âflow_typeâ [-Wunused-parameter] > char *pmc_compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacct.c:3502:99: warning: unused parameter âpbaseâ [-Wunused-parameter] > char *pmc_compose_json(u_int64_t wtc, u_int64_t wtc_2, u_int8_t flow_type, struct pkt_primitives *pbase, > ^ >pmacct.c:3503:46: warning: unused parameter âpbgpâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >pmacct.c:3503:79: warning: unused parameter âpnatâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >pmacct.c:3503:113: warning: unused parameter âpmplsâ [-Wunused-parameter] > struct pkt_bgp_primitives *pbgp, struct pkt_nat_primitives *pnat, struct pkt_mpls_primitives *pmpls, > ^ >pmacct.c:3504:11: warning: unused parameter âpcustâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >util.c: In function âtimeval_cmpâ: >util.c:1071:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >pmacct.c:3504:50: warning: unused parameter âpvlenâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >pmacct.c:3504:70: warning: unused parameter âbytes_counterâ [-Wunused-parameter] > char *pcust, struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, > ^ >pmacct.c:3505:18: warning: unused parameter âpacket_counterâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime) > ^ >pmacct.c:3505:47: warning: unused parameter âflow_counterâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime) > ^ >pmacct.c:3505:71: warning: unused parameter âtcp_flagsâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime) > ^ >pmacct.c:3505:98: warning: unused parameter âbasetimeâ [-Wunused-parameter] > pm_counter_t packet_counter, pm_counter_t flow_counter, u_int32_t tcp_flags, struct timeval *basetime) > ^ >pmacct.c: In function âpmc_compose_timestampâ: >pmacct.c:3521:3: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] > if (usec) snprintf(buf, buflen, "%s.%u", tmpbuf, tv->tv_usec); > ^ >pmacct.c:3521:3: warning: format â%uâ expects argument of type âunsigned intâ, but argument 5 has type â__suseconds_tâ [-Wformat=] >pmacct.c: In function âpmc_custom_primitive_header_printâ: >pmacct.c:3535:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3535:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name)); > ^ >pmacct.c:3535:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3535:114: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name)); > ^ >pmacct.c:3535:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name)); > ^ >pmacct.c:3535:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3543:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3543:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3543:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name)); > ^ >pmacct.c:3543:2: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3557:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3557:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3557:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3557:81: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3557:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3557:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3566:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3566:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3566:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3566:81: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3566:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name)); > ^ >pmacct.c:3566:9: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c: In function âpmc_custom_primitive_value_printâ: >pmacct.c:3586:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3586:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), > ^ >pmacct.c:3586:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c ll.c >pmacct.c:3586:123: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), > ^ >pmacct.c:3587:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->semantics]); > ^ >pmacct.c:3587:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3615:9: warning: implicit declaration of function âpm_ntohllâ [-Wimplicit-function-declaration] > st64 = pm_ntohll(t64); > ^ >pmacct.c:3622:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3622:2: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3623:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->semantics]); > ^ >pmacct.c:3623:4: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3655:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3655:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >pmacct.c:3655:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3655:83: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >pmacct.c:3656:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->semantics]); > ^ >pmacct.c:3656:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c:3670:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3670:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >pmacct.c:3670:9: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >In file included from pmacct.h:36:0, > from pmacct.c:25: >/usr/include/string.h:398:15: note: expected âconst char *â but argument is of type âu_char *â > extern size_t strlen (const char *__s) > ^ >pmacct.c:3670:83: warning: signed and unsigned type in conditional expression [-Wsign-compare] > snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name), > ^ >pmacct.c:3671:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] > cps_type[cp_entry->semantics]); > ^ >pmacct.c:3671:25: warning: format â%uâ expects argument of type âunsigned intâ, but argument 4 has type âsize_tâ [-Wformat=] >pmacct.c: In function âpmc_bgp_rd2strâ: >pmacct.c:2952:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c cfg.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c imt_plugin.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c log.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c pkt_handlers.c >x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --disable-64bit\ --disable-debug\ --disable-geoip\ --enable-ipv6\ --disable-mongodb\ --disable-mysql\ --disable-pgsql\ --disable-sqlite3\ --disable-threads\ --disable-ulog\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -march=native -Wformat -Werror=format-security -g0 -O0 -g -W -Wall -c cfg_handlers.c >ll.c: In function âmpls_handlerâ: >ll.c:115:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] > char *next = bp; > ^ >ll.c: In function âieee_802_11_handlerâ: >ll.c:335:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (caplen < hdrlen) { > ^ >ll.c: In function ânull_handlerâ: >ll.c:390:11: warning: variable âpâ set but not used [-Wunused-but-set-variable] > u_char *p; > ^ >ll.c: In function âsll_handlerâ: >ll.c:446:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pptrs->mac_ptr = (char *) sll_mac; > ^ >ll.c: In function âllc_handlerâ: >ll.c:488:47: warning: unused parameter âhâ [-Wunused-parameter] > u_char *llc_handler(const struct pcap_pkthdr *h, u_int caplen, register u_char *buf, register struct packet_ptrs *pptrs) > ^ >In file included from ll.c:27:0: >ll.c: At top level: >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >imt_plugin.c: In function âimt_pluginâ: >imt_plugin.c:70:3: warning: implicit declaration of function âpm_setproctitleâ [-Wimplicit-function-declaration] > pm_setproctitle("%s [%s]", "IMT Plugin", config.name); > ^ >imt_plugin.c:127:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if (config.memory_pool_size < sizeof(struct acc)) { > ^ >imt_plugin.c:216:7: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > sd2 = accept(sd, &cAddr, &cLen); > ^ >In file included from pmacct.h:52:0, > from imt_plugin.c:25: >/usr/include/sys/socket.h:243:12: note: expected âsocklen_t * __restrict__â but argument is of type âint *â > extern int accept (int __fd, __SOCKADDR_ARG __addr, > ^ >imt_plugin.c:392:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > pcust = ((u_char *)data + extras.off_custom_primitives); > ^ >imt_plugin.c:421:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] > dataptr = (unsigned char *) data; > ^ >imt_plugin.c:52:7: warning: unused variable âretâ [-Wunused-variable] > int ret; > ^ >imt_plugin.c: In function âexit_nowâ: >imt_plugin.c:437:19: warning: unused parameter âsignumâ [-Wunused-parameter] > void exit_now(int signum) > ^ >imt_plugin.c: In function âfree_extra_allocsâ: >imt_plugin.c:502:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > for (idx = 0; idx < config.buckets; idx++) { > ^ >imt_plugin.c:504:5: warning: implicit declaration of function âfree_cache_bgp_primitivesâ [-Wimplicit-function-declaration] > if (acc_elem->cbgp) free_cache_bgp_primitives(&acc_elem->cbgp); > ^ >cfg.c: In function âsanitize_cfgâ: >cfg.c:176:24: warning: unused variable âgot_firstâ [-Wunused-variable] > int rindex = 0, len, got_first; > ^ >In file included from cfg.c:27:0: >cfg.c: At top level: >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >log.c: In function âLogâ: >log.c:46:5: error: format not a string literal and no format arguments [-Werror=format-security] > if (config.syslog) syslog(level, syslog_string); > ^ >cc1: some warnings being treated as errors >Makefile:222: recipe for target 'log.o' failed >gmake[2]: *** [log.o] Error 1 >gmake[2]: *** Waiting for unfinished jobs.... >cfg_handlers.c: In function âcfg_key_debugâ: >cfg_handlers.c:44:25: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_debug(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_syslogâ: >cfg_handlers.c:66:26: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_syslog(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_aggregateâ: >cfg_handlers.c:148:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (count_token = extract_token(&value_ptr, ',')) { > ^ >cfg_handlers.c: In function âcfg_key_pre_tag2_filterâ: >cfg_handlers.c:333:12: warning: unused variable ânegâ [-Wunused-variable] > u_int8_t neg; > ^ >cfg_handlers.c:332:20: warning: unused variable âendptr_râ [-Wunused-variable] > char *endptr_v, *endptr_r; > ^ >cfg_handlers.c:332:9: warning: unused variable âendptr_vâ [-Wunused-variable] > char *endptr_v, *endptr_r; > ^ >cfg_handlers.c:330:22: warning: unused variable ârangeâ [-Wunused-variable] > pm_id_t value = 0, range = 0; > ^ >cfg_handlers.c:330:11: warning: unused variable âvalueâ [-Wunused-variable] > pm_id_t value = 0, range = 0; > ^ >cfg_handlers.c:329:23: warning: unused variable ârange_ptrâ [-Wunused-variable] > char *count_token, *range_ptr; > ^ >cfg_handlers.c:329:9: warning: unused variable âcount_tokenâ [-Wunused-variable] > char *count_token, *range_ptr; > ^ >cfg_handlers.c: In function âcfg_key_imt_pathâ: >cfg_handlers.c:513:28: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_imt_path(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_imt_passwdâ: >cfg_handlers.c:532:30: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_imt_passwd(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_dbâ: >cfg_handlers.c:630:26: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_db(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_tableâ: >cfg_handlers.c:660:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (c = strchr(ptr, '%')) { > ^ >cfg_handlers.c: In function âcfg_key_print_output_fileâ: >cfg_handlers.c:730:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (c = strchr(ptr, '%')) { > ^ >cfg_handlers.c: In function âcfg_key_print_output_file_appendâ: >cfg_handlers.c:809:44: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_print_output_file_append(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_table_schemaâ: >cfg_handlers.c:831:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_table_schema(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_dataâ: >cfg_handlers.c:902:28: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_data(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_hostâ: >cfg_handlers.c:921:28: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_host(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_recovery_backup_hostâ: >cfg_handlers.c:940:44: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_recovery_backup_host(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_trigger_execâ: >cfg_handlers.c:984:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_trigger_exec(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_userâ: >cfg_handlers.c:1030:28: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_user(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_passwdâ: >cfg_handlers.c:1049:30: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_passwd(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_optimize_clausesâ: >cfg_handlers.c:1125:40: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_optimize_clauses(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_recovery_logfileâ: >cfg_handlers.c:1178:40: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_recovery_logfile(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_history_since_epochâ: >cfg_handlers.c:1250:43: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_history_since_epoch(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_dont_try_updateâ: >cfg_handlers.c:1297:39: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_dont_try_update(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_preprocessâ: >cfg_handlers.c:1319:34: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_preprocess(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_preprocess_typeâ: >cfg_handlers.c:1338:39: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_preprocess_type(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_amqp_exchange_typeâ: >cfg_handlers.c:1411:38: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_amqp_exchange_type(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_amqp_persistent_msgâ: >cfg_handlers.c:1430:39: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_amqp_persistent_msg(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_amqp_heartbeat_intervalâ: >cfg_handlers.c:1478:43: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_amqp_heartbeat_interval(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_amqp_vhostâ: >cfg_handlers.c:1500:30: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_amqp_vhost(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_aggressive_classificationâ: >cfg_handlers.c:1544:49: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_aggressive_classification(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_locking_styleâ: >cfg_handlers.c:1566:37: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_locking_style(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_sql_use_copyâ: >cfg_handlers.c:1585:32: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sql_use_copy(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_timestamps_secsâ: >cfg_handlers.c:1632:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_timestamps_secs(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_pro_ratingâ: >cfg_handlers.c:1727:38: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfacctd_pro_rating(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_stitchingâ: >cfg_handlers.c:1749:37: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfacctd_stitching(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_networks_fileâ: >cfg_handlers.c:1858:33: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_networks_file(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_networks_file_filterâ: >cfg_handlers.c:1877:40: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_networks_file_filter(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_networks_cache_entriesâ: >cfg_handlers.c:1899:70: warning: unused parameter âvalue_ptrâ [-Wunused-parameter] > int cfg_key_networks_cache_entries(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_ports_fileâ: >cfg_handlers.c:1923:30: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_ports_file(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_print_markersâ: >cfg_handlers.c:1981:33: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_print_markers(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_num_protosâ: >cfg_handlers.c:2072:30: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_num_protos(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_num_hostsâ: >cfg_handlers.c:2094:29: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_num_hosts(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_pre_tag_mapâ: >cfg_handlers.c:2265:31: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_pre_tag_map(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c: In function âsrc_mac_handlerâ: >cfg_handlers.c: In function âcfg_key_nfacctd_mcast_groupsâ: >pkt_handlers.c:784:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void src_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âdst_mac_handlerâ: >cfg_handlers.c:2397:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > while (count_token = extract_token(&value_ptr, ',')) { > ^ >pkt_handlers.c:791:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void dst_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âvlan_handlerâ: >cfg_handlers.c:2399:5: warning: implicit declaration of function âstr_to_addrâ [-Wimplicit-function-declaration] > str_to_addr(count_token, &tmp_addr); > ^ >pkt_handlers.c:798:47: warning: unused parameter âchptrâ [-Wunused-parameter] > void vlan_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âcos_handlerâ: >pkt_handlers.c:810:46: warning: unused parameter âchptrâ [-Wunused-parameter] > void cos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:2400:5: warning: implicit declaration of function âis_multicastâ [-Wimplicit-function-declaration] > if (is_multicast(&tmp_addr)) { > ^ >pkt_handlers.c: In function âetype_handlerâ: >pkt_handlers.c:822:48: warning: unused parameter âchptrâ [-Wunused-parameter] > void etype_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âmpls_label_top_handlerâ: >pkt_handlers.c:832:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c:2392:31: warning: unused variable âmcast_familyâ [-Wunused-variable] > u_int8_t idx = 0, more = 0, mcast_family; > ^ >pkt_handlers.c: In function âmpls_label_bottom_handlerâ: >cfg_handlers.c:2391:13: warning: unused variable âvalueâ [-Wunused-variable] > u_int32_t value = 0, changes = 0; > ^ >pkt_handlers.c:841:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âmpls_stack_depth_handlerâ: >pkt_handlers.c:857:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âbgp_peer_dst_ip_handlerâ: >pkt_handlers.c:895:20: warning: unused variable âretâ [-Wunused-variable] > struct bgp_node *ret = (struct bgp_node *) pptrs->bgp_dst; > ^ >pkt_handlers.c:894:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âigp_peer_dst_ip_handlerâ: >pkt_handlers.c:949:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âsrc_host_handlerâ: >pkt_handlers.c:962:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void src_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âdst_host_handlerâ: >pkt_handlers.c:978:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void dst_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âsrc_port_handlerâ: >pkt_handlers.c:994:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void src_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âdst_port_handlerâ: >pkt_handlers.c:1003:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void dst_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âip_tos_handlerâ: >pkt_handlers.c:1012:49: warning: unused parameter âchptrâ [-Wunused-parameter] > void ip_tos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âip_proto_handlerâ: >pkt_handlers.c:1029:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void ip_proto_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âtcp_flags_handlerâ: >pkt_handlers.c:1036:52: warning: unused parameter âchptrâ [-Wunused-parameter] > void tcp_flags_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âcounters_handlerâ: >pkt_handlers.c:1043:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void counters_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âcounters_renormalize_handlerâ: >cfg_handlers.c: In function âcfg_key_nfacctd_bmp_msglog_fileâ: >pkt_handlers.c:1064:63: warning: unused parameter âchptrâ [-Wunused-parameter] > void counters_renormalize_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âpost_tag_handlerâ: >pkt_handlers.c:1076:78: warning: unused parameter âpptrsâ [-Wunused-parameter] > void post_tag_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:3091:7: warning: unused variable âvalueâ [-Wunused-variable] > int value, changes = 0; > ^ >pkt_handlers.c: In function âpost_tag2_handlerâ: >pkt_handlers.c:1083:79: warning: unused parameter âpptrsâ [-Wunused-parameter] > void post_tag2_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âflows_handlerâ: >pkt_handlers.c:1090:48: warning: unused parameter âchptrâ [-Wunused-parameter] > void flows_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bmp_msglog_amqp_frame_maxâ: >pkt_handlers.c: In function âtee_payload_handlerâ: >cfg_handlers.c:3246:9: warning: operation on âvalueâ may be undefined [-Wsequence-point] > value = value = strtoul(value_ptr, &endptr, 10); > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bmp_msglog_amqp_heartbeat_intervalâ: >pkt_handlers.c:1185:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void tee_payload_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function ânfprobe_extras_handlerâ: >pkt_handlers.c:1197:57: warning: unused parameter âchptrâ [-Wunused-parameter] > void nfprobe_extras_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:3264:9: warning: operation on âvalueâ may be undefined [-Wsequence-point] > value = value = strtoul(value_ptr, &endptr, 10); > ^ >pkt_handlers.c: In function âin_iface_handlerâ: >pkt_handlers.c:1208:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void in_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bmp_dump_fileâ: >pkt_handlers.c: In function âout_iface_handlerâ: >pkt_handlers.c:1215:52: warning: unused parameter âchptrâ [-Wunused-parameter] > void out_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âsampling_rate_handlerâ: >cfg_handlers.c:3292:7: warning: unused variable âvalueâ [-Wunused-variable] > int value, changes = 0; > ^ >pkt_handlers.c:1222:56: warning: unused parameter âchptrâ [-Wunused-parameter] > void sampling_rate_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c:1222:83: warning: unused parameter âpptrsâ [-Wunused-parameter] > void sampling_rate_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âmpls_vpn_rd_frommap_handlerâ: >pkt_handlers.c:1236:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âtimestamp_start_handlerâ: >pkt_handlers.c:1244:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âcustom_primitives_handlerâ: >pkt_handlers.c:1278:15: warning: pointer targets in passing argument 1 of âprint_hexâ differ in signedness [-Wpointer-sign] > hexbuflen = print_hex(pptrs->pkt_data_ptrs[cpe->pd_ptr[pd_ptr_idx].ptr_idx.n]+cpe->pd_ptr[pd_ptr_idx].off, hexbuf, cpe->len); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:116:9: note: expected âconst u_char *â but argument is of type âchar *â > EXT int print_hex(const u_char *, u_char *, int); > ^ >pkt_handlers.c:1278:15: warning: pointer targets in passing argument 2 of âprint_hexâ differ in signedness [-Wpointer-sign] > hexbuflen = print_hex(pptrs->pkt_data_ptrs[cpe->pd_ptr[pd_ptr_idx].ptr_idx.n]+cpe->pd_ptr[pd_ptr_idx].off, hexbuf, cpe->len); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:116:9: note: expected âu_char *â but argument is of type âchar *â > EXT int print_hex(const u_char *, u_char *, int); > ^ >cfg_handlers.c: In function âcfg_key_igp_daemon_map_msglogâ: >cfg_handlers.c:3589:7: warning: unused variable âvalueâ [-Wunused-variable] > int value, changes = 0; > ^ >pkt_handlers.c:1255:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_src_mac_handlerâ: >pkt_handlers.c:1319:53: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_src_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_dst_mac_handlerâ: >pkt_handlers.c:1338:53: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_dst_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_vlan_handlerâ: >pkt_handlers.c:1357:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_vlan_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_cos_handlerâ: >pkt_handlers.c:1380:49: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_cos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_nfprobe_timeoutsâ: >pkt_handlers.c: In function âNF_etype_handlerâ: >pkt_handlers.c:1398:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_etype_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:3895:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfprobe_timeouts(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfprobe_receiverâ: >pkt_handlers.c: In function âNF_src_host_handlerâ: >pkt_handlers.c:1420:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_src_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:3964:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfprobe_receiver(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfprobe_source_ipâ: >cfg_handlers.c:3983:37: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfprobe_source_ip(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c: In function âNF_dst_host_handlerâ: >cfg_handlers.c: In function âcfg_key_nfprobe_engineâ: >pkt_handlers.c:1495:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_dst_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:4027:34: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfprobe_engine(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfprobe_peer_asâ: >cfg_handlers.c:4046:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_nfprobe_peer_as(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfprobe_ifindexâ: >pkt_handlers.c: In function âNF_peer_src_as_handlerâ: >cfg_handlers.c:4140:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (value = strtol(value_ptr, NULL, 0)) > ^ >pkt_handlers.c:1798:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c: In function âcfg_key_sfprobe_receiverâ: >pkt_handlers.c: In function âNF_peer_dst_as_handlerâ: >pkt_handlers.c:1828:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c:4165:36: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sfprobe_receiver(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c: In function âNF_peer_src_ip_handlerâ: >cfg_handlers.c: In function âcfg_key_sfprobe_agentipâ: >pkt_handlers.c:1860:32: warning: unused variable âtplâ [-Wunused-variable] > struct template_cache_entry *tpl = (struct template_cache_entry *) pptrs->f_tpl; > ^ >cfg_handlers.c:4184:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sfprobe_agentip(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:1859:28: warning: unused variable âhdrâ [-Wunused-variable] > struct struct_header_v8 *hdr = (struct struct_header_v8 *) pptrs->f_header; > ^ >cfg_handlers.c: In function âcfg_key_sfprobe_ifspeedâ: >pkt_handlers.c:1858:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c:4228:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_sfprobe_ifspeed(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_tee_transparentâ: >pkt_handlers.c: In function âNF_peer_dst_ip_handlerâ: >cfg_handlers.c:4250:35: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_tee_transparent(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:1878:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c: In function âcfg_key_tee_receiversâ: >pkt_handlers.c: In function âNF_src_port_handlerâ: >cfg_handlers.c:4322:33: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_tee_receivers(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:1952:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_src_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_uacctd_groupâ: >pkt_handlers.c: In function âNF_dst_port_handlerâ: >pkt_handlers.c:2014:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_dst_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:4425:32: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_uacctd_group(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c: In function âNF_ip_tos_handlerâ: >cfg_handlers.c:4425:48: warning: unused parameter ânameâ [-Wunused-parameter] > int cfg_key_uacctd_group(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:2075:52: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_ip_tos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_uacctd_nl_sizeâ: >pkt_handlers.c: In function âNF_ip_proto_handlerâ: >cfg_handlers.c:4437:34: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_uacctd_nl_size(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:2132:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_ip_proto_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_tcp_flags_handlerâ: >cfg_handlers.c:4437:50: warning: unused parameter ânameâ [-Wunused-parameter] > int cfg_key_uacctd_nl_size(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c:2168:55: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_tcp_flags_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_pkt_len_distrib_binsâ: >cfg_handlers.c:4485:40: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_pkt_len_distrib_bins(char *filename, char *name, char *value_ptr) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bgp_msglog_fileâ: >cfg_handlers.c:4519:7: warning: unused variable âvalueâ [-Wunused-variable] > int value, changes = 0; > ^ >pkt_handlers.c: In function âNF_counters_msecs_handlerâ: >pkt_handlers.c:2191:60: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_counters_msecs_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bgp_msglog_amqp_frame_maxâ: >cfg_handlers.c:4674:9: warning: operation on âvalueâ may be undefined [-Wsequence-point] > value = value = strtoul(value_ptr, &endptr, 10); > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bgp_msglog_amqp_heartbeat_intervalâ: >pkt_handlers.c: In function âNF_counters_secs_handlerâ: >cfg_handlers.c:4692:9: warning: operation on âvalueâ may be undefined [-Wsequence-point] > value = value = strtoul(value_ptr, &endptr, 10); > ^ >pkt_handlers.c:2362:59: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_counters_secs_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_nfacctd_bgp_table_dump_fileâ: >cfg_handlers.c:4720:7: warning: unused variable âvalueâ [-Wunused-variable] > int value, changes = 0; > ^ >pkt_handlers.c: In function âNF_counters_new_handlerâ: >pkt_handlers.c:2464:58: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_counters_new_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âpre_tag_handlerâ: >pkt_handlers.c:2551:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void pre_tag_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âpre_tag2_handlerâ: >pkt_handlers.c:2558:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void pre_tag2_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c: In function âcfg_key_tmp_net_own_fieldâ: >pkt_handlers.c: In function âNF_flows_handlerâ: >pkt_handlers.c:2576:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_flows_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >cfg_handlers.c:4925:37: warning: unused parameter âfilenameâ [-Wunused-parameter] > int cfg_key_tmp_net_own_field(char *filename, char *name, char *value_ptr) > ^ >pkt_handlers.c: In function âNF_in_iface_handlerâ: >pkt_handlers.c:2614:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_in_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >In file included from cfg_handlers.c:26:0: >cfg_handlers.c: At top level: >nfacctd.h:588:14: warning: âtpl_desc_listâ defined but not used [-Wunused-variable] > static char *tpl_desc_list[] = { > ^ >pkt_handlers.c: In function âNF_out_iface_handlerâ: >nfacctd.h:657:14: warning: âopt_tpl_desc_listâ defined but not used [-Wunused-variable] > static char *opt_tpl_desc_list[] = { > ^ >In file included from cfg_handlers.c:27:0: >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >pkt_handlers.c:2692:55: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_out_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_sampling_rate_handlerâ: >pkt_handlers.c:2783:24: warning: variable âis_sampledâ set but not used [-Wunused-but-set-variable] > u_int16_t srate = 0, is_sampled = 0; > ^ >pkt_handlers.c:2774:59: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_sampling_rate_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_timestamp_start_handlerâ: >pkt_handlers.c:2882:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_timestamp_end_handlerâ: >pkt_handlers.c:2962:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_custom_primitives_handlerâ: >pkt_handlers.c:3045:13: warning: pointer targets in passing argument 2 of âprint_hexâ differ in signedness [-Wpointer-sign] > hexbuflen = print_hex(pptrs->f_data+tpl->tpl[cpe->field_type].off, hexbuf, tpl->tpl[cpe->field_type].len); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:116:9: note: expected âu_char *â but argument is of type âchar *â > EXT int print_hex(const u_char *, u_char *, int); > ^ >pkt_handlers.c:3057:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > if (utpl = (*get_ext_db_ie_by_type)(tpl, cpe->pen, cpe->field_type)) { > ^ >pkt_handlers.c:3062:15: warning: pointer targets in passing argument 2 of âprint_hexâ differ in signedness [-Wpointer-sign] > hexbuflen = print_hex(pptrs->f_data+utpl->off, hexbuf, utpl->len); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:116:9: note: expected âu_char *â but argument is of type âchar *â > EXT int print_hex(const u_char *, u_char *, int); > ^ >pkt_handlers.c:3085:5: warning: pointer targets in passing argument 4 of âvlen_prims_insertâ differ in signedness [-Wpointer-sign] > else vlen_prims_insert(pvlen, cpe->type, utpl->len, pptrs->f_data+utpl->off); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:138:10: note: expected âchar *â but argument is of type âu_char *â > EXT void vlen_prims_insert(struct pkt_vlen_hdr_primitives *, pm_cfgreg_t, int, char *); > ^ >pkt_handlers.c:3025:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_post_nat_src_host_handlerâ: >pkt_handlers.c:3115:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (utpl = (*get_ext_db_ie_by_type)(tpl, 0, NF9_ASA_XLATE_IPV4_SRC_ADDR)) { > ^ >pkt_handlers.c:3101:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_post_nat_dst_host_handlerâ: >pkt_handlers.c:3142:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (utpl = (*get_ext_db_ie_by_type)(tpl, 0, NF9_ASA_XLATE_IPV4_DST_ADDR)) { > ^ >pkt_handlers.c:3128:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_post_nat_src_port_handlerâ: >pkt_handlers.c:3171:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (utpl = (*get_ext_db_ie_by_type)(tpl, 0, NF9_ASA_XLATE_L4_SRC_PORT)) > ^ >pkt_handlers.c:3155:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_post_nat_dst_port_handlerâ: >pkt_handlers.c:3200:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (utpl = (*get_ext_db_ie_by_type)(tpl, 0, NF9_ASA_XLATE_L4_DST_PORT)) > ^ >pkt_handlers.c:3184:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_nat_event_handlerâ: >pkt_handlers.c:3224:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > else if (utpl = (*get_ext_db_ie_by_type)(tpl, 0, NF9_ASA_XLATE_EVENT)) > ^ >pkt_handlers.c:3213:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_mpls_label_top_handlerâ: >pkt_handlers.c:3243:7: warning: pointer targets in passing argument 1 of âdecode_mpls_labelâ differ in signedness [-Wpointer-sign] > pmpls->mpls_label_top = decode_mpls_label(pptrs->f_data+tpl->tpl[NF9_MPLS_LABEL_1].off); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:64:15: note: expected âchar *â but argument is of type âu_char *â > EXT u_int32_t decode_mpls_label(char *); > ^ >pkt_handlers.c:3234:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_mpls_label_bottom_handlerâ: >pkt_handlers.c:3263:9: warning: pointer targets in passing argument 1 of âdecode_mpls_labelâ differ in signedness [-Wpointer-sign] > pmpls->mpls_label_bottom = decode_mpls_label(pptrs->f_data+tpl->tpl[label_idx].off); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:64:15: note: expected âchar *â but argument is of type âu_char *â > EXT u_int32_t decode_mpls_label(char *); > ^ >pkt_handlers.c:3252:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_mpls_stack_depth_handlerâ: >pkt_handlers.c:3287:2: warning: pointer targets in passing argument 1 of âdecode_mpls_labelâ differ in signedness [-Wpointer-sign] > last_label_value = decode_mpls_label(pptrs->f_data+tpl->tpl[label_idx].off); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:64:15: note: expected âchar *â but argument is of type âu_char *â > EXT u_int32_t decode_mpls_label(char *); > ^ >pkt_handlers.c:3275:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_mpls_vpn_rd_handlerâ: >pkt_handlers.c:3305:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âNF_class_handlerâ: >pkt_handlers.c:3334:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_class_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_cust_tag_handlerâ: >pkt_handlers.c:3373:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > if (utpl = (*get_ext_db_ie_by_type)(tpl, PMACCT_PEN, NF9_CUST_TAG)) { > ^ >pkt_handlers.c:3364:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_cust_tag_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_cust_tag2_handlerâ: >pkt_handlers.c:3392:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > if (utpl = (*get_ext_db_ie_by_type)(tpl, PMACCT_PEN, NF9_CUST_TAG2)) { > ^ >pkt_handlers.c:3383:55: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_cust_tag2_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_cust_label_handlerâ: >pkt_handlers.c:3412:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > if (utpl = (*get_ext_db_ie_by_type)(tpl, PMACCT_PEN, NF9_CUST_LABEL)) { > ^ >pkt_handlers.c:3418:7: warning: pointer targets in passing argument 4 of âvlen_prims_insertâ differ in signedness [-Wpointer-sign] > else vlen_prims_insert(pvlen, COUNT_INT_LABEL, utpl->len, pptrs->f_data+utpl->off); > ^ >In file included from pmacct.h:184:0, > from pkt_handlers.c:25: >util.h:138:10: note: expected âchar *â but argument is of type âu_char *â > EXT void vlen_prims_insert(struct pkt_vlen_hdr_primitives *, pm_cfgreg_t, int, char *); > ^ >pkt_handlers.c: In function âNF_counters_renormalize_handlerâ: >pkt_handlers.c:3434:24: warning: variable âis_sampledâ set but not used [-Wunused-but-set-variable] > u_int16_t srate = 0, is_sampled = 0; > ^ >pkt_handlers.c:3426:66: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_counters_renormalize_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âNF_counters_map_renormalize_handlerâ: >pkt_handlers.c:3538:70: warning: unused parameter âchptrâ [-Wunused-parameter] > void NF_counters_map_renormalize_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âbgp_ext_handlerâ: >pkt_handlers.c:3571:20: warning: unused variable âpeerâ [-Wunused-variable] > struct bgp_peer *peer = (struct bgp_peer *) pptrs->bgp_peer; > ^ >pkt_handlers.c: In function âsfprobe_bgp_ext_handlerâ: >pkt_handlers.c:3722:20: warning: unused variable âpeerâ [-Wunused-variable] > struct bgp_peer *peer = (struct bgp_peer *) pptrs->bgp_peer; > ^ >pkt_handlers.c: In function ânfprobe_bgp_ext_handlerâ: >pkt_handlers.c:3760:20: warning: unused variable âpeerâ [-Wunused-variable] > struct bgp_peer *peer = (struct bgp_peer *) pptrs->bgp_peer; > ^ >pkt_handlers.c:3757:22: warning: unused variable âpextrasâ [-Wunused-variable] > struct pkt_extras *pextras = (struct pkt_extras *) ++pdata; > ^ >pkt_handlers.c: In function âbgp_peer_src_as_frommap_handlerâ: >pkt_handlers.c:3799:20: warning: unused variable âpeerâ [-Wunused-variable] > struct bgp_peer *peer = (struct bgp_peer *) pptrs->bgp_peer; > ^ >pkt_handlers.c:3796:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âbgp_src_local_pref_frommap_handlerâ: >pkt_handlers.c:3824:20: warning: unused variable âsrc_retâ [-Wunused-variable] > struct bgp_node *src_ret = (struct bgp_node *) pptrs->bgp_src; > ^ >pkt_handlers.c:3822:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âbgp_src_med_frommap_handlerâ: >pkt_handlers.c:3833:20: warning: unused variable âsrc_retâ [-Wunused-variable] > struct bgp_node *src_ret = (struct bgp_node *) pptrs->bgp_src; > ^ >pkt_handlers.c:3831:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_src_mac_handlerâ: >pkt_handlers.c:3839:53: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_src_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_dst_mac_handlerâ: >pkt_handlers.c:3847:53: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_dst_mac_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_vlan_handlerâ: >pkt_handlers.c:3855:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_vlan_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_cos_handlerâ: >pkt_handlers.c:3864:49: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_cos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_etype_handlerâ: >pkt_handlers.c:3873:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_etype_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_src_host_handlerâ: >pkt_handlers.c:3882:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_src_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_dst_host_handlerâ: >pkt_handlers.c:3900:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_dst_host_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_src_port_handlerâ: >pkt_handlers.c:3940:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_src_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_dst_port_handlerâ: >pkt_handlers.c:3950:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_dst_port_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_ip_tos_handlerâ: >pkt_handlers.c:3960:52: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_ip_tos_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_ip_proto_handlerâ: >pkt_handlers.c:3968:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_ip_proto_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_tcp_flags_handlerâ: >pkt_handlers.c:3976:55: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_tcp_flags_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_counters_new_handlerâ: >pkt_handlers.c:3984:58: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_counters_new_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_counters_renormalize_handlerâ: >pkt_handlers.c:4001:66: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_counters_renormalize_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_counters_map_renormalize_handlerâ: >pkt_handlers.c:4048:70: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_counters_map_renormalize_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_as_path_handlerâ: >pkt_handlers.c:4111:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_peer_src_as_handlerâ: >pkt_handlers.c:4128:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_peer_dst_as_handlerâ: >pkt_handlers.c:4140:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_local_pref_handlerâ: >pkt_handlers.c:4152:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_std_comms_handlerâ: >pkt_handlers.c:4164:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_peer_src_ip_handlerâ: >pkt_handlers.c:4176:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_peer_dst_ip_handlerâ: >pkt_handlers.c:4194:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_in_iface_handlerâ: >pkt_handlers.c:4236:54: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_in_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_out_iface_handlerâ: >pkt_handlers.c:4244:55: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_out_iface_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_sampling_rate_handlerâ: >pkt_handlers.c:4252:59: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_sampling_rate_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_timestamp_start_handlerâ: >pkt_handlers.c:4288:13: warning: unused variable âsampleâ [-Wunused-variable] > SFSample *sample = (SFSample *) pptrs->f_data; > ^ >pkt_handlers.c:4286:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c: In function âSF_class_handlerâ: >pkt_handlers.c:4294:51: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_class_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_tag_handlerâ: >pkt_handlers.c:4308:49: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_tag_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_tag2_handlerâ: >pkt_handlers.c:4316:50: warning: unused parameter âchptrâ [-Wunused-parameter] > void SF_tag2_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âsampling_handlerâ: >pkt_handlers.c:4324:78: warning: unused parameter âpptrsâ [-Wunused-parameter] > void sampling_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âsfprobe_sampling_handlerâ: >pkt_handlers.c:4332:86: warning: unused parameter âpptrsâ [-Wunused-parameter] > void sfprobe_sampling_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_bgp_peer_src_as_fromstd_handlerâ: >pkt_handlers.c:4341:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >pkt_handlers.c:4339:96: warning: unused parameter âpptrsâ [-Wunused-parameter] > void SF_bgp_peer_src_as_fromstd_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >pkt_handlers.c: In function âSF_bgp_peer_src_as_fromext_handlerâ: >cfg_handlers.c: In function âcfg_key_networks_cache_entriesâ: >pkt_handlers.c:4351:20: warning: unused variable âpdataâ [-Wunused-variable] > struct pkt_data *pdata = (struct pkt_data *) *data; > ^ >cfg_handlers.c:1904:6: warning: âvalueâ is used uninitialized in this function [-Wuninitialized] > if (value <= 0) { > ^ >pkt_handlers.c:4349:96: warning: unused parameter âpptrsâ [-Wunused-parameter] > void SF_bgp_peer_src_as_fromext_handler(struct channels_list_entry *chptr, struct packet_ptrs *pptrs, char **data) > ^ >In file included from pkt_handlers.c:26:0: >pkt_handlers.c: At top level: >pmacct-data.h:247:20: warning: âcps_typeâ defined but not used [-Wunused-variable] > static const char *cps_type[] = { > ^ >In file included from pkt_handlers.c:27:0: >nfacctd.h:588:14: warning: âtpl_desc_listâ defined but not used [-Wunused-variable] > static char *tpl_desc_list[] = { > ^ >nfacctd.h:657:14: warning: âopt_tpl_desc_listâ defined but not used [-Wunused-variable] > static char *opt_tpl_desc_list[] = { > ^ >pkt_handlers.c: In function âevaluate_lm_methodâ: >pkt_handlers.c:4439:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >gmake[2]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src' >Makefile:280: recipe for target 'all-recursive' failed >gmake[1]: *** [all-recursive] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1/src' >Makefile:113: recipe for target 'all-recursive' failed >make: *** [all-recursive] Error 1 > * ERROR: net-analyzer/pmacct-1.5.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/pmacct-1.5.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/pmacct-1.5.1::gentoo'`. > * The complete build log is located at '/var/log/log/build/net-analyzer/pmacct-1.5.1:20150521-130415.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/pmacct-1.5.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/pmacct-1.5.1/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1' > * S: '/var/tmp/portage/net-analyzer/pmacct-1.5.1/work/pmacct-1.5.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 550044
: 403720