Powered by ed. Your IP: 18.97.14.91 | trafshow 2f2529da-f775-45ed-941b-898efc191045Toc:- error 1
events.c:146:42: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
- error 2
events.c:151:26: error: too many arguments to function ‘func’; expected 0, have 1
- error 3
trafshow.c:61:12: error: conflicting types for ‘pcap_init’; have ‘int(PCAP_HANDLER **, pcap_if_t *)’ {aka ‘int(struct pcap_handler **, struct pcap_if *)’}
- error 4
show_dump.c:208:54: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 5
error: Bad exit status from /tmp/B.l9dep3bu/BUILD/tmp/rpm-tmp.G7Ee2c (%build)
- error 6
RPM build errors:
- error 7
error: No files produced.
Content:checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/i686-pld-linux-gcc accepts -g... yes
checking for /usr/bin/i686-pld-linux-gcc option to accept ANSI C... none needed
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking how to run the C preprocessor... /usr/bin/cpp
checking for egrep... grep -E
checking for AIX... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... /usr/bin/i686-pld-linux-gcc
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking for an ANSI C-conforming const... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for in_addr_t... yes
checking for socklen_t... yes
checking for struct sockaddr_storage... yes
checking for struct ether_addr... yes
checking for main in -lresolv... yes
checking for main in -linet... no
checking for gethostbyname in -lnsl... yes
checking for connect in -lsocket... no
checking for siginterrupt... yes
checking for snprintf... yes
checking for strftime... yes
checking for strcasecmp... yes
checking for pcap_findalldevs in -lpcap... yes
checking for pcap_dump_flush... yes
checking for pcap_get_selectable_fd... yes
checking for tgetent in -ltermcap... no
checking for curses library... ncurses
checking for has_colors... yes
checking for bkgd... yes
checking for wbkgd... yes
checking for wredrawln... yes
checking for resizeterm... yes
checking for use_default_colors... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
+ /usr/bin/make -Otarget -j28
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c events.c
events.c: In function ‘tv_sub’:
events.c:30:1: warning: old-style function definition [-Wold-style-definition]
30 | tv_sub(out, in)
| ^~~~~~
events.c: In function ‘tv_add’:
events.c:54:1: warning: old-style function definition [-Wold-style-definition]
54 | tv_add(out, in)
| ^~~~~~
events.c: In function ‘tv_round’:
events.c:70:1: warning: old-style function definition [-Wold-style-definition]
70 | tv_round(in)
| ^~~~~~~~
events.c: In function ‘tv_diff’:
events.c:83:1: warning: old-style function definition [-Wold-style-definition]
83 | tv_diff(tvp1, tvp2)
| ^~~~~~~
events.c: In function ‘tv_sharp’:
events.c:105:1: warning: old-style function definition [-Wold-style-definition]
105 | tv_sharp(tvp, period)
| ^~~~~~~~
events.c: In function ‘select_event’:
events.c:127:1: warning: old-style function definition [-Wold-style-definition]
127 | select_event(tvp)
| ^~~~~~~~~~~~
events.c:146:42: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *)’ [-Wincompatible-pointer-types]
146 | void (*func)() = ep->func;
| ^~
events.c:151:26: error: too many arguments to function ‘func’; expected 0, have 1
151 | (*func)(ep->arg); /* call event function */
| ~^~~~~~ ~~~~~~~
events.c: In function ‘add_event’:
events.c:181:1: warning: old-style function definition [-Wold-style-definition]
181 | add_event(tvp, func, arg)
| ^~~~~~~~~
events.c: In function ‘remove_event’:
events.c:244:1: warning: old-style function definition [-Wold-style-definition]
244 | remove_event(func, arg)
| ^~~~~~~~~~~~
events.c: In function ‘change_event’:
events.c:264:1: warning: old-style function definition [-Wold-style-definition]
264 | change_event(func, arg, new_arg)
| ^~~~~~~~~~~~
events.c: In function ‘find_event’:
events.c:281:1: warning: old-style function definition [-Wold-style-definition]
281 | find_event(func, arg)
| ^~~~~~~~~~
make: *** [Makefile:45: events.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c version.c
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c recycle.c
recycle.c: In function ‘remkroot’:
recycle.c:26:9: warning: old-style function definition [-Wold-style-definition]
26 | reroot *remkroot(size)
| ^~~~~~~~
recycle.c: In function ‘refree’:
recycle.c:40:7: warning: old-style function definition [-Wold-style-definition]
40 | void refree(r)
| ^~~~~~
recycle.c: In function ‘renewx’:
recycle.c:55:8: warning: old-style function definition [-Wold-style-definition]
55 | char *renewx(r)
| ^~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c parse_ip.c
parse_ip.c: In function ‘parse_ip’:
parse_ip.c:32:1: warning: old-style function definition [-Wold-style-definition]
32 | parse_ip(ns, caplen, ip)
| ^~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c trafshow.c
trafshow.c:61:12: error: conflicting types for ‘pcap_init’; have ‘int(PCAP_HANDLER **, pcap_if_t *)’ {aka ‘int(struct pcap_handler **, struct pcap_if *)’}
61 | static int pcap_init(PCAP_HANDLER **ph_list, pcap_if_t *dp);
| ^~~~~~~~~
In file included from /usr/include/pcap.h:43,
from trafshow.c:32:
/usr/include/pcap/pcap.h:435:17: note: previous declaration of ‘pcap_init’ with type ‘int(unsigned int, char *)’
435 | PCAP_API int pcap_init(unsigned int, char *);
| ^~~~~~~~~
trafshow.c: In function ‘main’:
trafshow.c:89:1: warning: old-style function definition [-Wold-style-definition]
89 | main(argc, argv)
| ^~~~
trafshow.c:98:19: warning: variable ‘show_thr’ set but not used [-Wunused-but-set-variable]
98 | pthread_t show_thr, sig_thr, pcap_thr;
| ^~~~~~~~
trafshow.c: In function ‘catch_signals’:
trafshow.c:266:1: warning: old-style function definition [-Wold-style-definition]
266 | catch_signals(arg)
| ^~~~~~~~~~~~~
trafshow.c: In function ‘pcap_matchdev’:
trafshow.c:284:1: warning: old-style function definition [-Wold-style-definition]
284 | pcap_matchdev(dp, name)
| ^~~~~~~~~~~~~
trafshow.c: In function ‘pcap_init’:
trafshow.c:301:1: warning: old-style function definition [-Wold-style-definition]
301 | pcap_init(ph_list, dp)
| ^~~~~~~~~
trafshow.c: In function ‘pcaph_create’:
trafshow.c:411:1: warning: old-style function definition [-Wold-style-definition]
411 | pcaph_create(top, nh)
| ^~~~~~~~~~~~
trafshow.c: In function ‘pcaph_close’:
trafshow.c:448:1: warning: old-style function definition [-Wold-style-definition]
448 | pcaph_close(ph)
| ^~~~~~~~~~~
trafshow.c: In function ‘pcap_setexpr’:
trafshow.c:474:1: warning: old-style function definition [-Wold-style-definition]
474 | pcap_setexpr(ph, expr)
| ^~~~~~~~~~~~
trafshow.c: In function ‘pcap_feed’:
trafshow.c:509:1: warning: old-style function definition [-Wold-style-definition]
509 | pcap_feed(arg)
| ^~~~~~~~~
trafshow.c: In function ‘pcap_feed2’:
trafshow.c:540:1: warning: old-style function definition [-Wold-style-definition]
540 | pcap_feed2(arg)
| ^~~~~~~~~~
trafshow.c: In function ‘parse_feed’:
trafshow.c:596:1: warning: old-style function definition [-Wold-style-definition]
596 | parse_feed(a, h, p)
| ^~~~~~~~~~
trafshow.c: In function ‘pcap_save’:
trafshow.c:618:1: warning: old-style function definition [-Wold-style-definition]
618 | pcap_save(ph, ns)
| ^~~~~~~~~
trafshow.c: In function ‘pcap_show’:
trafshow.c:654:1: warning: old-style function definition [-Wold-style-definition]
654 | pcap_show(arg)
| ^~~~~~~~~
trafshow.c: In function ‘pcap_purge’:
trafshow.c:700:1: warning: old-style function definition [-Wold-style-definition]
700 | pcap_purge(arg)
| ^~~~~~~~~~
trafshow.c: In function ‘pcap_clear’:
trafshow.c:721:1: warning: old-style function definition [-Wold-style-definition]
721 | pcap_clear(arg)
| ^~~~~~~~~~
trafshow.c: In function ‘pcap_get_selected’:
trafshow.c:734:1: warning: old-style function definition [-Wold-style-definition]
734 | pcap_get_selected(ph)
| ^~~~~~~~~~~~~~~~~
trafshow.c: In function ‘pcap_set_selected’:
trafshow.c:747:1: warning: old-style function definition [-Wold-style-definition]
747 | pcap_set_selected(ph, idx)
| ^~~~~~~~~~~~~~~~~
trafshow.c: In function ‘traf_show’:
trafshow.c:764:1: warning: old-style function definition [-Wold-style-definition]
764 | traf_show(arg)
| ^~~~~~~~~
trafshow.c: In function ‘main’:
trafshow.c:194:9: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
194 | setuid(getuid());
| ^~~~~~~~~~~~~~~~
make: *** [Makefile:44: trafshow.o] Error 1
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c show_dump.c
show_dump.c: In function ‘show_dump_open’:
show_dump.c:112:1: warning: old-style function definition [-Wold-style-definition]
112 | show_dump_open(ph, ns)
| ^~~~~~~~~~~~~~
show_dump.c:208:54: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types]
208 | if (pthread_create(live_pcap_thr, 0, live_pcap_dump, 0)) {
| ^~~~~~~~~~~~~~
| |
| void * (*)(void)
In file included from show_dump.c:33:
/usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void * (*)(void)’
204 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
show_dump.c:52:14: note: ‘live_pcap_dump’ declared here
52 | static void *live_pcap_dump();
| ^~~~~~~~~~~~~~
show_dump.c: In function ‘live_pcap_parse’:
show_dump.c:249:1: warning: old-style function definition [-Wold-style-definition]
249 | live_pcap_parse(a, h, p)
| ^~~~~~~~~~~~~~~
show_dump.c: In function ‘show_dump_print’:
show_dump.c:310:1: warning: old-style function definition [-Wold-style-definition]
310 | show_dump_print(ph)
| ^~~~~~~~~~~~~~~
show_dump.c:336:57: warning: comparison between pointer and zero character constant [-Wpointer-compare]
336 | if ((cp = strpbrk(buf, "\r\n")) != '\0')
| ^~
show_dump.c:336:29: note: did you mean to dereference the pointer?
336 | if ((cp = strpbrk(buf, "\r\n")) != '\0')
| ^
show_dump.c: In function ‘file_pcap_parse’:
show_dump.c:352:1: warning: old-style function definition [-Wold-style-definition]
352 | file_pcap_parse(a, h, p)
| ^~~~~~~~~~~~~~~
show_dump.c: In function ‘show_dump_input’:
show_dump.c:397:1: warning: old-style function definition [-Wold-style-definition]
397 | show_dump_input(ch)
| ^~~~~~~~~~~~~~~
show_dump.c: In function ‘build_filter_expr’:
show_dump.c:407:1: warning: old-style function definition [-Wold-style-definition]
407 | build_filter_expr(dst, size, ns)
| ^~~~~~~~~~~~~~~~~
show_dump.c: In function ‘show_header_dump’:
show_dump.c:453:1: warning: old-style function definition [-Wold-style-definition]
453 | show_header_dump(ph, ns)
| ^~~~~~~~~~~~~~~~
show_dump.c: In function ‘show_ascii_dump’:
show_dump.c:479:1: warning: old-style function definition [-Wold-style-definition]
479 | show_ascii_dump(cp, length)
| ^~~~~~~~~~~~~~~
show_dump.c: In function ‘show_hex_dump’:
show_dump.c:512:1: warning: old-style function definition [-Wold-style-definition]
512 | show_hex_dump(cp, length)
| ^~~~~~~~~~~~~
make: *** [Makefile:44: show_dump.o] Error 1
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c show_if.c
show_if.c: In function ‘scale_size’:
show_if.c:29:1: warning: old-style function definition [-Wold-style-definition]
29 | scale_size(name, addr, descr)
| ^~~~~~~~~~
show_if.c: In function ‘show_if_header’:
show_if.c:38:1: warning: old-style function definition [-Wold-style-definition]
38 | show_if_header(dst, size, unused)
| ^~~~~~~~~~~~~~
show_if.c: In function ‘show_if_line’:
show_if.c:103:1: warning: old-style function definition [-Wold-style-definition]
103 | show_if_line(dst, size, ph, idx)
| ^~~~~~~~~~~~
show_if.c: In function ‘show_if_footer’:
show_if.c:131:1: warning: old-style function definition [-Wold-style-definition]
131 | show_if_footer(dst, size, unused)
| ^~~~~~~~~~~~~~
show_if.c: In function ‘show_if_search’:
show_if.c:158:1: warning: old-style function definition [-Wold-style-definition]
158 | show_if_search(ph, str)
| ^~~~~~~~~~~~~~
show_if.c: In function ‘show_if_list’:
show_if.c:178:1: warning: old-style function definition [-Wold-style-definition]
178 | show_if_list(ph)
| ^~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c util.c
util.c: In function ‘strip_path’:
util.c:25:1: warning: old-style function definition [-Wold-style-definition]
25 | strip_path(path)
| ^~~~~~~~~~
util.c:29:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
29 | if (path && (cp = strrchr(path, '/')) != 0)
| ^
util.c: In function ‘strip_blanks’:
util.c:35:1: warning: old-style function definition [-Wold-style-definition]
35 | strip_blanks(str)
| ^~~~~~~~~~~~
util.c: In function ‘copy_argv’:
util.c:58:1: warning: old-style function definition [-Wold-style-definition]
58 | copy_argv(av)
| ^~~~~~~~~
util.c: In function ‘fd_size’:
util.c:86:1: warning: old-style function definition [-Wold-style-definition]
86 | fd_size(fd)
| ^~~~~~~
util.c: In function ‘load_file’:
util.c:96:1: warning: old-style function definition [-Wold-style-definition]
96 | load_file(name)
| ^~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c parse_dl.c
parse_dl.c: In function ‘is_parse_dl’:
parse_dl.c:47:1: warning: old-style function definition [-Wold-style-definition]
47 | is_parse_dl(type)
| ^~~~~~~~~~~
parse_dl.c: In function ‘parse_dl_name’:
parse_dl.c:63:1: warning: old-style function definition [-Wold-style-definition]
63 | parse_dl_name(type)
| ^~~~~~~~~~~~~
parse_dl.c: In function ‘parse_dl’:
parse_dl.c:91:1: warning: old-style function definition [-Wold-style-definition]
91 | parse_dl(ns, dlt, caplen, pktlen, pkt)
| ^~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c screen.c
screen.c: In function ‘screen_open’:
screen.c:49:1: warning: old-style function definition [-Wold-style-definition]
49 | screen_open(resize)
| ^~~~~~~~~~~
screen.c: In function ‘screen_dock_cursor’:
screen.c:163:1: warning: old-style function definition [-Wold-style-definition]
163 | screen_dock_cursor(y, x)
| ^~~~~~~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c hashtab.c
hashtab.c: In function ‘hgrow’:
hashtab.c:86:13: warning: old-style function definition [-Wold-style-definition]
86 | static void hgrow( t)
| ^~~~~
hashtab.c: In function ‘hcreate’:
hashtab.c:124:7: warning: old-style function definition [-Wold-style-definition]
124 | htab *hcreate(logsize)
| ^~~~~~~
hashtab.c: In function ‘hdestroy’:
hashtab.c:147:6: warning: old-style function definition [-Wold-style-definition]
147 | void hdestroy( t)
| ^~~~~~~~
hashtab.c: In function ‘hfind’:
hashtab.c:161:8: warning: old-style function definition [-Wold-style-definition]
161 | word hfind( t, key, keyl )
| ^~~~~
hashtab.c: In function ‘hadd’:
hashtab.c:187:6: warning: old-style function definition [-Wold-style-definition]
187 | word hadd( t, key, keyl, stuff)
| ^~~~
hashtab.c: In function ‘hdel’:
hashtab.c:239:7: warning: old-style function definition [-Wold-style-definition]
239 | word hdel(t)
| ^~~~
hashtab.c: In function ‘hfirst’:
hashtab.c:268:6: warning: old-style function definition [-Wold-style-definition]
268 | word hfirst(t)
| ^~~~~~
hashtab.c: In function ‘hnbucket’:
hashtab.c:282:6: warning: old-style function definition [-Wold-style-definition]
282 | word hnbucket(t)
| ^~~~~~~~
hashtab.c: In function ‘hstat’:
hashtab.c:314:6: warning: old-style function definition [-Wold-style-definition]
314 | void hstat(fp, t)
| ^~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c help_page.c
help_page.c: In function ‘scale_size’:
help_page.c:80:1: warning: old-style function definition [-Wold-style-definition]
80 | scale_size(name, descr)
| ^~~~~~~~~~
help_page.c: In function ‘help_page_header’:
help_page.c:88:1: warning: old-style function definition [-Wold-style-definition]
88 | help_page_header(dst, size, unused)
| ^~~~~~~~~~~~~~~~
help_page.c: In function ‘help_page_line’:
help_page.c:109:1: warning: old-style function definition [-Wold-style-definition]
109 | help_page_line(dst, size, hp, idx)
| ^~~~~~~~~~~~~~
help_page.c: In function ‘help_page_footer’:
help_page.c:130:1: warning: old-style function definition [-Wold-style-definition]
130 | help_page_footer(dst, size, topic)
| ^~~~~~~~~~~~~~~~
help_page.c: In function ‘help_page_key’:
help_page.c:174:1: warning: old-style function definition [-Wold-style-definition]
174 | help_page_key(idx)
| ^~~~~~~~~~~~~
help_page.c: In function ‘help_page_list’:
help_page.c:191:1: warning: old-style function definition [-Wold-style-definition]
191 | help_page_list(mode)
| ^~~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c lookupa.c
lookupa.c: In function ‘lookup’:
lookupa.c:82:5: warning: old-style function definition [-Wold-style-definition]
82 | ub4 lookup( k, length, level)
| ^~~~~~
lookupa.c: In function ‘checksum’:
lookupa.c:170:7: warning: old-style function definition [-Wold-style-definition]
170 | void checksum( k, len, state)
| ^~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c selector.c
selector.c: In function ‘get_size’:
selector.c:40:1: warning: old-style function definition [-Wold-style-definition]
40 | get_size(sp, lines, cols)
| ^~~~~~~~
selector.c: In function ‘get_colors’:
selector.c:65:1: warning: old-style function definition [-Wold-style-definition]
65 | get_colors(sp, fore, curs)
| ^~~~~~~~~~
selector.c: In function ‘selector_redraw’:
selector.c:100:1: warning: old-style function definition [-Wold-style-definition]
100 | selector_redraw(sp)
| ^~~~~~~~~~~~~~~
selector.c: In function ‘selector_withdraw’:
selector.c:198:1: warning: old-style function definition [-Wold-style-definition]
198 | selector_withdraw(sp)
| ^~~~~~~~~~~~~~~~~
selector.c: In function ‘selector_get’:
selector.c:249:1: warning: old-style function definition [-Wold-style-definition]
249 | selector_get(sp)
| ^~~~~~~~~~~~
selector.c: In function ‘selector_set’:
selector.c:263:1: warning: old-style function definition [-Wold-style-definition]
263 | selector_set(new_index, sp)
| ^~~~~~~~~~~~
selector.c: In function ‘selector_move’:
selector.c:298:1: warning: old-style function definition [-Wold-style-definition]
298 | selector_move(ch, sp)
| ^~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c netstat.c
netstat.c: In function ‘netstat_count’:
netstat.c:34:1: warning: old-style function definition [-Wold-style-definition]
34 | netstat_count(ph)
| ^~~~~~~~~~~~~
netstat.c: In function ‘maskit’:
netstat.c:45:1: warning: old-style function definition [-Wold-style-definition]
45 | maskit(bp, len, bits)
| ^~~~~~
netstat.c: In function ‘netstat_aggregate’:
netstat.c:63:1: warning: old-style function definition [-Wold-style-definition]
63 | netstat_aggregate(nh, bits)
| ^~~~~~~~~~~~~~~~~
netstat.c: In function ‘htab_insert’:
netstat.c:106:1: warning: old-style function definition [-Wold-style-definition]
106 | htab_insert(ht, ns)
| ^~~~~~~~~~~
netstat.c: In function ‘netstat_insert’:
netstat.c:178:1: warning: old-style function definition [-Wold-style-definition]
178 | netstat_insert(ph, ns)
| ^~~~~~~~~~~~~~
netstat.c: In function ‘netstat_find’:
netstat.c:207:1: warning: old-style function definition [-Wold-style-definition]
207 | netstat_find(ph, ns)
| ^~~~~~~~~~~~
netstat.c: In function ‘netstat_purge’:
netstat.c:236:1: warning: old-style function definition [-Wold-style-definition]
236 | netstat_purge(ph, at)
| ^~~~~~~~~~~~~
netstat.c: In function ‘netstat_free’:
netstat.c:273:1: warning: old-style function definition [-Wold-style-definition]
273 | netstat_free(ph)
| ^~~~~~~~~~~~
netstat.c: In function ‘netstat_match’:
netstat.c:291:1: warning: old-style function definition [-Wold-style-definition]
291 | netstat_match(p1, p2)
| ^~~~~~~~~~~~~
netstat.c: In function ‘netstat_bidir’:
netstat.c:301:1: warning: old-style function definition [-Wold-style-definition]
301 | netstat_bidir(p1, p2)
| ^~~~~~~~~~~~~
netstat.c: In function ‘netstat_fetch’:
netstat.c:327:1: warning: old-style function definition [-Wold-style-definition]
327 | netstat_fetch(list, ph)
| ^~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c colormask.c
colormask.c: In function ‘colormask’:
colormask.c:540:1: warning: old-style function definition [-Wold-style-definition]
540 | colormask(nh)
| ^~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c show_stat.c
show_stat.c: In function ‘scale_size’:
show_stat.c:36:1: warning: old-style function definition [-Wold-style-definition]
36 | scale_size(addr, prot, data, rate)
| ^~~~~~~~~~
show_stat.c: In function ‘compare_pkt_len’:
show_stat.c:46:1: warning: old-style function definition [-Wold-style-definition]
46 | compare_pkt_len(p1, p2)
| ^~~~~~~~~~~~~~~
show_stat.c: In function ‘compare_data_len’:
show_stat.c:55:1: warning: old-style function definition [-Wold-style-definition]
55 | compare_data_len(p1, p2)
| ^~~~~~~~~~~~~~~~
show_stat.c: In function ‘compare_pkt_cnt’:
show_stat.c:64:1: warning: old-style function definition [-Wold-style-definition]
64 | compare_pkt_cnt(p1, p2)
| ^~~~~~~~~~~~~~~
show_stat.c: In function ‘find_backflow’:
show_stat.c:73:1: warning: old-style function definition [-Wold-style-definition]
73 | find_backflow(list, items, at)
| ^~~~~~~~~~~~~
show_stat.c: In function ‘sort_backflow’:
show_stat.c:93:1: warning: old-style function definition [-Wold-style-definition]
93 | sort_backflow(list, items)
| ^~~~~~~~~~~~~
show_stat.c: In function ‘ip_print’:
show_stat.c:117:1: warning: old-style function definition [-Wold-style-definition]
117 | ip_print(ver, proto, addr, dst, size)
| ^~~~~~~~
show_stat.c: In function ‘sap_print’:
show_stat.c:189:1: warning: old-style function definition [-Wold-style-definition]
189 | sap_print(addr, sap, dst, size)
| ^~~~~~~~~
show_stat.c: In function ‘hdr2str’:
show_stat.c:214:1: warning: old-style function definition [-Wold-style-definition]
214 | hdr2str(nh, src_buf, src_len, dst_buf, dst_len, proto_buf, proto_len)
| ^~~~~~~
show_stat.c: In function ‘show_stat_header’:
show_stat.c:300:1: warning: old-style function definition [-Wold-style-definition]
300 | show_stat_header(dst, size, ph)
| ^~~~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_line’:
show_stat.c:348:1: warning: old-style function definition [-Wold-style-definition]
348 | show_stat_line(dst, size, ns_list, idx)
| ^~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_footer’:
show_stat.c:414:1: warning: old-style function definition [-Wold-style-definition]
414 | show_stat_footer(dst, size, ph)
| ^~~~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_input’:
show_stat.c:484:1: warning: old-style function definition [-Wold-style-definition]
484 | show_stat_input(ph, ch)
| ^~~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_selector’:
show_stat.c:531:1: warning: old-style function definition [-Wold-style-definition]
531 | show_stat_selector(ph)
| ^~~~~~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_get’:
show_stat.c:544:1: warning: old-style function definition [-Wold-style-definition]
544 | show_stat_get(ph, idx)
| ^~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_search’:
show_stat.c:560:1: warning: old-style function definition [-Wold-style-definition]
560 | show_stat_search(ph, str)
| ^~~~~~~~~~~~~~~~
show_stat.c: In function ‘show_stat_list’:
show_stat.c:590:1: warning: old-style function definition [-Wold-style-definition]
590 | show_stat_list(ph)
| ^~~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c cisco_netflow.c
cisco_netflow.c: In function ‘cisco_netflow_init’:
cisco_netflow.c:53:1: warning: old-style function definition [-Wold-style-definition]
53 | cisco_netflow_init(ph_list, port)
| ^~~~~~~~~~~~~~~~~~
cisco_netflow.c: In function ‘match_feeder’:
cisco_netflow.c:98:1: warning: old-style function definition [-Wold-style-definition]
98 | match_feeder(ph, sa)
| ^~~~~~~~~~~~
cisco_netflow.c: In function ‘get_name’:
cisco_netflow.c:134:1: warning: old-style function definition [-Wold-style-definition]
134 | get_name(sa, dst, size)
| ^~~~~~~~
cisco_netflow.c: In function ‘read_netflow’:
cisco_netflow.c:167:1: warning: old-style function definition [-Wold-style-definition]
167 | read_netflow(sd, data, len)
| ^~~~~~~~~~~~
cisco_netflow.c: In function ‘parse_netflow’:
cisco_netflow.c:233:1: warning: old-style function definition [-Wold-style-definition]
233 | parse_netflow(ph, data, len)
| ^~~~~~~~~~~~~
cisco_netflow.c:242:21: warning: variable ‘v7h’ set but not used [-Wunused-but-set-variable]
242 | CNF_HDR_V7 *v7h;
| ^~~
cisco_netflow.c:241:21: warning: variable ‘v5h’ set but not used [-Wunused-but-set-variable]
241 | CNF_HDR_V5 *v5h;
| ^~~
cisco_netflow.c: In function ‘fprint_tcpflags’:
cisco_netflow.c:369:1: warning: old-style function definition [-Wold-style-definition]
369 | fprint_tcpflags(fp, flags)
| ^~~~~~~~~~~~~~~
cisco_netflow.c: In function ‘fprint_tos’:
cisco_netflow.c:386:1: warning: old-style function definition [-Wold-style-definition]
386 | fprint_tos(fp, tos)
| ^~~~~~~~~~
cisco_netflow.c: In function ‘dump_netflow_v1’:
cisco_netflow.c:411:1: warning: old-style function definition [-Wold-style-definition]
411 | dump_netflow_v1(dp)
| ^~~~~~~~~~~~~~~
cisco_netflow.c: In function ‘dump_netflow_v5’:
cisco_netflow.c:447:1: warning: old-style function definition [-Wold-style-definition]
447 | dump_netflow_v5(dp)
| ^~~~~~~~~~~~~~~
cisco_netflow.c: In function ‘dump_netflow_v7’:
cisco_netflow.c:488:1: warning: old-style function definition [-Wold-style-definition]
488 | dump_netflow_v7(dp)
| ^~~~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c session.c
session.c: In function ‘session_open’:
session.c:59:1: warning: old-style function definition [-Wold-style-definition]
59 | session_open(sock, peer, type)
| ^~~~~~~~~~~~
session.c: In function ‘session_start’:
session.c:104:1: warning: old-style function definition [-Wold-style-definition]
104 | session_start(sd)
| ^~~~~~~~~~~~~
session.c: In function ‘session_sock’:
session.c:170:1: warning: old-style function definition [-Wold-style-definition]
170 | session_sock(sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_settimeout’:
session.c:177:1: warning: old-style function definition [-Wold-style-definition]
177 | session_settimeout(sd, timeout)
| ^~~~~~~~~~~~~~~~~~
session.c: In function ‘session_setcallback’:
session.c:195:1: warning: old-style function definition [-Wold-style-definition]
195 | session_setcallback(sd, connected, read_error, read_data)
| ^~~~~~~~~~~~~~~~~~~
session.c: In function ‘session_setcookie’:
session.c:213:1: warning: old-style function definition [-Wold-style-definition]
213 | session_setcookie(sd, cookie)
| ^~~~~~~~~~~~~~~~~
session.c: In function ‘session_cookie’:
session.c:221:1: warning: old-style function definition [-Wold-style-definition]
221 | session_cookie(sd)
| ^~~~~~~~~~~~~~
session.c: In function ‘session_stop’:
session.c:228:1: warning: old-style function definition [-Wold-style-definition]
228 | session_stop(sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_idle’:
session.c:245:1: warning: old-style function definition [-Wold-style-definition]
245 | session_idle(sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_bind’:
session.c:253:1: warning: old-style function definition [-Wold-style-definition]
253 | session_bind(sd, notify, arg)
| ^~~~~~~~~~~~
session.c: In function ‘session_unbind’:
session.c:282:1: warning: old-style function definition [-Wold-style-definition]
282 | session_unbind(sd, notify, arg)
| ^~~~~~~~~~~~~~
session.c: In function ‘session_free’:
session.c:313:1: warning: old-style function definition [-Wold-style-definition]
313 | session_free(free_sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_find’:
session.c:350:1: warning: old-style function definition [-Wold-style-definition]
350 | session_find(peer, type)
| ^~~~~~~~~~~~
session.c: In function ‘session_send’:
session.c:387:1: warning: old-style function definition [-Wold-style-definition]
387 | session_send(sd, data, len)
| ^~~~~~~~~~~~
session.c: In function ‘session_read’:
session.c:451:1: warning: old-style function definition [-Wold-style-definition]
451 | session_read(sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_select’:
session.c:542:1: warning: old-style function definition [-Wold-style-definition]
542 | session_select(nfds, readfds, writefds, timeout, block)
| ^~~~~~~~~~~~~~
session.c: In function ‘session_operate’:
session.c:611:1: warning: old-style function definition [-Wold-style-definition]
611 | session_operate(readfds, writefds)
| ^~~~~~~~~~~~~~~
session.c: In function ‘session_peer’:
session.c:682:1: warning: old-style function definition [-Wold-style-definition]
682 | session_peer(sd)
| ^~~~~~~~~~~~
session.c: In function ‘session_from’:
session.c:692:1: warning: old-style function definition [-Wold-style-definition]
692 | session_from(sd)
| ^~~~~~~~~~~~
session.c: In function ‘socket_peer’:
session.c:702:1: warning: old-style function definition [-Wold-style-definition]
702 | socket_peer(peer, sock)
| ^~~~~~~~~~~
session.c: In function ‘socket_name’:
session.c:720:1: warning: old-style function definition [-Wold-style-definition]
720 | socket_name(name, sock)
| ^~~~~~~~~~~
session.c: In function ‘socket_error’:
session.c:738:1: warning: old-style function definition [-Wold-style-definition]
738 | socket_error(sock)
| ^~~~~~~~~~~~
session.c: In function ‘socket_nonblock’:
session.c:766:1: warning: old-style function definition [-Wold-style-definition]
766 | socket_nonblock(sock, on)
| ^~~~~~~~~~~~~~~
session.c: In function ‘socket_keepalive’:
session.c:788:1: warning: old-style function definition [-Wold-style-definition]
788 | socket_keepalive(sock, on)
| ^~~~~~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c getkey.c
getkey.c: In function ‘getkey_init’:
getkey.c:54:1: warning: old-style function definition [-Wold-style-definition]
54 | getkey_init(ph)
| ^~~~~~~~~~~
getkey.c: In function ‘read_key’:
getkey.c:69:1: warning: old-style function definition [-Wold-style-definition]
69 | read_key(sd, data, len)
| ^~~~~~~~
getkey.c: In function ‘get_selector’:
getkey.c:83:1: warning: old-style function definition [-Wold-style-definition]
83 | get_selector(ph_list)
| ^~~~~~~~~~~~
getkey.c: In function ‘parse_key’:
getkey.c:102:1: warning: old-style function definition [-Wold-style-definition]
102 | parse_key(key, ph_list)
| ^~~~~~~~~
getkey.c: In function ‘scan_key’:
getkey.c:416:1: warning: old-style function definition [-Wold-style-definition]
416 | scan_key(buf, len)
| ^~~~~~~~
getkey.c: In function ‘init_edit_string’:
getkey.c:495:1: warning: old-style function definition [-Wold-style-definition]
495 | init_edit_string(prompter, charset, size)
| ^~~~~~~~~~~~~~~~
getkey.c: In function ‘edit_string’:
getkey.c:536:1: warning: old-style function definition [-Wold-style-definition]
536 | edit_string(ch)
| ^~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c domain_resolver.c
domain_resolver.c: In function ‘domain_resolve_addr’:
domain_resolver.c:187:1: warning: old-style function definition [-Wold-style-definition]
187 | domain_resolve_addr(domain, sd, notify)
| ^~~~~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘domain_resolve_mxlist’:
domain_resolver.c:196:1: warning: old-style function definition [-Wold-style-definition]
196 | domain_resolve_mxlist(domain, sd, notify)
| ^~~~~~~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘domain_resolve_name’:
domain_resolver.c:205:1: warning: old-style function definition [-Wold-style-definition]
205 | domain_resolve_name(ipaddr, sd, notify)
| ^~~~~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘nameserver_error’:
domain_resolver.c:218:1: warning: old-style function definition [-Wold-style-definition]
218 | nameserver_error(sd, error)
| ^~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘nameserver_close’:
domain_resolver.c:242:1: warning: old-style function definition [-Wold-style-definition]
242 | nameserver_close(sd)
| ^~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘discard_request’:
domain_resolver.c:267:1: warning: old-style function definition [-Wold-style-definition]
267 | discard_request(arg)
| ^~~~~~~~~~~~~~~
domain_resolver.c: In function ‘find_transact’:
domain_resolver.c:303:1: warning: old-style function definition [-Wold-style-definition]
303 | find_transact(reqid)
| ^~~~~~~~~~~~~
domain_resolver.c: In function ‘free_transact’:
domain_resolver.c:315:1: warning: old-style function definition [-Wold-style-definition]
315 | free_transact(dt)
| ^~~~~~~~~~~~~
domain_resolver.c: In function ‘domain_data_add’:
domain_resolver.c:347:1: warning: old-style function definition [-Wold-style-definition]
347 | domain_data_add(list, name, pref)
| ^~~~~~~~~~~~~~~
domain_resolver.c:381:21: warning: variable ‘save_errno’ set but not used [-Wunused-but-set-variable]
381 | int save_errno = errno;
| ^~~~~~~~~~
domain_resolver.c: In function ‘domain_data_find’:
domain_resolver.c:410:1: warning: old-style function definition [-Wold-style-definition]
410 | domain_data_find(list, name)
| ^~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘domain_data_free’:
domain_resolver.c:428:1: warning: old-style function definition [-Wold-style-definition]
428 | domain_data_free(list, name)
| ^~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘nameserver_request’:
domain_resolver.c:459:1: warning: old-style function definition [-Wold-style-definition]
459 | nameserver_request(domain, type, org, notify)
| ^~~~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘nameserver_send’:
domain_resolver.c:538:1: warning: old-style function definition [-Wold-style-definition]
538 | nameserver_send(sd)
| ^~~~~~~~~~~~~~~
domain_resolver.c: In function ‘nameserver_reply’:
domain_resolver.c:589:1: warning: old-style function definition [-Wold-style-definition]
589 | nameserver_reply(sd, data, len)
| ^~~~~~~~~~~~~~~~
domain_resolver.c: In function ‘parse_packet’:
domain_resolver.c:657:1: warning: old-style function definition [-Wold-style-definition]
657 | parse_packet(data, len)
| ^~~~~~~~~~~~
/usr/bin/i686-pld-linux-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -I. -DHAVE_CONFIG_H -c addrtoname.c
addrtoname.c: In function ‘satoa’:
addrtoname.c:146:1: warning: old-style function definition [-Wold-style-definition]
146 | satoa(sa, dst, size)
| ^~~~~
addrtoname.c: In function ‘name_resolved’:
addrtoname.c:216:1: warning: old-style function definition [-Wold-style-definition]
216 | name_resolved(unused, dd)
| ^~~~~~~~~~~~~
error: Bad exit status from /tmp/B.l9dep3bu/BUILD/tmp/rpm-tmp.G7Ee2c (%build)
RPM build warnings:
Could not canonicalize hostname: nereid
RPM build errors:
Bad exit status from /tmp/B.l9dep3bu/BUILD/tmp/rpm-tmp.G7Ee2c (%build)
ended at: Tue Mar 3 00:07:48 2026, done in 0:00:06.093964
error: No files produced.
+ chmod -R u+rwX /tmp/B.l9dep3bu/BUILD
+ rm -rf /tmp/B.l9dep3bu/tmp /tmp/B.l9dep3bu/BUILD
+ rm -rf /tmp/B.l9dep3bu
Begin-PLD-Builder-Info
Build-Time: user:9.21s sys:3.08s real:8.12s (faults io:0 non-io:541485)
End-PLD-Builder-Info
|
|