net/zebra
Free RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector)
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.95a_3 | 620 | 4.0 | amd64 | gpl2 lgpl2.1 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4064b | info | 2025-11-03 20:43:32.743931 | Test Started |
| m4064b | fail | 2025-11-03 20:45:25.607168 | make build returned non-zero: 1 |
| m4064b | fail | 2025-11-03 20:45:25.690743 | Test complete. |
Log
[1m===> Building for zebra-0.95a_3[0m
--- all ---
/usr/bin/make all-recursive
--- all-recursive ---
Making all in lib
--- network.o ---
--- pid_output.o ---
--- getopt.o ---
--- getopt1.o ---
--- daemon.o ---
--- print_version.o ---
--- checksum.o ---
--- vector.o ---
--- linklist.o ---
--- vty.o ---
--- command.o ---
--- sockunion.o ---
--- prefix.o ---
--- thread.o ---
--- if.o ---
--- memory.o ---
--- buffer.o ---
--- table.o ---
--- hash.o ---
--- filter.o ---
--- routemap.o ---
--- distribute.o ---
--- stream.o ---
--- str.o ---
--- network.o ---
source='network.c' object='network.o' libtool=no depfile='.deps/network.Po' tmpdepfile='.deps/network.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'network.c' || echo './'`network.c
--- pid_output.o ---
source='pid_output.c' object='pid_output.o' libtool=no depfile='.deps/pid_output.Po' tmpdepfile='.deps/pid_output.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'pid_output.c' || echo './'`pid_output.c
--- getopt.o ---
source='getopt.c' object='getopt.o' libtool=no depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'getopt.c' || echo './'`getopt.c
--- getopt1.o ---
source='getopt1.c' object='getopt1.o' libtool=no depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'getopt1.c' || echo './'`getopt1.c
--- daemon.o ---
source='daemon.c' object='daemon.o' libtool=no depfile='.deps/daemon.Po' tmpdepfile='.deps/daemon.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'daemon.c' || echo './'`daemon.c
--- print_version.o ---
source='print_version.c' object='print_version.o' libtool=no depfile='.deps/print_version.Po' tmpdepfile='.deps/print_version.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'print_version.c' || echo './'`print_version.c
--- checksum.o ---
source='checksum.c' object='checksum.o' libtool=no depfile='.deps/checksum.Po' tmpdepfile='.deps/checksum.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'checksum.c' || echo './'`checksum.c
--- vector.o ---
source='vector.c' object='vector.o' libtool=no depfile='.deps/vector.Po' tmpdepfile='.deps/vector.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vector.c' || echo './'`vector.c
--- linklist.o ---
source='linklist.c' object='linklist.o' libtool=no depfile='.deps/linklist.Po' tmpdepfile='.deps/linklist.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'linklist.c' || echo './'`linklist.c
--- vty.o ---
source='vty.c' object='vty.o' libtool=no depfile='.deps/vty.Po' tmpdepfile='.deps/vty.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vty.c' || echo './'`vty.c
--- command.o ---
source='command.c' object='command.o' libtool=no depfile='.deps/command.Po' tmpdepfile='.deps/command.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'command.c' || echo './'`command.c
--- sockunion.o ---
source='sockunion.c' object='sockunion.o' libtool=no depfile='.deps/sockunion.Po' tmpdepfile='.deps/sockunion.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'sockunion.c' || echo './'`sockunion.c
--- prefix.o ---
source='prefix.c' object='prefix.o' libtool=no depfile='.deps/prefix.Po' tmpdepfile='.deps/prefix.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'prefix.c' || echo './'`prefix.c
--- thread.o ---
source='thread.c' object='thread.o' libtool=no depfile='.deps/thread.Po' tmpdepfile='.deps/thread.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'thread.c' || echo './'`thread.c
--- if.o ---
source='if.c' object='if.o' libtool=no depfile='.deps/if.Po' tmpdepfile='.deps/if.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'if.c' || echo './'`if.c
--- memory.o ---
source='memory.c' object='memory.o' libtool=no depfile='.deps/memory.Po' tmpdepfile='.deps/memory.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'memory.c' || echo './'`memory.c
--- hash.o ---
source='hash.c' object='hash.o' libtool=no depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'hash.c' || echo './'`hash.c
--- buffer.o ---
source='buffer.c' object='buffer.o' libtool=no depfile='.deps/buffer.Po' tmpdepfile='.deps/buffer.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'buffer.c' || echo './'`buffer.c
--- table.o ---
source='table.c' object='table.o' libtool=no depfile='.deps/table.Po' tmpdepfile='.deps/table.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'table.c' || echo './'`table.c
--- routemap.o ---
source='routemap.c' object='routemap.o' libtool=no depfile='.deps/routemap.Po' tmpdepfile='.deps/routemap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'routemap.c' || echo './'`routemap.c
--- filter.o ---
source='filter.c' object='filter.o' libtool=no depfile='.deps/filter.Po' tmpdepfile='.deps/filter.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'filter.c' || echo './'`filter.c
--- stream.o ---
source='stream.c' object='stream.o' libtool=no depfile='.deps/stream.Po' tmpdepfile='.deps/stream.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'stream.c' || echo './'`stream.c
--- distribute.o ---
source='distribute.c' object='distribute.o' libtool=no depfile='.deps/distribute.Po' tmpdepfile='.deps/distribute.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'distribute.c' || echo './'`distribute.c
--- str.o ---
source='str.c' object='str.o' libtool=no depfile='.deps/str.Po' tmpdepfile='.deps/str.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'str.c' || echo './'`str.c
--- getopt1.o ---
getopt1.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
69 | getopt_long (argc, argv, options, long_options, opt_index)
| ^
--- getopt.o ---
getopt.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- getopt1.o ---
getopt1.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
85 | getopt_long_only (argc, argv, options, long_options, opt_index)
| ^
--- getopt.o ---
218 | my_index (str, chr)
| ^
getopt.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
308 | exchange (argv)
| ^
getopt.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
393 | _getopt_initialize (argc, argv, optstring)
| ^
--- checksum.o ---
checksum.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
12 | in_cksum(ptr, nbytes)
| ^
--- getopt.o ---
getopt.c:406:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
406 | posixly_correct = getenv ("POSIXLY_CORRECT");
| ^
getopt.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
515 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
| ^
getopt.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
971 | getopt (argc, argv, optstring)
| ^
In file included from getopt.c:107:
./getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
108 | extern int getopt ();
--- getopt1.o ---
2 warnings generated.
--- vty.o ---
vty.c:220:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
220 | vty_out (vty, host.motd);
| ^~~~~~~~~
vty.c:220:19: note: treat the string as an argument to avoid this
220 | vty_out (vty, host.motd);
| ^
| "%s",
--- sockunion.o ---
sockunion.c:305:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
305 | snprintf (buf, BUFSIZ, "%s", inet_ntoa (su->sin.sin_addr));
| ^
sockunion.c:309:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
309 | snprintf (buf, BUFSIZ, "%s",
| ^
sockunion.c:314:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
314 | snprintf (buf, BUFSIZ, "af_unknown %d ", su->sa.sa_family);
| ^
--- getopt.o ---
| ^
--- hash.o ---
hash.c:73:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
73 | key = (*hash->hash_key) (data);
| ^
hash.c:77:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
77 | if (backet->key == key && (*hash->hash_cmp) (backet->data, data))
| ^
--- log.o ---
--- hash.o ---
hash.c:82:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
82 | newdata = (*alloc_func) (data);
| ^
--- plist.o ---
--- log.o ---
source='log.c' object='log.o' libtool=no depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'log.c' || echo './'`log.c
--- buffer.o ---
buffer.c:202:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
202 | buffer_write (b, (char *)&c, 2);
| ^~~~~~~~~~
buffer.c:152:41: note: passing argument to parameter 'ptr' here
152 | buffer_write (struct buffer *b, u_char *ptr, size_t size)
| ^
--- hash.o ---
hash.c:116:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- thread.o ---
thread.c:256:10: warning: address of stack memory associated with local variable 'buf' returned [-Wreturn-stack-address]
256 | return buf;
| ^~~
--- hash.o ---
116 | key = (*hash->hash_key) (data);
| ^
hash.c:121:51: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- plist.o ---
source='plist.c' object='plist.o' libtool=no depfile='.deps/plist.Po' tmpdepfile='.deps/plist.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'plist.c' || echo './'`plist.c
--- hash.o ---
121 | if (backet->key == key && (*hash->hash_cmp) (backet->data, data))
| ^
--- sockunion.o ---
sockunion.c:570:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
570 | ret = getsockname (fd, (struct sockaddr *)&name, &len);
| ^~~~
/usr/include/sys/socket.h:690:74: note: passing argument to parameter here
690 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
| ^
--- vty.o ---
vty.c:811:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
811 | vector_set (vline, '\0');
| ^~~~
--- zclient.o ---
--- vty.o ---
vty.c:813:34: warning: passing arguments to 'cmd_complete_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
813 | matched = cmd_complete_command (vline, vty, &ret);
| ^
--- stream.o ---
stream.c:325:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
325 | nbytes = readn (fd, s->data + s->putp, size);
| ^~~~~~~~~~~~~~~~~
./network.h:26:23: note: passing argument to parameter here
26 | int readn (int, char *, int);
| ^
--- sockopt.o ---
--- zclient.o ---
source='zclient.c' object='zclient.o' libtool=no depfile='.deps/zclient.Po' tmpdepfile='.deps/zclient.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zclient.c' || echo './'`zclient.c
--- sockopt.o ---
source='sockopt.c' object='sockopt.o' libtool=no depfile='.deps/sockopt.Po' tmpdepfile='.deps/sockopt.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'sockopt.c' || echo './'`sockopt.c
--- sockunion.o ---
sockunion.c:624:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
624 | ret = getpeername (fd, (struct sockaddr *)&name, &len);
| ^~~~
/usr/include/sys/socket.h:689:74: note: passing argument to parameter here
--- vty.o ---
vty.c:925:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
925 | vector_set (vline, '\0');
| ^~~~
vty.c:929:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
929 | vector_set (vline, '\0');
| ^~~~
vty.c:931:35: warning: passing arguments to 'cmd_describe_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
931 | describe = cmd_describe_command (vline, vty, &ret);
| ^
--- sockunion.o ---
689 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
| ^
--- checksum.o ---
1 warning generated.
--- smux.o ---
--- vty.o ---
vty.c:1681:28: warning: passing arguments to 'sockunion2hostprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- if.o ---
if.c:513:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
513 | zlog (NULL, LOG_INFO, logbuf);
| ^~~~~~
--- vty.o ---
1681 | p = sockunion2hostprefix (&su);
| ^
--- smux.o ---
source='smux.c' object='smux.o' libtool=no depfile='.deps/smux.Po' tmpdepfile='.deps/smux.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'smux.c' || echo './'`smux.c
--- if.o ---
if.c:513:25: note: treat the string as an argument to avoid this
--- filter.o ---
filter.c:461:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
461 | (*access->master->add_hook) (access);
| ^
--- if.o ---
513 | zlog (NULL, LOG_INFO, logbuf);
| ^
--- filter.o ---
filter.c:501:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- if.o ---
| "%s",
--- filter.o ---
501 | (*master->delete_hook) (access);
| ^
--- command.o ---
In file included from command.c:23:
./command.h:288:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
--- vty.o ---
vty.c:1924:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
1924 | sock = accept (accept_sock, (struct sockaddr *) &client, &client_len);
| ^~~~~~~~~~~
/usr/include/sys/socket.h:681:69: note: passing argument to parameter here
--- command.o ---
288 | vector cmd_describe_command ();
--- vty.o ---
681 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
| ^
--- command.o ---
| ^
command.c:1490:1: note: conflicting prototype is here
--- md5.o ---
--- command.o ---
1490 | cmd_describe_command (vector vline, struct vty *vty, int *status)
| ^
--- md5.o ---
source='md5.c' object='md5.o' libtool=no depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'md5.c' || echo './'`md5.c
--- command.o ---
In file included from command.c:23:
./command.h:289:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
289 | char **cmd_complete_command ();
| ^
command.c:1652:1: note: conflicting prototype is here
1652 | cmd_complete_command (vector vline, struct vty *vty, int *status)
| ^
command.c:1735:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
1735 | if (vector_slot (vline, index) == '\0')
| ^~~~
| (void *)0
--- hash.o ---
5 warnings generated.
--- keychain.o ---
--- pqueue.o ---
--- keychain.o ---
source='keychain.c' object='keychain.o' libtool=no depfile='.deps/keychain.Po' tmpdepfile='.deps/keychain.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'keychain.c' || echo './'`keychain.c
--- pqueue.o ---
source='pqueue.c' object='pqueue.o' libtool=no depfile='.deps/pqueue.Po' tmpdepfile='.deps/pqueue.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'pqueue.c' || echo './'`pqueue.c
--- version.c ---
echo '' >version.c
echo 'char *host_name = "";' >>version.c
--- version.o ---
source='version.c' object='version.o' libtool=no depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'version.c' || echo './'`version.c
--- filter.o ---
filter.c:1344:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1344 | (*master->delete_hook) (access);
| ^
filter.c:1529:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1529 | (*master->delete_hook) (access);
| ^
--- prefix.o ---
In file included from prefix.c:25:
./prefix.h:128:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
128 | void prefix_ipv4_free ();
| ^
prefix.c:194:1: note: conflicting prototype is here
194 | prefix_ipv4_free (struct prefix_ipv4 *p)
| ^
In file included from prefix.c:25:
./prefix.h:143:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
143 | void prefix_ipv6_free ();
| ^
prefix.c:343:1: note: conflicting prototype is here
343 | prefix_ipv6_free (struct prefix_ipv6 *p)
| ^
--- stream.o ---
1 warning generated.
--- prefix.o ---
In file included from prefix.c:25:
./prefix.h:138:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
138 | struct prefix *sockunion2prefix ();
| ^
prefix.c:493:1: note: conflicting prototype is here
493 | sockunion2prefix (union sockunion *dest,
| ^
In file included from prefix.c:25:
./prefix.h:139:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
139 | struct prefix *sockunion2hostprefix ();
| ^
prefix.c:523:1: note: conflicting prototype is here
523 | sockunion2hostprefix (union sockunion *su)
| ^
--- md5.o ---
md5.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
72 | md5_init_ctx (ctx)
| ^
md5.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
90 | md5_read_ctx (ctx, resbuf)
| ^
md5.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
108 | md5_finish_ctx (ctx, resbuf)
| ^
--- sockunion.o ---
5 warnings generated.
--- md5.o ---
md5.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
139 | md5_stream (stream, resblock)
| ^
md5.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
196 | md5_buffer (buffer, len, resblock)
| ^
md5.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
215 | md5_process_bytes (buffer, len, ctx)
| ^
md5.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
273 | md5_process_block (buffer, len, ctx)
| ^
--- buffer.o ---
1 warning generated.
--- getopt.o ---
7 warnings generated.
--- zclient.o ---
zclient.c:213:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
213 | return writen (zclient->sock, s->data, 3);
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- plist.o ---
plist.c:454:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
454 | (*plist->master->delete_hook) (plist);
| ^
plist.c:513:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
513 | (*plist->master->add_hook) (plist);
| ^
--- log.o ---
In file included from log.c:24:
./log.h:118:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
118 | int zlog_rotate ();
| ^
log.c:411:1: note: conflicting prototype is here
411 | zlog_rotate (struct zlog *zl)
| ^
--- zclient.o ---
zclient.c:348:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
348 | return writen (zclient->sock, s->data, stream_get_endp (s));
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
zclient.c:408:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
408 | return writen (zclient->sock, s->data, stream_get_endp (s));
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- if.o ---
1 warning generated.
--- zclient.o ---
zclient.c:463:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
463 | return writen (zclient->sock, s->data, stream_get_endp (s));
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
zclient.c:517:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
517 | return writen (zclient->sock, s->data, stream_get_endp (s));
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
zclient.c:536:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
536 | ret = writen (sock, s->data, 4);
| ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
zclient.c:554:28: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
554 | ifp = if_lookup_by_name (ifname_tmp);
| ^~~~~~~~~~
./if.h:185:44: note: passing argument to parameter here
185 | struct interface *if_lookup_by_name (char *);
| ^
zclient.c:560:27: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
560 | strncpy (ifp->name, ifname_tmp, IFNAMSIZ);
| ^~~~~~~~~~
/usr/include/string.h:106:57: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
zclient.c:593:28: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
593 | ifp = if_lookup_by_name (ifname_tmp);
| ^~~~~~~~~~
./if.h:185:44: note: passing argument to parameter here
185 | struct interface *if_lookup_by_name (char *);
| ^
--- thread.o ---
1 warning generated.
--- keychain.o ---
keychain.c:286:13: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
286 | if (index == ULONG_MAX || *endptr != '\0')
| ~~~~~ ^ ~~~~~~~~~
keychain.c:313:13: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
313 | if (index == ULONG_MAX || *endptr != '\0')
| ~~~~~ ^ ~~~~~~~~~
keychain.c:521:16: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
521 | if (duration == ULONG_MAX || *endptr != '\0')
| ~~~~~~~~ ^ ~~~~~~~~~
--- md5.o ---
7 warnings generated.
--- prefix.o ---
4 warnings generated.
--- log.o ---
1 warning generated.
--- zclient.o ---
9 warnings generated.
--- keychain.o ---
3 warnings generated.
--- filter.o ---
4 warnings generated.
--- vty.o ---
8 warnings generated.
--- command.o ---
3 warnings generated.
--- plist.o ---
2 warnings generated.
--- libzebra.a ---
rm -f libzebra.a
ar cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o keychain.o pqueue.o
ranlib libzebra.a
Making all in zebra
--- zserv.o ---
--- main.o ---
--- interface.o ---
--- connected.o ---
--- ioctl.o ---
--- zebra_rib.o ---
--- redistribute.o ---
--- debug.o ---
--- rtadv.o ---
--- zebra_snmp.o ---
--- zebra_vty.o ---
--- irdp_main.o ---
--- irdp_interface.o ---
--- irdp_packet.o ---
--- ipforward_sysctl.o ---
--- if_sysctl.o ---
--- rt_socket.o ---
--- rtread_sysctl.o ---
--- kernel_socket.o ---
--- zserv.o ---
source='zserv.c' object='zserv.o' libtool=no depfile='.deps/zserv.Po' tmpdepfile='.deps/zserv.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zserv.c' || echo './'`zserv.c
--- main.o ---
source='main.c' object='main.o' libtool=no depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'main.c' || echo './'`main.c
--- interface.o ---
source='interface.c' object='interface.o' libtool=no depfile='.deps/interface.Po' tmpdepfile='.deps/interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'interface.c' || echo './'`interface.c
--- connected.o ---
source='connected.c' object='connected.o' libtool=no depfile='.deps/connected.Po' tmpdepfile='.deps/connected.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'connected.c' || echo './'`connected.c
--- ioctl.o ---
source='ioctl.c' object='ioctl.o' libtool=no depfile='.deps/ioctl.Po' tmpdepfile='.deps/ioctl.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ioctl.c' || echo './'`ioctl.c
--- zebra_rib.o ---
source='zebra_rib.c' object='zebra_rib.o' libtool=no depfile='.deps/zebra_rib.Po' tmpdepfile='.deps/zebra_rib.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zebra_rib.c' || echo './'`zebra_rib.c
--- redistribute.o ---
source='redistribute.c' object='redistribute.o' libtool=no depfile='.deps/redistribute.Po' tmpdepfile='.deps/redistribute.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'redistribute.c' || echo './'`redistribute.c
--- debug.o ---
source='debug.c' object='debug.o' libtool=no depfile='.deps/debug.Po' tmpdepfile='.deps/debug.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'debug.c' || echo './'`debug.c
--- rtadv.o ---
source='rtadv.c' object='rtadv.o' libtool=no depfile='.deps/rtadv.Po' tmpdepfile='.deps/rtadv.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rtadv.c' || echo './'`rtadv.c
--- zebra_snmp.o ---
source='zebra_snmp.c' object='zebra_snmp.o' libtool=no depfile='.deps/zebra_snmp.Po' tmpdepfile='.deps/zebra_snmp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zebra_snmp.c' || echo './'`zebra_snmp.c
--- zebra_vty.o ---
source='zebra_vty.c' object='zebra_vty.o' libtool=no depfile='.deps/zebra_vty.Po' tmpdepfile='.deps/zebra_vty.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zebra_vty.c' || echo './'`zebra_vty.c
--- irdp_main.o ---
source='irdp_main.c' object='irdp_main.o' libtool=no depfile='.deps/irdp_main.Po' tmpdepfile='.deps/irdp_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'irdp_main.c' || echo './'`irdp_main.c
--- irdp_interface.o ---
source='irdp_interface.c' object='irdp_interface.o' libtool=no depfile='.deps/irdp_interface.Po' tmpdepfile='.deps/irdp_interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'irdp_interface.c' || echo './'`irdp_interface.c
--- irdp_packet.o ---
source='irdp_packet.c' object='irdp_packet.o' libtool=no depfile='.deps/irdp_packet.Po' tmpdepfile='.deps/irdp_packet.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'irdp_packet.c' || echo './'`irdp_packet.c
--- ipforward_sysctl.o ---
source='ipforward_sysctl.c' object='ipforward_sysctl.o' libtool=no depfile='.deps/ipforward_sysctl.Po' tmpdepfile='.deps/ipforward_sysctl.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ipforward_sysctl.c' || echo './'`ipforward_sysctl.c
--- if_sysctl.o ---
source='if_sysctl.c' object='if_sysctl.o' libtool=no depfile='.deps/if_sysctl.Po' tmpdepfile='.deps/if_sysctl.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'if_sysctl.c' || echo './'`if_sysctl.c
--- rt_socket.o ---
source='rt_socket.c' object='rt_socket.o' libtool=no depfile='.deps/rt_socket.Po' tmpdepfile='.deps/rt_socket.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rt_socket.c' || echo './'`rt_socket.c
--- rtread_sysctl.o ---
source='rtread_sysctl.c' object='rtread_sysctl.o' libtool=no depfile='.deps/rtread_sysctl.Po' tmpdepfile='.deps/rtread_sysctl.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rtread_sysctl.c' || echo './'`rtread_sysctl.c
--- kernel_socket.o ---
source='kernel_socket.c' object='kernel_socket.o' libtool=no depfile='.deps/kernel_socket.Po' tmpdepfile='.deps/kernel_socket.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'kernel_socket.c' || echo './'`kernel_socket.c
--- connected.o ---
connected.c:43:55: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
43 | for (node = listhead (ifp->connected); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- ipforward_sysctl.o ---
ipforward_sysctl.c:48:44: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
48 | if (sysctl (mib, MIB_SIZ, &ipforwarding, &len, 0, 0) < 0)
| ^~~~
/usr/include/sys/sysctl.h:1188:48: note: passing argument to parameter here
1188 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
| ^
ipforward_sysctl.c:109:50: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
109 | if (sysctl (mib_ipv6, MIB_SIZ, &ip6forwarding, &len, 0, 0) < 0)
| ^~~~
/usr/include/sys/sysctl.h:1188:48: note: passing argument to parameter here
1188 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
| ^
--- connected.o ---
connected.c:225:55: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
225 | for (node = listhead (ifp->connected); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- rtadv.o ---
rtadv.c:194:65: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
194 | for (node = listhead (zif->rtadv.AdvPrefixList); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- main.o ---
In file included from main.c:26:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
--- rtadv.o ---
rtadv.c:476:47: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
476 | for (node = listhead (rplist); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- kernel_socket.o ---
kernel_socket.c:608:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
608 | #endif */ RTF_CLONING */
| ^
| //
--- ipforward_sysctl.o ---
2 warnings generated.
--- zserv.o ---
zserv.c:999:53: warning: multiple unsequenced modifications to 'ifnode' [-Wunsequenced]
999 | for (ifnode = listhead (iflist); ifnode; ifnode = nextnode (ifnode))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- rtadv.o ---
rtadv.c:982:6: warning: passing 'u_char[46]' (aka 'unsigned char[46]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
982 | buf, INET6_ADDRSTRLEN),
| ^~~
/usr/include/arpa/inet.h:148:70: note: passing argument to parameter here
148 | const char *inet_ntop(int, const void * __restrict, char * __restrict,
| ^
rtadv.c:977:64: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
977 | for (node = listhead(zif->rtadv.AdvPrefixList); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- main.o ---
main.c:137:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
137 | zlog_rotate (NULL);
| ^
--- connected.o ---
2 warnings generated.
--- interface.o ---
interface.c:506:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
506 | for (i = 0, ptr = LLADDR (sdl); i < sdl->sdl_alen; i++, ptr++)
| ^ ~~~~~~~~~~~~
--- main.o ---
2 warnings generated.
--- kernel_socket.o ---
1 warning generated.
--- rtadv.o ---
4 warnings generated.
--- interface.o ---
1 warning generated.
--- zserv.o ---
1 warning generated.
--- zebra ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o zebra zserv.o main.o interface.o connected.o ioctl.o zebra_rib.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o irdp_main.o irdp_interface.o irdp_packet.o ../lib/libzebra.a ipforward_sysctl.o if_sysctl.o rt_socket.o rtread_sysctl.o kernel_socket.o -lm -lcrypt -lreadline -ltinfo
Making all in bgpd
--- bgpd.o ---
--- bgp_fsm.o ---
--- bgp_aspath.o ---
--- bgp_community.o ---
--- bgp_attr.o ---
--- bgp_debug.o ---
--- bgp_route.o ---
--- bgp_zebra.o ---
--- bgp_open.o ---
--- bgp_routemap.o ---
--- bgp_packet.o ---
--- bgp_network.o ---
--- bgp_filter.o ---
--- bgp_regex.o ---
--- bgp_clist.o ---
--- bgp_dump.o ---
--- bgp_snmp.o ---
--- bgp_ecommunity.o ---
--- bgp_mplsvpn.o ---
--- bgp_nexthop.o ---
--- bgp_damp.o ---
--- bgp_table.o ---
--- bgp_advertise.o ---
--- bgp_vty.o ---
--- bgpd.o ---
source='bgpd.c' object='bgpd.o' libtool=no depfile='.deps/bgpd.Po' tmpdepfile='.deps/bgpd.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgpd.c' || echo './'`bgpd.c
--- bgp_fsm.o ---
source='bgp_fsm.c' object='bgp_fsm.o' libtool=no depfile='.deps/bgp_fsm.Po' tmpdepfile='.deps/bgp_fsm.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_fsm.c' || echo './'`bgp_fsm.c
--- bgp_aspath.o ---
source='bgp_aspath.c' object='bgp_aspath.o' libtool=no depfile='.deps/bgp_aspath.Po' tmpdepfile='.deps/bgp_aspath.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_aspath.c' || echo './'`bgp_aspath.c
--- bgp_community.o ---
source='bgp_community.c' object='bgp_community.o' libtool=no depfile='.deps/bgp_community.Po' tmpdepfile='.deps/bgp_community.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_community.c' || echo './'`bgp_community.c
--- bgp_attr.o ---
source='bgp_attr.c' object='bgp_attr.o' libtool=no depfile='.deps/bgp_attr.Po' tmpdepfile='.deps/bgp_attr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_attr.c' || echo './'`bgp_attr.c
--- bgp_debug.o ---
source='bgp_debug.c' object='bgp_debug.o' libtool=no depfile='.deps/bgp_debug.Po' tmpdepfile='.deps/bgp_debug.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_debug.c' || echo './'`bgp_debug.c
--- bgp_route.o ---
source='bgp_route.c' object='bgp_route.o' libtool=no depfile='.deps/bgp_route.Po' tmpdepfile='.deps/bgp_route.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_route.c' || echo './'`bgp_route.c
--- bgp_zebra.o ---
source='bgp_zebra.c' object='bgp_zebra.o' libtool=no depfile='.deps/bgp_zebra.Po' tmpdepfile='.deps/bgp_zebra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_zebra.c' || echo './'`bgp_zebra.c
--- bgp_open.o ---
source='bgp_open.c' object='bgp_open.o' libtool=no depfile='.deps/bgp_open.Po' tmpdepfile='.deps/bgp_open.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_open.c' || echo './'`bgp_open.c
--- bgp_routemap.o ---
source='bgp_routemap.c' object='bgp_routemap.o' libtool=no depfile='.deps/bgp_routemap.Po' tmpdepfile='.deps/bgp_routemap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_routemap.c' || echo './'`bgp_routemap.c
--- bgp_packet.o ---
source='bgp_packet.c' object='bgp_packet.o' libtool=no depfile='.deps/bgp_packet.Po' tmpdepfile='.deps/bgp_packet.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_packet.c' || echo './'`bgp_packet.c
--- bgp_network.o ---
source='bgp_network.c' object='bgp_network.o' libtool=no depfile='.deps/bgp_network.Po' tmpdepfile='.deps/bgp_network.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_network.c' || echo './'`bgp_network.c
--- bgp_filter.o ---
source='bgp_filter.c' object='bgp_filter.o' libtool=no depfile='.deps/bgp_filter.Po' tmpdepfile='.deps/bgp_filter.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_filter.c' || echo './'`bgp_filter.c
--- bgp_regex.o ---
source='bgp_regex.c' object='bgp_regex.o' libtool=no depfile='.deps/bgp_regex.Po' tmpdepfile='.deps/bgp_regex.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_regex.c' || echo './'`bgp_regex.c
--- bgp_clist.o ---
source='bgp_clist.c' object='bgp_clist.o' libtool=no depfile='.deps/bgp_clist.Po' tmpdepfile='.deps/bgp_clist.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_clist.c' || echo './'`bgp_clist.c
--- bgp_dump.o ---
source='bgp_dump.c' object='bgp_dump.o' libtool=no depfile='.deps/bgp_dump.Po' tmpdepfile='.deps/bgp_dump.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_dump.c' || echo './'`bgp_dump.c
--- bgp_snmp.o ---
source='bgp_snmp.c' object='bgp_snmp.o' libtool=no depfile='.deps/bgp_snmp.Po' tmpdepfile='.deps/bgp_snmp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_snmp.c' || echo './'`bgp_snmp.c
--- bgp_ecommunity.o ---
source='bgp_ecommunity.c' object='bgp_ecommunity.o' libtool=no depfile='.deps/bgp_ecommunity.Po' tmpdepfile='.deps/bgp_ecommunity.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_ecommunity.c' || echo './'`bgp_ecommunity.c
--- bgp_mplsvpn.o ---
source='bgp_mplsvpn.c' object='bgp_mplsvpn.o' libtool=no depfile='.deps/bgp_mplsvpn.Po' tmpdepfile='.deps/bgp_mplsvpn.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_mplsvpn.c' || echo './'`bgp_mplsvpn.c
--- bgp_nexthop.o ---
source='bgp_nexthop.c' object='bgp_nexthop.o' libtool=no depfile='.deps/bgp_nexthop.Po' tmpdepfile='.deps/bgp_nexthop.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_nexthop.c' || echo './'`bgp_nexthop.c
--- bgp_damp.o ---
source='bgp_damp.c' object='bgp_damp.o' libtool=no depfile='.deps/bgp_damp.Po' tmpdepfile='.deps/bgp_damp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_damp.c' || echo './'`bgp_damp.c
--- bgp_table.o ---
source='bgp_table.c' object='bgp_table.o' libtool=no depfile='.deps/bgp_table.Po' tmpdepfile='.deps/bgp_table.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_table.c' || echo './'`bgp_table.c
--- bgp_advertise.o ---
source='bgp_advertise.c' object='bgp_advertise.o' libtool=no depfile='.deps/bgp_advertise.Po' tmpdepfile='.deps/bgp_advertise.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_advertise.c' || echo './'`bgp_advertise.c
--- bgp_vty.o ---
source='bgp_vty.c' object='bgp_vty.o' libtool=no depfile='.deps/bgp_vty.Po' tmpdepfile='.deps/bgp_vty.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_vty.c' || echo './'`bgp_vty.c
--- bgp_aspath.o ---
bgp_aspath.c:148:14: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
148 | return str_buf;
| ^~~~~~~
bgp_aspath.c:236:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
236 | len = sprintf (str_buf + str_pnt, "%d", ntohs (assegment->asval[i]));
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
bgp_aspath.c:251:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
251 | return str_buf;
| ^~~~~~~
--- bgp_mplsvpn.o ---
bgp_mplsvpn.c:197:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
--- bgp_packet.o ---
bgp_packet.c:137:70: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
--- bgp_fsm.o ---
bgp_fsm.c:1122:52: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1122 | ret = (*(FSM [peer->status - 1][event - 1].func))(peer);
| ^
--- bgp_aspath.o ---
In file included from bgp_aspath.c:31:
../bgpd/bgp_aspath.h:55:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
55 | struct aspath *aspath_parse ();
| ^
bgp_aspath.c:338:1: note: conflicting prototype is here
338 | aspath_parse (caddr_t pnt, int length)
| ^
--- bgp_route.o ---
bgp_route.c:936:37: warning: passing 'char[7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
936 | BGP_NOTIFY_CEASE_MAX_PREFIX, ndata, 7);
| ^~~~~
../bgpd/bgp_packet.h:44:72: note: passing argument to parameter here
44 | void bgp_notify_send_with_data (struct peer *, u_char, u_char, u_char *, size_t);
| ^
--- bgp_zebra.o ---
bgp_zebra.c:92:47: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
92 | for (node = listhead (iflist); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- bgp_routemap.o ---
bgp_routemap.c:427:31: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
427 | if (*endptr != '\0' || *med == ULONG_MAX)
| ~~~~ ^ ~~~~~~~~~
bgp_routemap.c:877:38: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
877 | if (*endptr != '\0' || *local_pref == ULONG_MAX)
| ~~~~~~~~~~~ ^ ~~~~~~~~~
bgp_routemap.c:937:34: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
937 | if (*endptr != '\0' || *weight == ULONG_MAX)
| ~~~~~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
137 | ret = getsockopt(peer->fd, SOL_SOCKET, SO_ERROR, (void *) &status, &slen);
| ^~~~~
/usr/include/sys/socket.h:691:72: note: passing argument to parameter here
691 | int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
| ^
bgp_packet.c:210:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
210 | binfo->peer, prd, tag);
| ^~~
../bgpd/bgp_attr.h:113:173: note: passing argument to parameter here
--- bgp_filter.o ---
bgp_filter.c:474:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
474 | buffer_putstr (b, argv[i]);
| ^~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
bgp_filter.c:556:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
556 | buffer_putstr (b, argv[i]);
| ^~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
--- bgp_mplsvpn.o ---
197 | p = strchr (str, ':');
| ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
bgp_mplsvpn.c:197:5: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
197 | p = strchr (str, ':');
| ^ ~~~~~~~~~~~~~~~~~
bgp_mplsvpn.c:201:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
201 | if (! all_digit (p + 1))
| ^~~~~
../lib/prefix.h:158:22: note: passing argument to parameter here
158 | int all_digit (char *);
| ^
--- bgp_nexthop.o ---
bgp_nexthop.c:917:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
917 | ret = writen (zlookup->sock, s->data, 7);
| ^~~~~~~
../lib/network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
bgp_nexthop.c:1017:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1017 | ret = writen (zlookup->sock, s->data, 19);
| ^~~~~~~
../lib/network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- bgp_vty.o ---
bgp_vty.c:310:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
310 | VTY_GET_INTEGER_RANGE ("AS", as, argv[0], 1, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:363:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
363 | VTY_GET_INTEGER_RANGE ("AS", as, argv[0], 1, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_routemap.o ---
bgp_routemap.c:993:49: warning: result of comparison of constant 9223372036854775807 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
993 | if (bgp_info->attr->med/2 + metric_val/2 > ULONG_MAX/2)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
bgp_routemap.c:994:34: warning: implicit conversion from 'unsigned long' to 'u_int32_t' (aka 'unsigned int') changes value from 18446744073709551614 to 4294967294 [-Wconstant-conversion]
994 | bgp_info->attr->med = ULONG_MAX-1;
| ~ ~~~~~~~~~^~
bgp_routemap.c:1021:37: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
1021 | if (*endptr != '\0' || metric == ULONG_MAX)
| ~~~~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
113 | bgp_size_t bgp_packet_attribute (struct bgp *bgp, struct peer *, struct stream *, struct attr *, struct prefix *, afi_t, safi_t, struct peer *, struct prefix_rd *, u_char *);
| ^
bgp_packet.c:725:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
725 | ret = writen (peer->fd, STREAM_DATA (s), stream_get_endp (s));
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
../lib/network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- bgp_mplsvpn.o ---
bgp_mplsvpn.c:208:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
208 | p2 = strchr (str, '.');
| ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
80 | char *strchr(const char *, int) __pure;
| ^
bgp_mplsvpn.c:208:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
208 | p2 = strchr (str, '.');
| ^ ~~~~~~~~~~~~~~~~~
bgp_mplsvpn.c:212:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
212 | if (! all_digit (half))
--- bgp_nexthop.o ---
bgp_nexthop.c:1068:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1068 | ret = writen (zlookup->sock, s->data, 8);
| ^~~~~~~
../lib/network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- bgp_vty.o ---
bgp_vty.c:543:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
543 | VTY_GET_INTEGER ("AS", as, argv[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:564:5: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
564 | VTY_GET_INTEGER ("AS", as, argv[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_routemap.o ---
bgp_routemap.c:1033:37: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
1033 | if (*endptr != '\0' || metric == ULONG_MAX)
| ~~~~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
bgp_packet.c:1217:7: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1217 | notify_data_remote_id, 4);
| ^~~~~~~~~~~~~~~~~~~~~
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
841 | u_char *data, size_t datalen)
| ^
bgp_packet.c:1227:7: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1227 | notify_data_remote_as, 2);
| ^~~~~~~~~~~~~~~~~~~~~
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
--- bgp_mplsvpn.o ---
| ^~~~
../lib/prefix.h:158:22: note: passing argument to parameter here
158 | int all_digit (char *);
| ^
bgp_mplsvpn.c:218:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
218 | stream_putw (s, atoi (half));
| ^~~~
/usr/include/stdlib.h:93:23: note: passing argument to parameter here
93 | int atoi(const char *);
| ^
bgp_mplsvpn.c:219:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
219 | stream_putl (s, atol (p + 1));
| ^~~~~
/usr/include/stdlib.h:94:24: note: passing argument to parameter here
--- bgp_vty.o ---
bgp_vty.c:596:7: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
596 | VTY_GET_INTEGER_RANGE ("AS", as, argv[i], 1, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:627:7: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
627 | VTY_GET_INTEGER_RANGE ("AS", as, argv[i], 1, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
841 | u_char *data, size_t datalen)
| ^
bgp_packet.c:1311:6: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1311 | notify_data_remote_id, 4);
| ^~~~~~~~~~~~~~~~~~~~~
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
841 | u_char *data, size_t datalen)
| ^
bgp_packet.c:1327:6: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1327 | "\x04", 1);
| ^~~~~~
--- bgp_mplsvpn.o ---
94 | long atol(const char *);
| ^
bgp_mplsvpn.c:223:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
223 | ret = inet_aton (half, &addr);
| ^~~~
/usr/include/arpa/inet.h:153:29: note: passing argument to parameter here
153 | int inet_aton(const char *, struct in_addr *);
| ^
bgp_mplsvpn.c:231:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
231 | stream_putw (s, atol (p + 1));
| ^~~~~
/usr/include/stdlib.h:94:24: note: passing argument to parameter here
94 | long atol(const char *);
--- bgp_vty.o ---
bgp_vty.c:818:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
818 | VTY_GET_INTEGER_RANGE ("stalepath-time", stalepath, argv[0], 1, 3600);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
841 | u_char *data, size_t datalen)
| ^
bgp_packet.c:1340:6: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1340 | notify_data_remote_as, 2);
| ^~~~~~~~~~~~~~~~~~~~~
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
841 | u_char *data, size_t datalen)
| ^
bgp_packet.c:2327:10: warning: passing 'char[2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2327 | notify_data_length, 2);
--- bgp_mplsvpn.o ---
| ^
bgp_mplsvpn.c:243:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
243 | l = atol (str);
| ^~~
/usr/include/stdlib.h:94:24: note: passing argument to parameter here
94 | long atol(const char *);
| ^
bgp_mplsvpn.c:525:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
525 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
bgp_mplsvpn.c:183:24: note: passing argument to parameter 'str' here
183 | str2prefix_rd (u_char *str, struct prefix_rd *prd)
| ^
--- bgp_packet.o ---
| ^~~~~~~~~~~~~~~~~~
bgp_packet.c:841:15: note: passing argument to parameter 'data' here
841 | u_char *data, size_t datalen)
| ^
--- bgp_mplsvpn.o ---
bgp_mplsvpn.c:561:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
561 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
bgp_mplsvpn.c:183:24: note: passing argument to parameter 'str' here
183 | str2prefix_rd (u_char *str, struct prefix_rd *prd)
| ^
bgp_mplsvpn.c:620:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
620 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
bgp_mplsvpn.c:183:24: note: passing argument to parameter 'str' here
183 | str2prefix_rd (u_char *str, struct prefix_rd *prd)
| ^
bgp_mplsvpn.c:707:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
707 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
bgp_mplsvpn.c:183:24: note: passing argument to parameter 'str' here
183 | str2prefix_rd (u_char *str, struct prefix_rd *prd)
| ^
--- bgp_vty.o ---
bgp_vty.c:1200:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
1200 | VTY_GET_INTEGER ("local preference", local_pref, argv[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_tcpsig.o ---
source='bgp_tcpsig.c' object='bgp_tcpsig.o' libtool=no depfile='.deps/bgp_tcpsig.Po' tmpdepfile='.deps/bgp_tcpsig.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_tcpsig.c' || echo './'`bgp_tcpsig.c
--- bgp_vty.o ---
bgp_vty.c:1243:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
--- bgp_route.o ---
bgp_route.c:2309:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2309 | ret = str2prefix_rd (rd_str, &prd);
| ^~~~~~
../bgpd/bgp_mplsvpn.h:43:28: note: passing argument to parameter here
43 | int str2prefix_rd (u_char *, struct prefix_rd *);
| ^
bgp_route.c:2316:18: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2316 | ret = str2tag (tag_str, tag);
| ^~~~~~~
../bgpd/bgp_mplsvpn.h:44:22: note: passing argument to parameter here
44 | int str2tag (u_char *, u_char *);
| ^
--- bgp_vty.o ---
1243 | VTY_GET_INTEGER_RANGE ("AS", as, as_str, 1, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_damp.o ---
bgp_damp.c:529:8: warning: address of 'bgp_damp_cfg' will always evaluate to 'true' [-Wpointer-bool-conversion]
--- bgp_route.o ---
bgp_route.c:2378:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2378 | ret = str2prefix_rd (rd_str, &prd);
| ^~~~~~
../bgpd/bgp_mplsvpn.h:43:28: note: passing argument to parameter here
43 | int str2prefix_rd (u_char *, struct prefix_rd *);
| ^
bgp_route.c:2385:18: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2385 | ret = str2tag (tag_str, tag);
| ^~~~~~~
../bgpd/bgp_mplsvpn.h:44:22: note: passing argument to parameter here
44 | int str2tag (u_char *, u_char *);
| ^
--- bgp_open.o ---
bgp_open.c:55:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
55 | pnt = peer->notify.data;
| ^ ~~~~~~~~~~~~~~~~~
--- bgp_routemap.o ---
bgp_routemap.c:2915:22: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2915 | buffer_putstr (b, "internet");
| ^~~~~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
bgp_routemap.c:2920:22: warning: passing 'char[9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2920 | buffer_putstr (b, "local-AS");
| ^~~~~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
--- bgp_damp.o ---
529 | if (&bgp_damp_cfg)
| ~~ ^~~~~~~~~~~~
--- bgp_main.o ---
--- bgp_routemap.o ---
bgp_routemap.c:2926:22: warning: passing 'char[13]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2926 | buffer_putstr (b, "no-advertise");
| ^~~~~~~~~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
bgp_routemap.c:2932:22: warning: passing 'char[10]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2932 | buffer_putstr (b, "no-export");
| ^~~~~~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
bgp_routemap.c:2935:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2935 | buffer_putstr (b, argv[i]);
| ^~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
bgp_routemap.c:3269:21: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
3269 | if (as == 0 || as == ULONG_MAX || *endptr != '\0')
| ~~ ^ ~~~~~~~~~
bgp_routemap.c:3312:21: warning: result of comparison of constant 18446744073709551615 with expression of type 'as_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
--- bgp_main.o ---
source='bgp_main.c' object='bgp_main.o' libtool=no depfile='.deps/bgp_main.Po' tmpdepfile='.deps/bgp_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bgp_main.c' || echo './'`bgp_main.c
--- bgp_routemap.o ---
3312 | if (as == 0 || as == ULONG_MAX || *endptr != '\0')
| ~~ ^ ~~~~~~~~~
--- bgp_ecommunity.o ---
bgp_ecommunity.c:134:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
134 | tmp.val = pnt;
| ^ ~~~
--- bgpd.o ---
bgpd.c:4225:56: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
4225 | zlog_warn ("peer_uptime (): buffer shortage %d", len);
| ~~ ^~~
| %zu
--- bgp_attr.o ---
bgp_attr.c:666:31: warning: passing arguments to 'aspath_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
666 | attr->aspath = aspath_parse (stream_pnt (peer->ibuf), length);
| ^
--- bgp_vty.o ---
bgp_vty.c:2757:7: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
2757 | VTY_GET_INTEGER("port", port, port_str);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_attr.o ---
bgp_attr.c:860:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
860 | attr->community = community_parse (stream_pnt (peer->ibuf), length);
| ^~~~~~~~~~~~~~~~~~~~~~~
../bgpd/bgp_community.h:54:42: note: passing argument to parameter here
54 | struct community *community_parse (char *, u_short);
| ^
--- bgp_vty.o ---
bgp_vty.c:2810:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
2810 | VTY_GET_INTEGER_RANGE("weight", weight, weight_str, 0, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_attr.o ---
bgp_attr.c:907:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
907 | attr->cluster = cluster_parse (stream_pnt (peer->ibuf), length);
| ^~~~~~~~~~~~~~~~~~~~~~~
--- bgp_ecommunity.o ---
bgp_ecommunity.c:612:14: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
612 | return str_buf;
| ^~~~~~~
--- bgp_attr.o ---
bgp_attr.c:87:24: note: passing argument to parameter 'pnt' here
87 | cluster_parse (caddr_t pnt, int length)
| ^
--- bgp_ecommunity.o ---
bgp_ecommunity.c:643:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
643 | len = sprintf (str_buf + str_pnt, "?");
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
bgp_ecommunity.c:682:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
682 | len = sprintf (str_buf + str_pnt, "Cost:%s:%d:%u",
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
bgp_ecommunity.c:690:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
690 | len = sprintf (str_buf + str_pnt, "?");
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
--- bgp_vty.o ---
bgp_vty.c:2919:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
2919 | VTY_GET_INTEGER_RANGE ("Keepalive", keepalive, keep_str, 0, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:2920:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
--- bgp_mplsvpn.o ---
15 warnings generated.
--- bgp_vty.o ---
2920 | VTY_GET_INTEGER_RANGE ("Holdtime", holdtime, hold_str, 0, 65535);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- bgp_ecommunity.o ---
bgp_ecommunity.c:707:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
707 | len = sprintf (str_buf + str_pnt, "%s%d:%d", prefix,
--- bgp_vty.o ---
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_ecommunity.o ---
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
bgp_ecommunity.c:719:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
719 | len = sprintf (str_buf + str_pnt, "%s%s:%d", prefix,
| ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
bgp_ecommunity.c:725:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
725 | return str_buf;
| ^~~~~~~
--- bgp_attr.o ---
bgp_attr.c:1060:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1060 | attr->ecommunity = ecommunity_parse (stream_pnt (peer->ibuf), length);
| ^~~~~~~~~~~~~~~~~~~~~~~
../bgpd/bgp_ecommunity.h:87:44: note: passing argument to parameter here
87 | struct ecommunity *ecommunity_parse (char *, u_short);
| ^
--- bgp_vty.o ---
bgp_vty.c:2978:5: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
2978 | VTY_GET_INTEGER_RANGE ("advertise interval", routeadv, time_str, 0, 600);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
--- bgp_attr.o ---
bgp_attr.c:1160:15: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
1159 | "%s error BGP attribute length %d is smaller than min len",
| ~~
| %ld
1160 | peer->host, endp - STREAM_PNT (BGP_INPUT (peer)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- bgp_vty.o ---
bgp_vty.c:3443:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
3443 | VTY_GET_INTEGER ("maxmum number", max, num_str);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_route.o ---
bgp_route.c:5247:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
5247 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
../bgpd/bgp_mplsvpn.h:43:28: note: passing argument to parameter here
43 | int str2prefix_rd (u_char *, struct prefix_rd *);
| ^
bgp_route.c:5311:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
5311 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
../bgpd/bgp_mplsvpn.h:43:28: note: passing argument to parameter here
43 | int str2prefix_rd (u_char *, struct prefix_rd *);
| ^
--- bgp_filter.o ---
2 warnings generated.
--- bgp_route.o ---
bgp_route.c:5511:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
5511 | buffer_putstr (b, argv[i]);
| ^~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
--- bgp_damp.o ---
1 warning generated.
--- bgp_route.o ---
bgp_route.c:6094:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
6094 | buffer_putstr (b, argv[i]);
| ^~~~~~~
../lib/buffer.h:70:45: note: passing argument to parameter here
70 | int buffer_putstr (struct buffer *, u_char *);
| ^
--- bgp_fsm.o ---
1 warning generated.
--- bgp_zebra.o ---
1 warning generated.
--- bgp_nexthop.o ---
3 warnings generated.
--- bgp_aspath.o ---
4 warnings generated.
--- bgp_open.o ---
1 warning generated.
--- bgp_vty.o ---
bgp_vty.c:6289:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
6289 | ret = str2prefix_rd (argv[0], &prd);
| ^~~~~~~
../bgpd/bgp_mplsvpn.h:43:28: note: passing argument to parameter here
43 | int str2prefix_rd (u_char *, struct prefix_rd *);
| ^
--- bgp_ecommunity.o ---
8 warnings generated.
--- bgp_main.o ---
In file included from bgp_main.c:26:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
bgp_main.c:137:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
137 | zlog_rotate (NULL);
| ^
--- bgp_vty.o ---
bgp_vty.c:7354:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7354 | VTY_GET_INTEGER ("metric", metric, argv[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:7383:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7383 | VTY_GET_INTEGER ("metric", metric, argv[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:7413:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7413 | VTY_GET_INTEGER ("metric", metric, argv[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:7608:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7608 | VTY_GET_INTEGER ("metric", metric, argv[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
bgp_vty.c:7637:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7637 | VTY_GET_INTEGER ("metric", metric, argv[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_main.o ---
2 warnings generated.
--- bgp_vty.o ---
bgp_vty.c:7667:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
7667 | VTY_GET_INTEGER ("metric", metric, argv[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:164:11: note: expanded from macro 'VTY_GET_INTEGER'
164 | if ((V) == ULONG_MAX || *endptr != '\0') \
| ~~~ ^ ~~~~~~~~~
--- bgp_packet.o ---
9 warnings generated.
--- bgp_attr.o ---
5 warnings generated.
--- bgp_routemap.o ---
14 warnings generated.
--- bgpd.o ---
1 warning generated.
--- bgp_route.o ---
9 warnings generated.
--- bgp_vty.o ---
22 warnings generated.
--- libbgp.a ---
--- bgpd ---
--- libbgp.a ---
rm -f libbgp.a
ar cru libbgp.a bgpd.o bgp_fsm.o bgp_aspath.o bgp_community.o bgp_attr.o bgp_debug.o bgp_route.o bgp_zebra.o bgp_open.o bgp_routemap.o bgp_packet.o bgp_network.o bgp_filter.o bgp_regex.o bgp_clist.o bgp_dump.o bgp_snmp.o bgp_ecommunity.o bgp_mplsvpn.o bgp_nexthop.o bgp_damp.o bgp_table.o bgp_advertise.o bgp_vty.o bgp_tcpsig.o
--- bgpd ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o bgpd bgp_main.o bgpd.o bgp_fsm.o bgp_aspath.o bgp_community.o bgp_attr.o bgp_debug.o bgp_route.o bgp_zebra.o bgp_open.o bgp_routemap.o bgp_packet.o bgp_network.o bgp_filter.o bgp_regex.o bgp_clist.o bgp_dump.o bgp_snmp.o bgp_ecommunity.o bgp_mplsvpn.o bgp_nexthop.o bgp_damp.o bgp_table.o bgp_advertise.o bgp_vty.o bgp_tcpsig.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- libbgp.a ---
ranlib libbgp.a
Making all in ripd
--- ripd.o ---
--- rip_zebra.o ---
--- rip_interface.o ---
--- rip_debug.o ---
--- rip_snmp.o ---
--- rip_routemap.o ---
--- rip_peer.o ---
--- rip_offset.o ---
--- rip_main.o ---
--- ripd.o ---
source='ripd.c' object='ripd.o' libtool=no depfile='.deps/ripd.Po' tmpdepfile='.deps/ripd.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripd.c' || echo './'`ripd.c
--- rip_zebra.o ---
source='rip_zebra.c' object='rip_zebra.o' libtool=no depfile='.deps/rip_zebra.Po' tmpdepfile='.deps/rip_zebra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_zebra.c' || echo './'`rip_zebra.c
--- rip_interface.o ---
source='rip_interface.c' object='rip_interface.o' libtool=no depfile='.deps/rip_interface.Po' tmpdepfile='.deps/rip_interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_interface.c' || echo './'`rip_interface.c
--- rip_debug.o ---
source='rip_debug.c' object='rip_debug.o' libtool=no depfile='.deps/rip_debug.Po' tmpdepfile='.deps/rip_debug.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_debug.c' || echo './'`rip_debug.c
--- rip_snmp.o ---
source='rip_snmp.c' object='rip_snmp.o' libtool=no depfile='.deps/rip_snmp.Po' tmpdepfile='.deps/rip_snmp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_snmp.c' || echo './'`rip_snmp.c
--- rip_routemap.o ---
source='rip_routemap.c' object='rip_routemap.o' libtool=no depfile='.deps/rip_routemap.Po' tmpdepfile='.deps/rip_routemap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_routemap.c' || echo './'`rip_routemap.c
--- rip_peer.o ---
source='rip_peer.c' object='rip_peer.o' libtool=no depfile='.deps/rip_peer.Po' tmpdepfile='.deps/rip_peer.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_peer.c' || echo './'`rip_peer.c
--- rip_offset.o ---
source='rip_offset.c' object='rip_offset.o' libtool=no depfile='.deps/rip_offset.Po' tmpdepfile='.deps/rip_offset.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_offset.c' || echo './'`rip_offset.c
--- rip_main.o ---
source='rip_main.c' object='rip_main.o' libtool=no depfile='.deps/rip_main.Po' tmpdepfile='.deps/rip_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'rip_main.c' || echo './'`rip_main.c
In file included from rip_main.c:25:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
rip_main.c:154:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
154 | zlog_rotate (NULL);
| ^
--- ripd.o ---
ripd.c:849:12: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
849 | strncpy (md5data->digest, auth_str, RIP_AUTH_MD5_SIZE);
| ^~~~~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ripd.c:957:12: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
957 | strncpy (secret, auth_str, RIP_AUTH_MD5_SIZE);
| ^~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ripd.c:1513:32: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
1513 | (struct sockaddr *) &from, &fromlen);
| ^~~~~~~~
/usr/include/sys/socket.h:694:96: note: passing argument to parameter here
694 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
| ^
--- rip_main.o ---
2 warnings generated.
--- ripd.o ---
ripd.c:1846:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1846 | strncpy ((s->data + s->putp), ri->auth_str, 16);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ripd.c:1868:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1868 | strncpy ((s->data + s->putp), key->string, 16);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ripd.c:2086:29: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2086 | ret = rip_send_packet (STREAM_DATA (s), stream_get_endp (s),
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
ripd.c:1176:26: note: passing argument to parameter 'buf' here
1176 | rip_send_packet (caddr_t buf, int size, struct sockaddr_in *to,
| ^
ripd.c:2103:30: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2103 | ret = rip_send_packet (STREAM_DATA (s), stream_get_endp (s), to, ifp);
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
ripd.c:1176:26: note: passing argument to parameter 'buf' here
1176 | rip_send_packet (caddr_t buf, int size, struct sockaddr_in *to,
| ^
ripd.c:2198:17: warning: address of array 'ifp->name' will always evaluate to 'true' [-Wpointer-bool-conversion]
2198 | if (ifp->name)
| ~~ ~~~~~^~~~
ripd.c:3165:47: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
3165 | for (node = listhead (iflist); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
9 warnings generated.
--- librip.a ---
--- ripd ---
--- librip.a ---
rm -f librip.a
ar cru librip.a ripd.o rip_zebra.o rip_interface.o rip_debug.o rip_snmp.o rip_routemap.o rip_peer.o rip_offset.o
--- ripd ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o ripd rip_main.o ripd.o rip_zebra.o rip_interface.o rip_debug.o rip_snmp.o rip_routemap.o rip_peer.o rip_offset.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- librip.a ---
ranlib librip.a
Making all in ripngd
--- ripng_interface.o ---
--- ripngd.o ---
--- ripng_zebra.o ---
--- ripng_route.o ---
--- ripng_debug.o ---
--- ripng_routemap.o ---
--- ripng_ifrmap.o ---
--- ripng_main.o ---
--- ripng_interface.o ---
source='ripng_interface.c' object='ripng_interface.o' libtool=no depfile='.deps/ripng_interface.Po' tmpdepfile='.deps/ripng_interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_interface.c' || echo './'`ripng_interface.c
--- ripngd.o ---
source='ripngd.c' object='ripngd.o' libtool=no depfile='.deps/ripngd.Po' tmpdepfile='.deps/ripngd.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripngd.c' || echo './'`ripngd.c
--- ripng_zebra.o ---
source='ripng_zebra.c' object='ripng_zebra.o' libtool=no depfile='.deps/ripng_zebra.Po' tmpdepfile='.deps/ripng_zebra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_zebra.c' || echo './'`ripng_zebra.c
--- ripng_route.o ---
source='ripng_route.c' object='ripng_route.o' libtool=no depfile='.deps/ripng_route.Po' tmpdepfile='.deps/ripng_route.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_route.c' || echo './'`ripng_route.c
--- ripng_debug.o ---
source='ripng_debug.c' object='ripng_debug.o' libtool=no depfile='.deps/ripng_debug.Po' tmpdepfile='.deps/ripng_debug.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_debug.c' || echo './'`ripng_debug.c
--- ripng_routemap.o ---
source='ripng_routemap.c' object='ripng_routemap.o' libtool=no depfile='.deps/ripng_routemap.Po' tmpdepfile='.deps/ripng_routemap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_routemap.c' || echo './'`ripng_routemap.c
--- ripng_ifrmap.o ---
source='ripng_ifrmap.c' object='ripng_ifrmap.o' libtool=no depfile='.deps/ripng_ifrmap.Po' tmpdepfile='.deps/ripng_ifrmap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_ifrmap.c' || echo './'`ripng_ifrmap.c
--- ripng_main.o ---
source='ripng_main.c' object='ripng_main.o' libtool=no depfile='.deps/ripng_main.Po' tmpdepfile='.deps/ripng_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ripng_main.c' || echo './'`ripng_main.c
In file included from ripng_main.c:26:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
ripng_main.c:115:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
115 | zlog_rotate (NULL);
| ^
2 warnings generated.
--- ripngd.o ---
ripngd.c:1259:20: warning: passing 'caddr_t' (aka 'char *') to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1259 | stream_write (s, (caddr_t) &p->prefix, sizeof (struct in6_addr));
| ^~~~~~~~~~~~~~~~~~~~
../lib/stream.h:98:44: note: passing argument to parameter here
98 | int stream_write (struct stream *, u_char *, size_t);
| ^
ripngd.c:1436:33: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1436 | ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
ripngd.c:167:28: note: passing argument to parameter 'buf' here
167 | ripng_send_packet (caddr_t buf, int bufsize, struct sockaddr_in6 *to,
| ^
ripngd.c:1509:33: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1509 | ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
ripngd.c:167:28: note: passing argument to parameter 'buf' here
167 | ripng_send_packet (caddr_t buf, int bufsize, struct sockaddr_in6 *to,
| ^
ripngd.c:1525:32: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
1525 | ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
| ^~~~~~~~~~~~~~~
../lib/stream.h:59:25: note: expanded from macro 'STREAM_DATA'
59 | #define STREAM_DATA(S) ((S)->data)
| ^~~~~~~~~~~
ripngd.c:167:28: note: passing argument to parameter 'buf' here
167 | ripng_send_packet (caddr_t buf, int bufsize, struct sockaddr_in6 *to,
| ^
4 warnings generated.
--- libripng.a ---
--- ripngd ---
--- libripng.a ---
rm -f libripng.a
ar cru libripng.a ripng_interface.o ripngd.o ripng_zebra.o ripng_route.o ripng_debug.o ripng_routemap.o ripng_ifrmap.o
--- ripngd ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o ripngd ripng_main.o ripng_interface.o ripngd.o ripng_zebra.o ripng_route.o ripng_debug.o ripng_routemap.o ripng_ifrmap.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- libripng.a ---
ranlib libripng.a
Making all in ospfd
--- ospfd.o ---
--- ospf_zebra.o ---
--- ospf_interface.o ---
--- ospf_ism.o ---
--- ospf_neighbor.o ---
--- ospf_nsm.o ---
--- ospf_dump.o ---
--- ospf_network.o ---
--- ospf_packet.o ---
--- ospf_lsa.o ---
--- ospf_spf.o ---
--- ospf_route.o ---
--- ospf_ase.o ---
--- ospf_abr.o ---
--- ospf_ia.o ---
--- ospf_flood.o ---
--- ospf_lsdb.o ---
--- ospf_asbr.o ---
--- ospf_routemap.o ---
--- ospf_snmp.o ---
--- ospf_opaque.o ---
--- ospf_te.o ---
--- ospf_vty.o ---
--- ospf_main.o ---
--- ospfd.o ---
source='ospfd.c' object='ospfd.o' libtool=no depfile='.deps/ospfd.Po' tmpdepfile='.deps/ospfd.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospfd.c' || echo './'`ospfd.c
--- ospf_zebra.o ---
source='ospf_zebra.c' object='ospf_zebra.o' libtool=no depfile='.deps/ospf_zebra.Po' tmpdepfile='.deps/ospf_zebra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_zebra.c' || echo './'`ospf_zebra.c
--- ospf_interface.o ---
source='ospf_interface.c' object='ospf_interface.o' libtool=no depfile='.deps/ospf_interface.Po' tmpdepfile='.deps/ospf_interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_interface.c' || echo './'`ospf_interface.c
--- ospf_ism.o ---
source='ospf_ism.c' object='ospf_ism.o' libtool=no depfile='.deps/ospf_ism.Po' tmpdepfile='.deps/ospf_ism.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_ism.c' || echo './'`ospf_ism.c
--- ospf_neighbor.o ---
source='ospf_neighbor.c' object='ospf_neighbor.o' libtool=no depfile='.deps/ospf_neighbor.Po' tmpdepfile='.deps/ospf_neighbor.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_neighbor.c' || echo './'`ospf_neighbor.c
--- ospf_nsm.o ---
source='ospf_nsm.c' object='ospf_nsm.o' libtool=no depfile='.deps/ospf_nsm.Po' tmpdepfile='.deps/ospf_nsm.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_nsm.c' || echo './'`ospf_nsm.c
--- ospf_dump.o ---
source='ospf_dump.c' object='ospf_dump.o' libtool=no depfile='.deps/ospf_dump.Po' tmpdepfile='.deps/ospf_dump.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_dump.c' || echo './'`ospf_dump.c
--- ospf_network.o ---
source='ospf_network.c' object='ospf_network.o' libtool=no depfile='.deps/ospf_network.Po' tmpdepfile='.deps/ospf_network.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_network.c' || echo './'`ospf_network.c
--- ospf_packet.o ---
source='ospf_packet.c' object='ospf_packet.o' libtool=no depfile='.deps/ospf_packet.Po' tmpdepfile='.deps/ospf_packet.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_packet.c' || echo './'`ospf_packet.c
--- ospf_lsa.o ---
source='ospf_lsa.c' object='ospf_lsa.o' libtool=no depfile='.deps/ospf_lsa.Po' tmpdepfile='.deps/ospf_lsa.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_lsa.c' || echo './'`ospf_lsa.c
--- ospf_spf.o ---
source='ospf_spf.c' object='ospf_spf.o' libtool=no depfile='.deps/ospf_spf.Po' tmpdepfile='.deps/ospf_spf.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_spf.c' || echo './'`ospf_spf.c
--- ospf_route.o ---
source='ospf_route.c' object='ospf_route.o' libtool=no depfile='.deps/ospf_route.Po' tmpdepfile='.deps/ospf_route.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_route.c' || echo './'`ospf_route.c
--- ospf_ase.o ---
source='ospf_ase.c' object='ospf_ase.o' libtool=no depfile='.deps/ospf_ase.Po' tmpdepfile='.deps/ospf_ase.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_ase.c' || echo './'`ospf_ase.c
--- ospf_abr.o ---
source='ospf_abr.c' object='ospf_abr.o' libtool=no depfile='.deps/ospf_abr.Po' tmpdepfile='.deps/ospf_abr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_abr.c' || echo './'`ospf_abr.c
--- ospf_ia.o ---
source='ospf_ia.c' object='ospf_ia.o' libtool=no depfile='.deps/ospf_ia.Po' tmpdepfile='.deps/ospf_ia.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_ia.c' || echo './'`ospf_ia.c
--- ospf_flood.o ---
source='ospf_flood.c' object='ospf_flood.o' libtool=no depfile='.deps/ospf_flood.Po' tmpdepfile='.deps/ospf_flood.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_flood.c' || echo './'`ospf_flood.c
--- ospf_lsdb.o ---
source='ospf_lsdb.c' object='ospf_lsdb.o' libtool=no depfile='.deps/ospf_lsdb.Po' tmpdepfile='.deps/ospf_lsdb.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_lsdb.c' || echo './'`ospf_lsdb.c
--- ospf_asbr.o ---
source='ospf_asbr.c' object='ospf_asbr.o' libtool=no depfile='.deps/ospf_asbr.Po' tmpdepfile='.deps/ospf_asbr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_asbr.c' || echo './'`ospf_asbr.c
--- ospf_routemap.o ---
source='ospf_routemap.c' object='ospf_routemap.o' libtool=no depfile='.deps/ospf_routemap.Po' tmpdepfile='.deps/ospf_routemap.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_routemap.c' || echo './'`ospf_routemap.c
--- ospf_snmp.o ---
source='ospf_snmp.c' object='ospf_snmp.o' libtool=no depfile='.deps/ospf_snmp.Po' tmpdepfile='.deps/ospf_snmp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_snmp.c' || echo './'`ospf_snmp.c
--- ospf_opaque.o ---
source='ospf_opaque.c' object='ospf_opaque.o' libtool=no depfile='.deps/ospf_opaque.Po' tmpdepfile='.deps/ospf_opaque.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_opaque.c' || echo './'`ospf_opaque.c
--- ospf_te.o ---
source='ospf_te.c' object='ospf_te.o' libtool=no depfile='.deps/ospf_te.Po' tmpdepfile='.deps/ospf_te.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_te.c' || echo './'`ospf_te.c
--- ospf_vty.o ---
source='ospf_vty.c' object='ospf_vty.o' libtool=no depfile='.deps/ospf_vty.Po' tmpdepfile='.deps/ospf_vty.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_vty.c' || echo './'`ospf_vty.c
--- ospf_main.o ---
source='ospf_main.c' object='ospf_main.o' libtool=no depfile='.deps/ospf_main.Po' tmpdepfile='.deps/ospf_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf_main.c' || echo './'`ospf_main.c
In file included from ospf_main.c:26:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
--- ospfd.o ---
In file included from ospfd.c:37:
../ospfd/ospfd.h:531:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
531 | void ospf_router_id_update ();
| ^
ospfd.c:100:1: note: conflicting prototype is here
100 | ospf_router_id_update (struct ospf *ospf)
| ^
--- ospf_lsa.o ---
ospf_lsa.c:189:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
189 | sp = (char *) &lsa->options;
| ^ ~~~~~~~~~~~~~~~~~~~~~~
--- ospf_zebra.o ---
ospf_zebra.c:144:28: warning: passing 'u_char[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
144 | ifp = if_lookup_by_name (ifname_tmp);
| ^~~~~~~~~~
../lib/if.h:185:44: note: passing argument to parameter here
185 | struct interface *if_lookup_by_name (char *);
| ^
--- ospf_lsa.o ---
In file included from ospf_lsa.c:40:
../ospfd/ospf_lsa.h:240:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
240 | struct ospf_lsa *ospf_lsa_dup ();
| ^
ospf_lsa.c:241:1: note: conflicting prototype is here
241 | ospf_lsa_dup (struct ospf_lsa *lsa)
| ^
--- ospf_zebra.o ---
ospf_zebra.c:390:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
390 | writen (zclient->sock, s->data, stream_get_endp (s));
| ^~~~~~~
../lib/network.h:27:24: note: passing argument to parameter here
27 | int writen (int, char *, int);
| ^
--- ospf_main.o ---
ospf_main.c:121:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
121 | zlog_rotate (NULL);
| ^
--- ospf_dump.o ---
ospf_dump.c:653:21: warning: passing 'u_char[8]' (aka 'unsigned char[8]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
653 | strncpy (buf, ospfh->u.auth_data, 8);
| ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:106:57: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
--- ospf_nsm.o ---
ospf_nsm.c:830:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
830 | next_state = (*(NSM [nbr->state][event].func))(nbr);
| ^
--- ospf_lsa.o ---
ospf_lsa.c:643:54: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
643 | for (node = listhead (area->oiflist); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- ospf_abr.o ---
ospf_abr.c:474:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
474 | mp = (char *) &metric;
| ^ ~~~~~~~~~~~~~~~~
--- ospf_zebra.o ---
ospf_zebra.c:858:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
858 | type = (int) THREAD_ARG (thread);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--- ospf_ase.o ---
ospf_ase.c:740:43: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
740 | for (node = listhead (lst); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- ospf_zebra.o ---
ospf_zebra.c:903:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
903 | (void *) type, OSPF_DISTRIBUTE_UPDATE_DELAY);
| ^~~~~~~~~~~~~
--- ospf_spf.o ---
ospf_spf.c:1021:52: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
1021 | for (node = listhead (ospf->areas); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- ospf_main.o ---
2 warnings generated.
--- ospf_packet.o ---
ospf_packet.c:350:16: warning: assigning to 'char *' from 'u_char[17]' (aka 'unsigned char[17]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
350 | auth_key = ck->auth_key;
| ^ ~~~~~~~~~~~~
--- ospf_lsa.o ---
ospf_lsa.c:2422:54: warning: multiple unsequenced modifications to 'node' [-Wunsequenced]
2422 | for (node = listhead (ospf->oiflist); node; node = nextnode (node))
| ~ ^
../lib/linklist.h:44:26: note: expanded from macro 'nextnode'
44 | #define nextnode(X) ((X) = (X)->next)
| ^
--- ospf_vty.o ---
ospf_vty.c:242:25: warning: passing arguments to 'ospf_router_id_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
242 | ospf_router_id_update (ospf);
| ^
--- ospf_packet.o ---
ospf_packet.c:1018:45: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member]
1018 | nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &iph->ip_src);
| ^~~~~~~~~~~
--- ospf_ism.o ---
ospf_ism.c:633:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
633 | next_state = (*(ISM [oi->state][event].func))(oi);
| ^
--- ospf_vty.o ---
ospf_vty.c:436:7: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
436 | VTY_GET_UINT32 ("range cost", cost, argv[2]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ospfd/ospf_vty.h:27:31: note: expanded from macro 'VTY_GET_UINT32'
27 | if (*endptr != '\0' || ((V) == ULONG_MAX && errno == ERANGE)) \
| ~~~ ^ ~~~~~~~~~
--- ospf_packet.o ---
ospf_packet.c:1246:45: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member]
1246 | nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &iph->ip_src);
| ^~~~~~~~~~~
ospf_packet.c:1480:45: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member]
1480 | nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &iph->ip_src);
| ^~~~~~~~~~~
--- ospf_lsa.o ---
ospf_lsa.c:3260:105: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
3260 | zlog_info ("LSA[Refresh]: ospf_lsa_refresh_walker(): HACK: fixing lsa_refresher_started: %d -> %d", ospf->lsa_refresher_started, ct);
| ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| %ld
ospf_lsa.c:3260:134: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
3260 | zlog_info ("LSA[Refresh]: ospf_lsa_refresh_walker(): HACK: fixing lsa_refresher_started: %d -> %d", ospf->lsa_refresher_started, ct);
| ~~ ^~
| %ld
--- ospf_vty.o ---
ospf_vty.c:729:16: warning: passing 'u_char[9]' (aka 'unsigned char[9]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
729 | strncpy (IF_DEF_PARAMS (ifp)->auth_simple, vl_config->auth_key,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ospfd/ospf_interface.h:30:26: note: expanded from macro 'IF_DEF_PARAMS'
30 | #define IF_DEF_PARAMS(I) (IF_OSPF_IF_INFO (I)->def_params)
| ^
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ospf_vty.c:744:16: warning: passing 'u_char[17]' (aka 'unsigned char[17]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
744 | strncpy (ck->auth_key, vl_config->md5_key, OSPF_AUTH_MD5_SIZE);
| ^~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
--- ospf_packet.o ---
ospf_packet.c:1805:45: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member]
1805 | nbr = ospf_nbr_lookup_by_addr (oi->nbrs, &iph->ip_src);
| ^~~~~~~~~~~
--- ospf_vty.o ---
ospf_vty.c:1635:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
1635 | VTY_GET_INTEGER_RANGE ("stub default cost", cost, argv[1], 0, 16777215);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
ospf_vty.c:1667:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
1667 | VTY_GET_INTEGER_RANGE ("stub default cost", cost, argv[1], 0, 16777215);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vty.h:175:11: note: expanded from macro 'VTY_GET_INTEGER_RANGE'
175 | if ((V) == ULONG_MAX || *endptr != '\0' \
| ~~~ ^ ~~~~~~~~~
ospf_vty.c:2074:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
2074 | VTY_GET_UINT32 ("SPF delay timer", delay, argv[0]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ospfd/ospf_vty.h:27:31: note: expanded from macro 'VTY_GET_UINT32'
27 | if (*endptr != '\0' || ((V) == ULONG_MAX && errno == ERANGE)) \
| ~~~ ^ ~~~~~~~~~
ospf_vty.c:2075:3: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
2075 | VTY_GET_UINT32 ("SPF hold timer", hold, argv[1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ospfd/ospf_vty.h:27:31: note: expanded from macro 'VTY_GET_UINT32'
27 | if (*endptr != '\0' || ((V) == ULONG_MAX && errno == ERANGE)) \
| ~~~ ^ ~~~~~~~~~
--- ospf_nsm.o ---
1 warning generated.
--- ospf_ase.o ---
1 warning generated.
--- ospf_ism.o ---
1 warning generated.
--- ospf_vty.o ---
ospf_vty.c:4148:12: warning: passing 'u_char[9]' (aka 'unsigned char[9]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
4148 | strncpy (params->auth_simple, argv[0], OSPF_AUTH_SIMPLE_SIZE);
| ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ospf_vty.c:4273:12: warning: passing 'u_char[17]' (aka 'unsigned char[17]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
4273 | strncpy (ck->auth_key, argv[1], OSPF_AUTH_MD5_SIZE);
| ^~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
--- ospf_zebra.o ---
4 warnings generated.
--- ospf_spf.o ---
1 warning generated.
--- ospf_vty.o ---
ospf_vty.c:6902:13: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
6902 | strncpy (buf, inet_ntoa (n->area_id), INET_ADDRSTRLEN);
| ^~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ospf_vty.c:6904:13: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
6904 | sprintf (buf, "%lu",
| ^~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
ospf_vty.c:6928:20: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
6928 | area_id2str (buf, INET_ADDRSTRLEN, area);
| ^~~
ospf_vty.c:6682:20: note: passing argument to parameter 'buf' here
6682 | area_id2str (char *buf, int length, struct ospf_area *area)
| ^
ospf_vty.c:6944:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
6944 | if ((area->external_routing == OSPF_AREA_STUB)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ospf_vty.c:6944:35: note: remove extraneous parentheses around the comparison to silence this warning
6944 | if ((area->external_routing == OSPF_AREA_STUB)
| ~ ^ ~
ospf_vty.c:6944:35: note: use '=' to turn this equality comparison into an assignment
6944 | if ((area->external_routing == OSPF_AREA_STUB)
| ^~
| =
ospf_vty.c:7051:15: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
7051 | strncpy (buf, inet_ntoa (vl_data->vl_area_id), INET_ADDRSTRLEN);
| ^~~
/usr/include/string.h:106:32: note: passing argument to parameter here
106 | char *strncpy(char * __restrict, const char * __restrict, size_t);
| ^
ospf_vty.c:7053:15: warning: passing 'u_char[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
7053 | sprintf (buf, "%lu",
| ^~~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
285 | int sprintf(char * __restrict, const char * __restrict, ...);
| ^
--- ospf_abr.o ---
1 warning generated.
--- ospf_dump.o ---
1 warning generated.
--- ospfd.o ---
1 warning generated.
--- ospf_lsa.o ---
6 warnings generated.
--- ospf_packet.o ---
5 warnings generated.
--- ospf_vty.o ---
16 warnings generated.
--- libospf.a ---
--- ospfd ---
--- libospf.a ---
rm -f libospf.a
ar cru libospf.a ospfd.o ospf_zebra.o ospf_interface.o ospf_ism.o ospf_neighbor.o ospf_nsm.o ospf_dump.o ospf_network.o ospf_packet.o ospf_lsa.o ospf_spf.o ospf_route.o ospf_ase.o ospf_abr.o ospf_ia.o ospf_flood.o ospf_lsdb.o ospf_asbr.o ospf_routemap.o ospf_snmp.o ospf_opaque.o ospf_te.o ospf_vty.o
--- ospfd ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o ospfd ospf_main.o ospfd.o ospf_zebra.o ospf_interface.o ospf_ism.o ospf_neighbor.o ospf_nsm.o ospf_dump.o ospf_network.o ospf_packet.o ospf_lsa.o ospf_spf.o ospf_route.o ospf_ase.o ospf_abr.o ospf_ia.o ospf_flood.o ospf_lsdb.o ospf_asbr.o ospf_routemap.o ospf_snmp.o ospf_opaque.o ospf_te.o ospf_vty.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- libospf.a ---
ranlib libospf.a
Making all in ospf6d
--- ospf6_network.o ---
--- ospf6_message.o ---
--- ospf6_lsa.o ---
--- ospf6_lsdb.o ---
--- ospf6_top.o ---
--- ospf6_area.o ---
--- ospf6_interface.o ---
--- ospf6_neighbor.o ---
--- ospf6_flood.o ---
--- ospf6_route.o ---
--- ospf6_intra.o ---
--- ospf6_zebra.o ---
--- ospf6_spf.o ---
--- ospf6_proto.o ---
--- ospf6_asbr.o ---
--- ospf6_abr.o ---
--- ospf6_snmp.o ---
--- ospf6d.o ---
--- ospf6_test.o ---
--- ospf6_main.o ---
--- ospf6_network.o ---
source='ospf6_network.c' object='ospf6_network.o' libtool=no depfile='.deps/ospf6_network.Po' tmpdepfile='.deps/ospf6_network.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_network.c' || echo './'`ospf6_network.c
--- ospf6_message.o ---
source='ospf6_message.c' object='ospf6_message.o' libtool=no depfile='.deps/ospf6_message.Po' tmpdepfile='.deps/ospf6_message.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_message.c' || echo './'`ospf6_message.c
--- ospf6_lsa.o ---
source='ospf6_lsa.c' object='ospf6_lsa.o' libtool=no depfile='.deps/ospf6_lsa.Po' tmpdepfile='.deps/ospf6_lsa.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_lsa.c' || echo './'`ospf6_lsa.c
--- ospf6_lsdb.o ---
source='ospf6_lsdb.c' object='ospf6_lsdb.o' libtool=no depfile='.deps/ospf6_lsdb.Po' tmpdepfile='.deps/ospf6_lsdb.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_lsdb.c' || echo './'`ospf6_lsdb.c
--- ospf6_top.o ---
source='ospf6_top.c' object='ospf6_top.o' libtool=no depfile='.deps/ospf6_top.Po' tmpdepfile='.deps/ospf6_top.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_top.c' || echo './'`ospf6_top.c
--- ospf6_area.o ---
source='ospf6_area.c' object='ospf6_area.o' libtool=no depfile='.deps/ospf6_area.Po' tmpdepfile='.deps/ospf6_area.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_area.c' || echo './'`ospf6_area.c
--- ospf6_interface.o ---
source='ospf6_interface.c' object='ospf6_interface.o' libtool=no depfile='.deps/ospf6_interface.Po' tmpdepfile='.deps/ospf6_interface.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_interface.c' || echo './'`ospf6_interface.c
--- ospf6_neighbor.o ---
source='ospf6_neighbor.c' object='ospf6_neighbor.o' libtool=no depfile='.deps/ospf6_neighbor.Po' tmpdepfile='.deps/ospf6_neighbor.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_neighbor.c' || echo './'`ospf6_neighbor.c
--- ospf6_flood.o ---
source='ospf6_flood.c' object='ospf6_flood.o' libtool=no depfile='.deps/ospf6_flood.Po' tmpdepfile='.deps/ospf6_flood.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_flood.c' || echo './'`ospf6_flood.c
--- ospf6_route.o ---
source='ospf6_route.c' object='ospf6_route.o' libtool=no depfile='.deps/ospf6_route.Po' tmpdepfile='.deps/ospf6_route.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_route.c' || echo './'`ospf6_route.c
--- ospf6_intra.o ---
source='ospf6_intra.c' object='ospf6_intra.o' libtool=no depfile='.deps/ospf6_intra.Po' tmpdepfile='.deps/ospf6_intra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_intra.c' || echo './'`ospf6_intra.c
--- ospf6_zebra.o ---
source='ospf6_zebra.c' object='ospf6_zebra.o' libtool=no depfile='.deps/ospf6_zebra.Po' tmpdepfile='.deps/ospf6_zebra.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_zebra.c' || echo './'`ospf6_zebra.c
--- ospf6_spf.o ---
source='ospf6_spf.c' object='ospf6_spf.o' libtool=no depfile='.deps/ospf6_spf.Po' tmpdepfile='.deps/ospf6_spf.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_spf.c' || echo './'`ospf6_spf.c
--- ospf6_proto.o ---
source='ospf6_proto.c' object='ospf6_proto.o' libtool=no depfile='.deps/ospf6_proto.Po' tmpdepfile='.deps/ospf6_proto.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_proto.c' || echo './'`ospf6_proto.c
--- ospf6_asbr.o ---
source='ospf6_asbr.c' object='ospf6_asbr.o' libtool=no depfile='.deps/ospf6_asbr.Po' tmpdepfile='.deps/ospf6_asbr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_asbr.c' || echo './'`ospf6_asbr.c
--- ospf6_abr.o ---
source='ospf6_abr.c' object='ospf6_abr.o' libtool=no depfile='.deps/ospf6_abr.Po' tmpdepfile='.deps/ospf6_abr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_abr.c' || echo './'`ospf6_abr.c
--- ospf6_snmp.o ---
source='ospf6_snmp.c' object='ospf6_snmp.o' libtool=no depfile='.deps/ospf6_snmp.Po' tmpdepfile='.deps/ospf6_snmp.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_snmp.c' || echo './'`ospf6_snmp.c
--- ospf6d.o ---
source='ospf6d.c' object='ospf6d.o' libtool=no depfile='.deps/ospf6d.Po' tmpdepfile='.deps/ospf6d.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6d.c' || echo './'`ospf6d.c
--- ospf6_main.o ---
source='ospf6_main.c' object='ospf6_main.o' libtool=no depfile='.deps/ospf6_main.Po' tmpdepfile='.deps/ospf6_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_main.c' || echo './'`ospf6_main.c
--- ospf6_test.o ---
source='ospf6_test.c' object='ospf6_test.o' libtool=no depfile='.deps/ospf6_test.Po' tmpdepfile='.deps/ospf6_test.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'ospf6_test.c' || echo './'`ospf6_test.c
--- ospf6_lsa.o ---
ospf6_lsa.c:720:15: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
720 | if (h->name == "Unknown" &&
| ^ ~~~~~~~~~
--- ospf6_test.o ---
ospf6_test.c:170:34: warning: 'memset' call operates on objects of type 'struct timeval' while the size is based on a different type 'struct timeval *' [-Wsizeof-pointer-memaccess]
170 | memset (&start, 0, sizeof (&start));
| ~~~~~~ ^~~~~~
ospf6_test.c:170:34: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)?
170 | memset (&start, 0, sizeof (&start));
| ^~~~~~
ospf6_test.c:171:32: warning: 'memset' call operates on objects of type 'struct timeval' while the size is based on a different type 'struct timeval *' [-Wsizeof-pointer-memaccess]
171 | memset (&now, 0, sizeof (&now));
| ~~~~ ^~~~
ospf6_test.c:171:32: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)?
171 | memset (&now, 0, sizeof (&now));
| ^~~~
--- ospf6_lsa.o ---
ospf6_lsa.c:858:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
858 | handler->name == "Unknown" && type != OSPF6_LSTYPE_UNKNOWN)
| ^ ~~~~~~~~~
--- ospf6_main.o ---
In file included from ospf6_main.c:24:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
378 | int getopt(int, char * const [], const char *);
| ^
ospf6_main.c:126:15: warning: passing arguments to 'zlog_rotate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
126 | zlog_rotate (NULL);
| ^
2 warnings generated.
--- ospf6_test.o ---
2 warnings generated.
--- ospf6_lsa.o ---
2 warnings generated.
--- libospf6.a ---
--- ospf6d ---
--- ospf6test ---
--- libospf6.a ---
rm -f libospf6.a
ar cru libospf6.a ospf6_network.o ospf6_message.o ospf6_lsa.o ospf6_lsdb.o ospf6_top.o ospf6_area.o ospf6_interface.o ospf6_neighbor.o ospf6_flood.o ospf6_route.o ospf6_intra.o ospf6_zebra.o ospf6_spf.o ospf6_proto.o ospf6_asbr.o ospf6_abr.o ospf6_snmp.o ospf6d.o
--- ospf6d ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o ospf6d ospf6_main.o ospf6_network.o ospf6_message.o ospf6_lsa.o ospf6_lsdb.o ospf6_top.o ospf6_area.o ospf6_interface.o ospf6_neighbor.o ospf6_flood.o ospf6_route.o ospf6_intra.o ospf6_zebra.o ospf6_spf.o ospf6_proto.o ospf6_asbr.o ospf6_abr.o ospf6_snmp.o ospf6d.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- ospf6test ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o ospf6test ospf6_test.o ospf6_network.o ospf6_message.o ospf6_lsa.o ospf6_lsdb.o ospf6_top.o ospf6_area.o ospf6_interface.o ospf6_neighbor.o ospf6_flood.o ospf6_route.o ospf6_intra.o ospf6_zebra.o ospf6_spf.o ospf6_proto.o ospf6_asbr.o ospf6_abr.o ospf6_snmp.o ospf6d.o ../lib/libzebra.a -lm -lcrypt -lreadline -ltinfo
--- libospf6.a ---
ranlib libospf6.a
Making all in vtysh
--- ./Makefile.in ---
--- vtysh_main.o ---
--- vtysh.o ---
--- vtysh_cmd.o ---
--- vtysh_user.o ---
--- vtysh_config.o ---
--- ./Makefile.in ---
cd .. && /bin/sh /magus/work/usr/mports/net/zebra/work/zebra-0.95a/missing --run automake-1.6 --foreign vtysh/Makefile
--- vtysh_main.o ---
source='vtysh_main.c' object='vtysh_main.o' libtool=no depfile='.deps/vtysh_main.Po' tmpdepfile='.deps/vtysh_main.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vtysh_main.c' || echo './'`vtysh_main.c
--- vtysh.o ---
source='vtysh.c' object='vtysh.o' libtool=no depfile='.deps/vtysh.Po' tmpdepfile='.deps/vtysh.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vtysh.c' || echo './'`vtysh.c
--- vtysh_cmd.o ---
source='vtysh_cmd.c' object='vtysh_cmd.o' libtool=no depfile='.deps/vtysh_cmd.Po' tmpdepfile='.deps/vtysh_cmd.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vtysh_cmd.c' || echo './'`vtysh_cmd.c
--- vtysh_user.o ---
source='vtysh_user.c' object='vtysh_user.o' libtool=no depfile='.deps/vtysh_user.Po' tmpdepfile='.deps/vtysh_user.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vtysh_user.c' || echo './'`vtysh_user.c
--- vtysh_config.o ---
source='vtysh_config.c' object='vtysh_config.o' libtool=no depfile='.deps/vtysh_config.Po' tmpdepfile='.deps/vtysh_config.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vtysh_config.c' || echo './'`vtysh_config.c
--- ./Makefile.in ---
/magus/work/usr/mports/net/zebra/work/zebra-0.95a/missing: automake-1.6: not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
--- Makefile ---
cd .. && /bin/sh ./config.status vtysh/Makefile depfiles
config.status: creating vtysh/Makefile
config.status: executing depfiles commands
--- vtysh.o ---
vtysh.c:72:24: warning: too many arguments in call to 'vtysh_end'
72 | return vtysh_end (vty);
| ~~~~~~~~~ ^
vtysh.c:72:20: warning: passing arguments to 'vtysh_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
72 | return vtysh_end (vty);
| ^
--- vtysh_config.o ---
In file included from vtysh_config.c:27:
../vtysh/vtysh.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
64 | void vtysh_config_write ();
| ^
vtysh_config.c:424:1: note: conflicting prototype is here
424 | vtysh_config_write (FILE *fp)
| ^
--- vtysh.o ---
vtysh.c:623:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
623 | vector_set (vline, '\0');
| ^~~~
vtysh.c:627:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
627 | vector_set (vline, '\0');
| ^~~~
vtysh.c:629:35: warning: passing arguments to 'cmd_describe_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
629 | describe = cmd_describe_command (vline, vty, &ret);
| ^
vtysh.c:717:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
717 | vector_set (vline, '\0');
| ^~~~
vtysh.c:719:38: warning: passing arguments to 'cmd_complete_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
719 | matched = cmd_complete_command (vline, vty, &complete_status);
| ^
vtysh.c:733:13: warning: call to undeclared function 'completion_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
733 | matches = completion_matches (text, command_generator);
| ^
vtysh.c:733:11: error: incompatible integer to pointer conversion assigning to 'char **' from 'int' [-Wint-conversion]
733 | matches = completion_matches (text, command_generator);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- vtysh_main.o ---
In file included from vtysh_main.c:33:
../lib/getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype]
108 | extern int getopt ();
| ^
/usr/include/unistd.h:378:6: note: conflicting prototype is here
--- vtysh.o ---
vtysh.c:761:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
761 | vector_set (vline, '\0');
| ^~~~
--- vtysh_main.o ---
378 | int getopt(int, char * const [], const char *);
| ^
--- vtysh.o ---
vtysh.c:763:34: warning: passing arguments to 'cmd_complete_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
763 | matched = cmd_complete_command (vline, vty, &ret);
| ^
vtysh.c:1216:22: warning: passing arguments to 'vtysh_config_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1216 | vtysh_config_write (fp);
| ^
vtysh.c:1279:22: warning: passing arguments to 'vtysh_config_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1279 | vtysh_config_write (fp);
| ^
vtysh.c:1609:32: error: incompatible function pointer types assigning to 'rl_compentry_func_t *' (aka 'char *(*)(const char *, int)') from 'int (int, int)' [-Wincompatible-function-pointer-types]
1609 | rl_completion_entry_function = vtysh_completion_entry_function;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vtysh.c:1610:39: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations]
1610 | rl_attempted_completion_function = (CPPFunction *)new_completion;
| ^
/usr/local/include/readline/rltypedefs.h:38:46: note: 'CPPFunction' has been explicitly marked deprecated here
38 | typedef char **CPPFunction () __attribute__((deprecated));
| ^
13 warnings and 2 errors generated.
*** [vtysh.o] Error code 1
make[2]: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a/vtysh
--- vtysh_config.o ---
1 warning generated.
--- vtysh_main.o ---
1 warning generated.
1 error
make[2]: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a/vtysh
*** [all-recursive] Error code 1
make[1]: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a
1 error
make[1]: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a
*** [all] Error code 2
make: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a
1 error
make: stopped in /magus/work/usr/mports/net/zebra/work/zebra-0.95a
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/mports/net/zebra
*** Error code 1
Stop.
make: stopped in /usr/mports/net/zebra
Links
Depends On
- devel/readline (build)
- devel/readline (lib)
- devel/readline (run)
- print/indexinfo (run)
Depend Of
NothingCategories
CVEs
- Loading CVE information...
MidnightBSD Magus