Cook: keepalived 1.2.15 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libnl-3.4.0-i486 Installing (pkg/local): libnl-tools-3.4.0-i486 Installing (pkg/local): libnl-dev-3.4.0-any Extracting source archive "keepalived-1.2.15.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking whether ETHERTYPE_IPV6 is declared... yes checking for crypt in -lcrypt... yes checking for MD5_Init in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking for nl_socket_alloc in -lnl-3... yes checking for genl_connect in -lnl-genl-3... yes checking for kernel version... 4.14.85 checking for IPVS syncd support... yes checking for kernel macvlan support... yes checking whether SO_MARK is declared... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether i486-slitaz-linux-gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for uname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating genhash/Makefile config.status: creating keepalived/core/Makefile config.status: creating lib/config.h config.status: creating keepalived.spec config.status: creating keepalived/Makefile config.status: creating lib/Makefile config.status: creating keepalived/vrrp/Makefile config.status: creating keepalived/check/Makefile config.status: creating keepalived/libipvs-2.6/Makefile Keepalived configuration ------------------------ Keepalived version : 1.2.15 Compiler : i486-slitaz-linux-gcc Compiler flags : -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 Extra Lib : -lssl -lcrypto -lcrypt -lnl-genl-3 -lnl-3 Use IPVS Framework : Yes IPVS sync daemon support : Yes IPVS use libnl : Yes fwmark socket support : Yes Use VRRP Framework : Yes Use VRRP VMAC : Yes SNMP support : No SHA1 support : No Use Debug flags : No make -C lib || exit 1; make[1]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/lib' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c memory.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c utils.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c notify.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c timer.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c scheduler.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c vector.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c list.c In file included from notify.c:30: notify.c: In function 'system_call': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ notify.c:42:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "Couldn't exec command: %s", cmdline); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ notify.c:45:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "Error exec-ing command: %s", cmdline); ^~~~~~~~~~~ notify.c: In function 'notify_exec': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ notify.c:71:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Failed fork process"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ notify.c:86:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ notify.c:91:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c html.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c parser.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c signals.c In file included from scheduler.c:42: scheduler.c: In function 'thread_add_read': i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c logger.c logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ scheduler.c:243:3: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "There is already read fd [%d]", fd); ^~~~~~~~~~~ scheduler.c: In function 'thread_add_write': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ scheduler.c:276:3: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "There is already write fd [%d]", fd); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c list_head.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c buffer.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c command.c In file included from parser.c:31: parser.c: In function 'read_conf_file': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:202:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Opening file '%s'.", globbuf.gl_pathv[i]); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:205:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Configuration file '%s' open problem (%s)..." ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:215:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "getcwd(%s) error (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:223:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "chdir(%s) error (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:231:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "chdir(%s) error (%s)" ^~~~~~~~~~~ parser.c: In function 'check_include': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:267:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "getcwd(%s) error (%s)\n" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ parser.c:276:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "chdir(%s) error (%s)\n" ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -I. -Wall -Wunused -Wstrict-prototypes -D_WITHOUT_SNMP_ -c vty.c In file included from command.c:36: command.c: In function 'cmd_make_descvec': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ command.c:314:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Command parse error!: %s\n", string); ^~~~~~~~~~~ command.c: In function 'install_element': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ command.c:411:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Command node %d doesn't exist, please check it\n" ^~~~~~~~~~~ command.c: In function 'cmd_describe_command_real': command.c:1244:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0; j < vector_active(cmd_vector); j++) ^~~ command.c:1255:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' vector_set(matchvec, &desc_cr); ^~~~~~~~~~ command.c: In function 'cmd_complete_command_real': command.c:1472:33: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (vector_slot(vline, index) == '\0') ^~ In file included from command.c:32: vector.h:37:26: note: did you mean to dereference the pointer? #define vector_slot(V,E) ((V)->slot[(E)]) ^ command.c:1472:7: note: in expansion of macro 'vector_slot' if (vector_slot(vline, index) == '\0') ^~~~~~~~~~~ command.c: In function 'cmd_terminate': command.c:2649:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (l = 0; l < vector_active(desc_v); l++) ^~~ command.c:2655:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' vector_free(desc_v); ^~~~~~~~~~~ vty.c: In function 'vty_hello': vty.c:162:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (s = buf + strlen(buf); (s > buf) && isspace((int)*(s - 1)); ^~~ vty.c:164:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' *s = '\0'; ^ In file included from vty.c:41: vty.c: In function 'vty_telnet_option': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1008:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "RFC 1073 violation detected: telnet NAWS option " ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1012:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Bug detected: sizeof(vty->sb_buf) %lu < %d, " ^~~~~~~~~~~ vty.c: In function 'vty_read': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1126:4: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "%s: read error on vty client fd %d, closing: %s" ^~~~~~~~~~~ vty.c: In function 'vty_flush': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1335:3: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "buffer_flush failed on vty client fd %d, closing" ^~~~~~~~~~~ vty.c: In function 'vty_accept': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1451:3: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "can't accept vty socket : %s" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1464:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "can't set sockopt to vty_sock : %s" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1468:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty connection from %s" ^~~~~~~~~~~ vty.c: In function 'vty_listen': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1489:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty error creating listening socket on %s (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1498:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty error cant do SO_REUSEADDR errno=%d (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1509:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty error cant bind to %s (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1519:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty error cant listen to %s (%s)" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1530:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Vty start listening on %s" ^~~~~~~~~~~ vty.c: In function 'vty_read_file': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1620:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Ambiguous command.\n"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1623:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "There is no such command.\n"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1626:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Error occured during reading below line.\n%s\n" ^~~~~~~~~~~ vty.c: In function 'vty_read_config': logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1720:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "%s: failed to get current working directory: %s\n" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1734:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "%s: failed to open configuration file %s: %s\n" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1739:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "WARNING: using backup configuration file!\n"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1741:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "can't open configuration file [%s]\n" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1750:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "%s: failed to open configuration file %s: %s\n" ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1755:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "WARNING: using backup configuration file!\n"); ^~~~~~~~~~~ logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vty.c:1758:5: note: in expansion of macro 'log_message' log_message(LOG_ERR, "can't open configuration file [%s]\n" ^~~~~~~~~~~ make[1]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/lib' make -C keepalived make[1]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived' make[2]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/core' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c main.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c daemon.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c pidfile.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c layer4.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c smtp.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c global_data.c In file included from pidfile.c:26: pidfile.c: In function 'pidfile_write': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ pidfile.c:41:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "pidfile_write : Can not open %s pidfile", ^~~~~~~~~~~ pidfile.c: In function 'process_running': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ pidfile.c:71:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error opening pid file %s", pid_file); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ pidfile.c:77:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Remove a zombie pid file %s", pid_file); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c global_parser.c In file included from main.c:27: main.c: In function 'stop_keepalived': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ main.c:55:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Stopping " VERSION_STRING); ^~~~~~~~~~~ main.c: In function 'main': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ main.c:275:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Starting " VERSION_STRING); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ main.c:279:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "daemon is already running"); ^~~~~~~~~~~ In file included from daemon.c:25: daemon.c: In function 'xdaemon': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ daemon.c:38:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "xdaemon: fork error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ daemon.c:53:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "xdaemon: setsid error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ daemon.c:61:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "xdaemon: chdir error"); ^~~~~~~~~~~ In file included from global_data.c:30: global_data.c: In function 'dump_email': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:113:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Email notification = %s", addr); ^~~~~~~~~~~ global_data.c: In function 'dump_global_data': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:159:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< Global definitions >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:162:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Router ID = %s", data->router_id); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:164:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Plugin dir = %s", data->plugin_dir); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:166:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Smtp server = %s", inet_sockaddrtos(&data->smtp_server)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:168:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Smtp server connection timeout = %lu" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:171:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Email notification from = %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:176:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP IPv4 mcast group = %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_data.c:180:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP IPv6 mcast group = %s" ^~~~~~~~~~~ In file included from layer4.c:26: layer4.c: In function 'tcp_bind_connect': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ layer4.c:50:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Error setting fwmark %d to socket: %s", co->fwmark, strerror(errno)); ^~~~~~~~~~~ In file included from smtp.c:33: smtp.c: In function 'connection_error': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:99:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP connection ERROR to %s." ^~~~~~~~~~~ smtp.c: In function 'connection_timeout': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:109:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Timeout connecting SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'connection_success': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:138:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Remote SMTP server %s connected." ^~~~~~~~~~~ smtp.c: In function 'smtp_read_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:160:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Timeout reading data to remote SMTP server %s." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:174:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error reading data from remote SMTP server %s." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:182:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Received buffer from remote SMTP server %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:241:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Can not read data from remote SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'smtp_send_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:255:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Timeout sending data to remote SMTP server %s." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:274:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Can not send data to remote SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'connection_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:290:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error connecting SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'helo_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:323:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error processing HELO cmd on SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'mail_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:356:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error processing MAIL cmd on SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'rcpt_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:401:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error processing RCPT cmd on SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'data_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:429:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error processing DATA cmd on SMTP server %s." ^~~~~~~~~~~ smtp.c: In function 'body_code': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:522:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP alert successfully sent."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ smtp.c:525:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error processing DOT cmd on SMTP server %s." ^~~~~~~~~~~ In file included from global_parser.c:33: global_parser.c: In function 'vrrp_mcast_group4_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_parser.c:91:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: Cant parse vrrp_mcast_group4 [%s]. Skipping" ^~~~~~~~~~~ global_parser.c: In function 'vrrp_mcast_group6_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ global_parser.c:103:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: Cant parse vrrp_mcast_group6 [%s]. Skipping" ^~~~~~~~~~~ make[2]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/core' make[2]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/check' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_daemon.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_data.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_parser.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_api.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_tcp.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_http.c In file included from check_data.c:26: check_data.c: In function 'dump_ssl': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:61:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Password : %s", ssl->password); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:63:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " CA-file : %s", ssl->cafile); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:65:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Certificate file : %s", ssl->certfile); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:67:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Key file : %s", ssl->keyfile); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:69:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using autogen SSL context"); ^~~~~~~~~~~ check_data.c: In function 'dump_vsg': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:88:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Virtual Server Group = %s", vsg->gname); ^~~~~~~~~~~ check_data.c: In function 'dump_vsg_entry': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:104:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " FWMARK = %u", vsg_entry->vfwmark); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:106:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VIP Range = %s-%d, VPORT = %d" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:111:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VIP = %s, VPORT = %d" ^~~~~~~~~~~ check_data.c: In function 'dump_vs': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:170:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VS GROUP = %s", vs->vsgname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:172:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VS FWMARK = %u", vs->vfwmark); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:174:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VIP = %s, VPORT = %d" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:177:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VirtualHost = %s", vs->virtualhost); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:178:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " delay_loop = %lu, lb_algo = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:183:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " persistence timeout = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:186:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " persistence granularity = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:188:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " protocol = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:190:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " alpha is %s, omega is %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:192:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " quorum = %lu, hysteresis = %lu", vs->quorum, vs->hysteresis); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:194:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " -> Notify script UP = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:197:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " -> Notify script DOWN = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:200:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using HA suspend"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:205:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " lb_kind = NAT"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:208:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " lb_kind = DR"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:211:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " lb_kind = TUN"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:217:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " sorry server = %s" ^~~~~~~~~~~ check_data.c: In function 'dump_rs': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:282:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " RIP = %s, RPORT = %d, WEIGHT = %d" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:287:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " -> Inhibit service on failure"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:289:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " -> Notify script UP = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:292:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " -> Notify script DOWN = %s", ^~~~~~~~~~~ check_data.c: In function 'dump_check_data': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:345:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< SSL definitions >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:349:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< LVS Topology >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_data.c:350:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " System is compiled with LVS v%d.%d.%d", ^~~~~~~~~~~ In file included from check_api.c:30: check_api.c: In function 'dump_checker': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:55:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s", FMT_CHK(checker)); ^~~~~~~~~~~ check_api.c: In function 'dump_conn_opts': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:62:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Connection dest = %s", inet_sockaddrtopair(&conn->dst)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:64:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Bind to = %s", inet_sockaddrtopair(&conn->bindto)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:67:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Connection mark = %u", conn->fwmark); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:69:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Connection timeout = %d", conn->connection_to/TIMER_HZ); ^~~~~~~~~~~ check_api.c: In function 'dump_checkers_queue': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:216:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< Health checkers >------"); ^~~~~~~~~~~ check_api.c: In function 'register_checkers_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:247:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Activating healthchecker for service %s" ^~~~~~~~~~~ check_api.c: In function 'update_checker_activity': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:278:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink reflector reports IP %s %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:300:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Activating healthchecker for service %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_api.c:303:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Suspending healthchecker for service %s" ^~~~~~~~~~~ In file included from check_http.c:28: check_http.c: In function 'dump_url': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:50:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Checked url = %s", url->path); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:52:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " digest = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:55:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " HTTP Status Code = %d", ^~~~~~~~~~~ check_http.c: In function 'dump_http_get_check': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:77:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Keepalive method = HTTP_GET"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:79:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Keepalive method = SSL_GET"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:81:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Nb get retry = %d", http_get_chk->nb_get_retry); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:82:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Delay before retry = %lu", ^~~~~~~~~~~ check_http.c: In function 'epilog': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:260:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Check on service %s failed after %d retry." ^~~~~~~~~~~ check_http.c: In function 'timeout_epilog': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:315:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Timeout %s server %s." ^~~~~~~~~~~ check_http.c: In function 'http_handle_response': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:369:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:411:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:448:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:455:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "MD5 digest success to %s url(%d)." ^~~~~~~~~~~ check_http.c: In function 'http_read_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:522:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Read error with server %s: %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:538:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Read error with server %s: %s" ^~~~~~~~~~~ check_http.c: In function 'http_request_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:683:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Cannot send get request to %s." ^~~~~~~~~~~ check_http.c: In function 'http_check_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:726:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error connecting server %s." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:807:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SSL handshake/communication error" ^~~~~~~~~~~ check_http.c: In function 'http_connect_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:860:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Remote Web server %s succeed on service." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:874:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "WEB connection fail to create socket. Rescheduling."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_http.c:887:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "WEB socket bind failed. Rescheduling"); ^~~~~~~~~~~ In file included from check_parser.c:30: check_parser.c: In function 'lbkind_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:110:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "PARSER : unknown [%s] routing method.", str); ^~~~~~~~~~~ check_parser.c: In function 'ssvri_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:179:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Ignoring sorry_server_inhibit used before or without sorry_server"); ^~~~~~~~~~~ check_parser.c: In function 'quorum_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:265:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Condition not met: Quorum >= 1"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:266:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Ignoring requested value %s, using 1 instead", ^~~~~~~~~~~ check_parser.c: In function 'hysteresis_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:278:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Condition not met: 0 <= Hysteresis"); ^~~~~~~~~~~ In file included from check_daemon.c:36: check_daemon.c: In function 'start_check': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_parser.c:279:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Ignoring requested value %s, using 0 instead", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:117:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Configuration is using : %lu Bytes", mem_allocated); ^~~~~~~~~~~ In file included from check_tcp.c:28: check_tcp.c: In function 'dump_tcp_check': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_tcp.c:46:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Keepalive method = TCP_CHECK"); ^~~~~~~~~~~ check_daemon.c: In function 'reload_check_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:186:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Got SIGHUP, reloading checker configuration"); ^~~~~~~~~~~ check_tcp.c: In function 'tcp_check_thread': check_daemon.c: In function 'check_respawn_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_tcp.c:84:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "TCP connection to %s success." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:238:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "Healthcheck child process(%d) died: Respawning", pid); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:241:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "Healthcheck child process(%d) died: Exiting", pid); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_tcp.c:97:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "TCP connection to %s failed !!!" ^~~~~~~~~~~ check_daemon.c: In function 'start_check_child': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:259:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Healthcheck child process: fork error(%s)" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:264:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Starting Healthcheck child process, pid=%d" ^~~~~~~~~~~ check_tcp.c: In function 'tcp_connect_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_tcp.c:135:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "TCP connect fail to create socket. Rescheduling."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:279:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Healthcheck child process: cannot write pidfile"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_tcp.c:148:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "TCP socket bind failed. Rescheduling."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_daemon.c:291:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Healthcheck child process: error chdir"); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_ssl.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_smtp.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c check_misc.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c ipwrapper.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_WITH_VRRP_ -D_WITHOUT_SNMP_ -D_WITH_SO_MARK_ -c ipvswrapper.c In file included from check_smtp.c:28: check_smtp.c: In function 'dump_smtp_check': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:82:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Keepalive method = SMTP_CHECK"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:83:9: note: in expansion of macro 'log_message' log_message(LOG_INFO, " helo = %s", smtp_checker->helo_name); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:84:9: note: in expansion of macro 'log_message' log_message(LOG_INFO, " timeout = %ld", smtp_checker->timeout/TIMER_HZ); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:85:9: note: in expansion of macro 'log_message' log_message(LOG_INFO, " retry = %d", smtp_checker->retry); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:86:9: note: in expansion of macro 'log_message' log_message(LOG_INFO, " delay before retry = %ld", smtp_checker->db_retry/TIMER_HZ); ^~~~~~~~~~~ check_smtp.c: In function 'smtp_final': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:274:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, error_buff, varg_list); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:277:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP_CHECK Unknown error"); ^~~~~~~~~~~ In file included from check_misc.c:30: check_misc.c: In function 'dump_misc_check': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:57:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Keepalive method = MISC_CHECK"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:58:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " script = %s", misck_checker->path); ^~~~~~~~~~~ check_smtp.c: In function 'smtp_get_line_cb': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:369:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP_CHECK Buffer overflow reading from server %s. " ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:59:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " timeout = %lu", misck_checker->timeout/TIMER_HZ); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:60:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " dynamic = %s", misck_checker->dynamic ? "YES" : "NO"); ^~~~~~~~~~~ In file included from check_ssl.c:29: check_ssl.c: In function 'build_ssl_ctx': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:93:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:109:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SSL error : Cant load key file..."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:118:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SSL error : Cant load CA file..."); ^~~~~~~~~~~ check_ssl.c: In function 'init_ssl_ctx': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:140:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error Initialize SSL, ctx Instance"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:141:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL keyfile:%s", ssl->keyfile); ^~~~~~~~~~~ check_misc.c: In function 'misc_check_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:137:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Failed fork process"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:142:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL password:%s", ssl->password); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:143:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL cafile:%s", ssl->cafile); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:144:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Terminate..."); ^~~~~~~~~~~ check_ssl.c: In function 'ssl_printerr': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:160:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (zero return)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:158:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:163:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (read error)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:163:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:166:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (write error)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:169:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (connect error)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:172:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (X509 lookup error)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:175:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (syscall error)"); ^~~~~~~~~~~ check_smtp.c: In function 'smtp_connect_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_ssl.c:182:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, " SSL error: (%s)", ssl_strerr); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:759:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Remote SMTP server %s succeed on service." ^~~~~~~~~~~ check_misc.c: In function 'misc_check_child_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:193:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Misc check to [%s] for [%s] timed out" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:779:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP_CHECK connection failed to create socket. Rescheduling."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_smtp.c:790:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "SMTP_CHECK socket bind failed. Rescheduling."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:227:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Misc check to [%s] for [%s] success." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:239:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Misc check to [%s] for [%s] failed." ^~~~~~~~~~~ check_misc.c: In function 'misc_check_child_timeout_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ check_misc.c:272:2: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "Process [%d] didn't respond to SIGTERM", pid); ^~~~~~~~~~~ In file included from ipwrapper.c:25: ipwrapper.c: In function 'clear_service_rs': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:65:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Removing service %s from VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:78:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for service %s in VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:99:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for VS %s" ^~~~~~~~~~~ ipwrapper.c: In function 'perform_quorum_state': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:240:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s the pool for VS %s" ^~~~~~~~~~~ ipwrapper.c: In function 'update_quorum_state': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:266:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Gained quorum %lu+%lu=%li <= %lu for VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:273:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s sorry server %s from VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:285:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:304:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Lost quorum %lu-%lu=%li > %lu for VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:311:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:317:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s sorry server %s to VS %s" ^~~~~~~~~~~ ipwrapper.c: In function 'perform_svr_state': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:348:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s service %s to VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:358:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for service %s in VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:373:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s service %s from VS %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:386:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Executing [%s] for service %s in VS %s" ^~~~~~~~~~~ ipwrapper.c: In function 'update_svr_wgt': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:406:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Changing weight from %d to %d for %s service %s of VS %s" ^~~~~~~~~~~ ipwrapper.c: In function 'clear_diff_vsge': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:518:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VS [%s:%d:%u] in group %s no longer exist" ^~~~~~~~~~~ ipwrapper.c: In function 'clear_diff_rs': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:659:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "service %s no longer exist" ^~~~~~~~~~~ ipwrapper.c: In function 'clear_diff_services': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:693:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Removing Virtual Server Group [%s]" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipwrapper.c:696:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Removing Virtual Server %s" ^~~~~~~~~~~ In file included from ipvswrapper.c:29: ipvswrapper.c: In function 'ipvs_start': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipvswrapper.c:336:2: note: in expansion of macro 'log_message' log_message(LOG_DEBUG, "Initializing ipvs 2.6"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipvswrapper.c:340:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "IPVS: Can't initialize ipvs: %s", ^~~~~~~~~~~ ipvswrapper.c: In function 'ipvs_talk': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipvswrapper.c:402:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "IPVS: %s", ipvs_strerror(errno)); ^~~~~~~~~~~ ipvswrapper.c: In function 'ipvs_set_rule': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipvswrapper.c:540:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "IPVS : Virtual service %s illegal timeout." ^~~~~~~~~~~ ipvswrapper.c: In function 'modprobe_ipvs': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ ipvswrapper.c:977:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "IPVS: waitpid error (%s)" ^~~~~~~~~~~ make[2]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/check' make[2]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/vrrp' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_daemon.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_data.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_parser.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_notify.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_scheduler.c In file included from vrrp_parser.c:34: vrrp_parser.c: In function 'vrrp_vmac_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:119:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Please define interface keyword before use_vmac keyword"); ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_native_ipv6_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:161:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "You should declare native_ipv6 before use_vmac!"); ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_int_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:190:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Cant find interface %s for vrrp_instance %s !!!" ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_srcip_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:225:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: VRRP instance[%s] malformed unicast" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:232:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: VRRP instance[%s] and unicast src address" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:242:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Please define interface keyword before mcast_src_ip keyword"); ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_vrid_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:255:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP Error : VRID not valid !"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:256:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_prio_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:274:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP Error : Priority not valid !"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:275:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:277:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_adv_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:289:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP Error : Advert interval not valid !"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:290:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:292:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using default value : 1sec"); ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_debug_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:304:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP Error : Debug interval not valid !"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:305:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " must be between 0-4"); ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_preempt_delay_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:328:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP Error : Preempt_delay not valid !"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:329:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " must be between 0-%d", ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_auth_pass_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:434:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp_parser.c: In function 'vrrp_vip_handler': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:463:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_parser.c:467:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ In file included from vrrp_notify.c:30: vrrp_notify.c: In function 'script_open_litteral': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_notify.c:94:2: note: in expansion of macro 'log_message' log_message(LOG_DEBUG, "Opening script file %s",script); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_notify.c:97:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Can't open %s (errno %d %s)", script, ^~~~~~~~~~~ In file included from vrrp_data.c:31: vrrp_data.c: In function 'dump_vgroup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:78:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP Sync Group = %s, %s", vgroup->gname, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:82:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " monitor = %s", str); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:85:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Same tracking for all VRRP instances"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:87:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Backup state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:90:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Master state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:93:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Fault state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:96:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Generic state transition script = '%s'", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:99:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using smtp notification"); ^~~~~~~~~~~ vrrp_data.c: In function 'dump_vscript': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:117:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP Script = %s", vscript->sname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:118:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Command = %s", vscript->script); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:119:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Interval = %d sec", (int)(vscript->interval / TIMER_HZ)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:120:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Timeout = %d sec", (int)(vscript->timeout / TIMER_HZ)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:121:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Weight = %d", vscript->weight); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:122:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Rise = %d", vscript->rise); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:123:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Fall = %d", vscript->fall); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:135:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Status = %s", str); ^~~~~~~~~~~ vrrp_data.c: In function 'dump_sock': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:166:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP sockpool: [ifindex(%d), proto(%d), unicast(%d), fd(%d,%d)]" ^~~~~~~~~~~ vrrp_data.c: In function 'dump_unicast_peer': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:185:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s", inet_sockaddrtos(peer)); ^~~~~~~~~~~ vrrp_data.c: In function 'dump_vrrp': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:226:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP Instance = %s", vrrp->iname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:228:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using Native IPv6"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:230:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Want State = BACKUP"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:232:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Want State = MASTER"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:233:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Runing on device = %s", IF_NAME(vrrp->ifp)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:235:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " VRRP interface tracking disabled"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:237:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using src_ip = %s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:240:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Runing LVS sync daemon on interface = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:243:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Gratuitous ARP delay = %d", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:246:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Gratuitous ARP refresh timer = %lu", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:248:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Gratuitous ARP repeat = %d", vrrp->garp_rep); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:249:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Gratuitous ARP refresh repeat = %d", vrrp->garp_refresh_rep); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:250:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Virtual Router ID = %d", vrrp->vrid); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:251:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Priority = %d", vrrp->base_priority); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:252:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Advert interval = %dsec", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:255:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Preempt disabled"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:257:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Preempt delay = %ld secs", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:260:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Authentication type = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:266:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Password = %s", auth_data); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:269:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Tracked interfaces = %d", LIST_SIZE(vrrp->track_ifp)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:273:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Tracked scripts = %d", LIST_SIZE(vrrp->track_script)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:277:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Unicast Peer = %d", LIST_SIZE(vrrp->unicast_peer)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:281:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Virtual IP = %d", LIST_SIZE(vrrp->vip)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:285:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Virtual IP Excluded = %d", LIST_SIZE(vrrp->evip)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:289:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Virtual Routes = %d", LIST_SIZE(vrrp->vroutes)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:293:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Backup state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:296:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Master state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:299:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Fault state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:302:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Stop state transition script = %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:305:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Generic state transition script = '%s'", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:308:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using smtp notification"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:310:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Using VRRP VMAC (flags:%s|%s)" ^~~~~~~~~~~ vrrp_data.c: In function 'alloc_vrrp_unicast_peer': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:373:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: VRRP instance[%s] malformed unicast" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:381:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: VRRP instance[%s] and unicast peer address" ^~~~~~~~~~~ vrrp_data.c: In function 'alloc_vrrp_vip': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:416:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "Configuration error: VRRP definition must belong to an interface"); ^~~~~~~~~~~ vrrp_data.c: In function 'dump_vrrp_data': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:509:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< Static Addresses >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:513:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< Static Routes >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:517:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< VRRP Topology >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:521:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< VRRP Sync groups >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_data.c:525:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< VRRP Scripts >------"); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_sync.c In file included from vrrp_scheduler.c:37: vrrp_scheduler.c: In function 'vrrp_log_int_down': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:164:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Kernel is reporting: interface %s DOWN", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_log_int_up': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:173:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Kernel is reporting: interface %s UP", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:176:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Kernel is reporting: tracked interface are UP"); ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_init_state': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:223:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) : ignoring " ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:252:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering BACKUP STATE", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_backup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:577:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Now in FAULT state", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_become_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:605:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) IPSEC-AH : seq_num sync", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_ah_sync': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:638:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) in FAULT state jump to AH sync", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_leave_fault': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:653:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:659:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:667:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering BACKUP STATE", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:677:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering BACKUP STATE", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_goto_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:694:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Now in FAULT state", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:789:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Now in BACKUP state", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:792:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Now in FAULT state", ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_script_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:988:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Failed fork process"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1006:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1011:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "dup(0) error"); ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_script_child_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1040:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Script(%s) timed out", vscript->sname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1060:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Script(%s) succeeded", vscript->sname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1069:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Script(%s) failed", vscript->sname); ^~~~~~~~~~~ vrrp_scheduler.c: In function 'vrrp_script_child_timeout_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_scheduler.c:1095:2: note: in expansion of macro 'log_message' log_message(LOG_WARNING, "Process [%d] didn't respond to SIGTERM", pid); ^~~~~~~~~~~ In file included from vrrp_daemon.c:37: vrrp_daemon.c: In function 'start_vrrp': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:153:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Configuration is using : %lu Bytes", mem_allocated); ^~~~~~~~~~~ vrrp_daemon.c: In function 'vrrp_respawn_thread': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:264:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "VRRP child process(%d) died: Respawning", pid); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:267:3: note: in expansion of macro 'log_message' log_message(LOG_ALERT, "VRRP child process(%d) died: Exiting", pid); ^~~~~~~~~~~ vrrp_daemon.c: In function 'start_vrrp_child': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:285:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP child process: fork error(%s)" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:290:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Starting VRRP child process, pid=%d" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:306:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP child process: cannot write pidfile"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_daemon.c:318:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP child process: error chdir"); ^~~~~~~~~~~ In file included from vrrp.c:44: vrrp.c: In function 'vrrp_handle_ipaddress': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:54:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) %s protocol %s", vrrp->iname, ^~~~~~~~~~~ vrrp.c: In function 'vrrp_handle_iproutes': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:66:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) %s protocol Virtual Routes", ^~~~~~~~~~~ vrrp.c: In function 'vrrp_in_chk_ipsecah': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:141:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "IPSEC AH : invalid IPSEC SPI value. %d and expect %d", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:155:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) IPSEC-AH : sequence number %d" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:184:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) IPSEC-AH : invalid" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_in_chk': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:250:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "invalid ttl. %d and expect %d", ip->ttl, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:260:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp.c:261:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] "ip payload too short. %d and expect at least %lu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntohs(ip->tot_len) - ihl, sizeof(vrrphdr_t)); ~~~~~~~~~~~~~~~~~ ../../lib/logger.h:33:24: note: in definition of macro 'log_message' if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:272:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:280:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, "ip address associated with VRID" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:283:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:296:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "receive an invalid passwd!"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:319:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "invalid version. %d and expect %d", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:326:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Invalid vrrp checksum"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:335:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "receive a %d auth, expecting %d!", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:342:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:349:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "receive an invalid ip number count associated with VRID!"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:358:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "advertissement interval mismatch mine=%d rcved=%d", ^~~~~~~~~~~ vrrp.c: In function 'vrrp_send_adv': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:681:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Cant sent advert to %s (%m)" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_check_packet': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:704:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Sync instance needed on %s !!!", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:709:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "bogus VRRP packet received on %s !!!", ^~~~~~~~~~~ vrrp.c: In function 'vrrp_send_update': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:735:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Sending %s on %s for %s", ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_goto_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:826:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Transition to MASTER STATE" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_leave_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:877:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering BACKUP STATE", vrrp->iname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:886:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering FAULT STATE", vrrp->iname); ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_backup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:913:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) ignoring received advertisment..." ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:922:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) forcing a new MASTER election" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_master_tx': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:936:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Entering MASTER STATE" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_master_rx': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:998:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_index.c ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1010:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Received lower prio advert" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1016:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Received lower prio advert" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1020:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) IPSEC-AH : Syncing seq_num" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1037:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Received higher prio advert" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1041:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) IPSEC-AH : Syncing seq_num" ^~~~~~~~~~~ vrrp.c: In function 'vrrp_state_fault_rx': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1068:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Dropping received VRRP packet..." ^~~~~~~~~~~ vrrp.c: In function 'chk_min_cfg': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1085:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) the virtual id must be set!", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1090:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Instance(%s) Unknown interface !", ^~~~~~~~~~~ vrrp.c: In function 'open_vrrp_send_socket': i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_netlink.c ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1111:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant open raw socket. errno=%d", errno); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1135:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant open raw socket. unknow family=%d" ^~~~~~~~~~~ vrrp.c: In function 'open_vrrp_socket': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1158:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant open raw socket. errno=%d", err); ^~~~~~~~~~~ vrrp.c: In function 'clear_diff_script': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp.c:1451:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Script(%s) considered successful on reload", ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_arp.c In file included from vrrp_sync.c:30: vrrp_sync.c: In function 'vrrp_sync_group_up': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:104:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Kernel is reporting: Group(%s) UP" ^~~~~~~~~~~ vrrp_sync.c: In function 'vrrp_sync_leave_fault': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:134:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Group(%s) Leaving FAULT state", ^~~~~~~~~~~ vrrp_sync.c: In function 'vrrp_sync_master_election': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:180:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Group(%s) Transition to MASTER state", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:189:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp_sync.c: In function 'vrrp_sync_backup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:208:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Group(%s) Syncing instances to BACKUP state", ^~~~~~~~~~~ vrrp_sync.c: In function 'vrrp_sync_master': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:241:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Group(%s) Syncing instances to MASTER state", ^~~~~~~~~~~ vrrp_sync.c: In function 'vrrp_sync_fault': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_sync.c:274:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP_Group(%s) Syncing instances to FAULT state", ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_if.c In file included from vrrp_arp.c:28: vrrp_arp.c: In function 'send_arp': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_arp.c:54:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error sending gratuitous ARP on %s for %s", ^~~~~~~~~~~ vrrp_arp.c: In function 'gratuitous_arp_init': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_arp.c:104:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Registering gratuitous ARP shared channel"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_arp.c:106:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error while registering gratuitous ARP shared channel"); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_track.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_ipaddress.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_iproute.c In file included from vrrp_track.c:27: vrrp_track.c: In function 'dump_track': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:35:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s weight %d", IF_NAME(tip->ifp), tip->weight); ^~~~~~~~~~~ vrrp_track.c: In function 'alloc_track': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:49:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s no match, ignoring...", tracked); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:57:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s: weight must be between " ^~~~~~~~~~~ vrrp_track.c: In function 'dump_track_script': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:92:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s weight %d", tsc->scr->sname, tsc->weight); ^~~~~~~~~~~ vrrp_track.c: In function 'alloc_track_script': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:106:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s no match, ignoring...", tracked); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:118:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s: weight must be between [-254..254]" ^~~~~~~~~~~ vrrp_track.c: In function 'vrrp_log_tracked_down': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_track.c:157:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Kernel is reporting: interface %s DOWN", ^~~~~~~~~~~ In file included from vrrp_netlink.c:41: vrrp_netlink.c: In function 'netlink_socket': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:61:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot open netlink socket : (%s)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:68:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:81:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot bind netlink socket : (%s)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:90:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot getsockname : (%s)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:97:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Wrong address family %d", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_set_block': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:128:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot F_GETFL socket : (%s)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:134:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot F_SETFL socket : (%s)", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_set_nonblock': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:147:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Cannot F_SETFL socket : (%s)", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_parse_info': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:290:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Received message overrun (%m)"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:295:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: EOF"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:300:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:327:6: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:337:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:352:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: filter function error"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:359:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: error: message truncated"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:363:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: error: data remnant size %d", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_talk_filter': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:376:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: ignoring message type 0x%04x", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_talk': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:402:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: sendmsg() error: %s", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:410:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Warning, couldn't set " ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_request': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:446:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: sendto() failed: %s", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_if_link_filter': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:510:4: note: in expansion of macro 'log_message' log_message(LOG_ERR, "MAC address for %s is too large: %d", ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_interface_lookup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:607:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Warning, couldn't set " ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_address_lookup': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:636:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Netlink: Warning, couldn't set " ^~~~~~~~~~~ vrrp_netlink.c: In function 'netlink_broadcast_filter': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:717:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, ^~~~~~~~~~~ vrrp_netlink.c: In function 'kernel_netlink_init': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:754:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Registering Kernel netlink reflector"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:758:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error while registering Kernel netlink reflector channel"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:763:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Registering Kernel netlink command channel"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_netlink.c:765:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Error while registering Kernel netlink cmd channel"); ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_ipsecah.c In file included from vrrp_if.c:57: vrrp_if.c: In function 'if_mii_read': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:128:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "SIOCGMIIREG on %s failed: %s", ifr.ifr_name, ^~~~~~~~~~~ vrrp_if.c: In function 'if_mii_status': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:164:3: note: in expansion of macro 'log_message' log_message(LOG_ERR, "No MII transceiver present for %s !!!", ^~~~~~~~~~~ vrrp_if.c: In function 'dump_if': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:285:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "------< NIC >------"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:286:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Name = %s", ifp->ifname); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:287:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " index = %d", ifp->ifindex); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:288:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " IPv4 address = %s", inet_ntop2(ifp->sin_addr.s_addr)); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:290:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " IPv6 address = %s", addr_str); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:294:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " MAC = %.2x:%.2x:%.2x:%.2x:%.2x:%.2x", ^~~~~~~~~~~ In file included from vrrp_ipaddress.c:27: vrrp_ipaddress.c: In function 'netlink_ipaddress': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:61:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "%s has a prefix length of 128, setting " ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:299:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " is UP"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:302:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " is RUNNING"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:305:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " is DOWN"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:307:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " MTU = %d", ifp->mtu); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:311:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " HW Type = LOOPBACK"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:314:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " HW Type = ETHERNET"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:317:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " HW Type = UNKNOWN"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:323:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " NIC support MII regs"); ^~~~~~~~~~~ vrrp_ipaddress.c: In function 'dump_ipaddress': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:325:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " NIC support EHTTOOL GLINK interface"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:165:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s/%d%s dev %s scope %s%s%s" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:327:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, " Enabling NIC ioctl refresh polling"); ^~~~~~~~~~~ vrrp_ipaddress.c: In function 'parse_ipaddress': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:209:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP parsed invalid IP %s. skipping IP...", str); ^~~~~~~~~~~ vrrp_ipaddress.c: In function 'alloc_ipaddress': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:236:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Default interface " DFLT_INT ^~~~~~~~~~~ vrrp_if.c: In function 'init_interface_linkbeat': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:425:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Using MII-BMSR NIC polling thread..."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:428:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Using LinkWatch kernel netlink reflector..."); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:254:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP is trying to assign VIP to unknown %s" ^~~~~~~~~~~ vrrp_if.c: In function 'if_join_vrrp_group': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:266:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP is trying to assign a broadcast %s to the IPv6 address %s !!?? " ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:468:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant do IP%s_ADD_MEMBERSHIP errno=%s (%d)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:272:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP is trying to assign invalid broadcast %s. " ^~~~~~~~~~~ vrrp_if.c: In function 'if_leave_vrrp_group': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:504:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant do IP%s_DROP_MEMBERSHIP errno=%s (%d)", ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_bindtodevice': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:534:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant bind to device %s. errno=%d. (try to run it as root)", ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_hdrincl': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:555:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set HDRINCL IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ vrrp_ipaddress.c: In function 'clear_diff_address': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:327:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Removing a VIP|E-VIP block"); ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_mcast_loop': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:580:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set IP%s_MULTICAST_LOOP IP option. errno=%d (%m)", ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ipaddress.c:341:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "ip address %s/%d dev %s, no longer exist" ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_mcast_hops': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:602:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set IPV6_MULTICAST_HOPS IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_mcast_if': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:624:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set IPV6_MULTICAST_IF IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_priority': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:644:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set SO_PRIORITY IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_sndbuf': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:663:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set SO_SNDBUF IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ vrrp_if.c: In function 'if_setsockopt_rcvbuf': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_if.c:682:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "cant set SO_RCVBUF IP option. errno=%d (%m)", errno); ^~~~~~~~~~~ In file included from vrrp_iproute.c:29: vrrp_iproute.c: In function 'dump_iproute': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_iproute.c:216:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, " %s", log_msg); ^~~~~~~~~~~ vrrp_iproute.c: In function 'alloc_route': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_iproute.c:249:5: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP is trying to assign VROUTE to unknown " ^~~~~~~~~~~ vrrp_iproute.c: In function 'clear_diff_routes': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_iproute.c:307:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "Removing a VirtualRoute block"); ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_iproute.c:316:4: note: in expansion of macro 'log_message' log_message(LOG_INFO, "ip route %s/%d ... , no longer exist" ^~~~~~~~~~~ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_ndisc.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_6_ -D_WITH_LVS_ -D_HAVE_IPVS_SYNCD_ -D_HAVE_VRRP_VMAC_ -D_WITHOUT_SNMP_ -c vrrp_vmac.c In file included from vrrp_ndisc.c:29: vrrp_ndisc.c: In function 'ndisc_send_na': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_ndisc.c:61:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "VRRP: Error sending ndisc unsolicited neighbour advert on %s", ^~~~~~~~~~~ In file included from vrrp_vmac.c:27: vrrp_vmac.c: In function 'netlink_link_add_vmac': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_vmac.c:127:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "vmac: Error creating VMAC interface %s for vrrp_instance %s!!!" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_vmac.c:133:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "vmac: Success creating VMAC interface %s for vrrp_instance %s" ^~~~~~~~~~~ vrrp_vmac.c: In function 'netlink_link_del_vmac': ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_vmac.c:180:3: note: in expansion of macro 'log_message' log_message(LOG_INFO, "vmac: Error removing VMAC interface %s for vrrp_instance %s!!!" ^~~~~~~~~~~ ../../lib/logger.h:33:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if (0) fprintf (NULL, format, ##__VA_ARGS__); \ ^~~~~~~ vrrp_vmac.c:185:2: note: in expansion of macro 'log_message' log_message(LOG_INFO, "vmac: Success removing VMAC interface %s for vrrp_instance %s" ^~~~~~~~~~~ make[2]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/vrrp' make[2]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/libipvs-2.6' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -DLIBIPVS_USE_NL -Wall -Wunused -c -o libipvs.o libipvs.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -DLIBIPVS_USE_NL -Wall -Wunused -c -o ip_vs_nl_policy.o ip_vs_nl_policy.c ar rv libipvs.a libipvs.o ip_vs_nl_policy.o ar: creating libipvs.a a - libipvs.o a - ip_vs_nl_policy.o rm libipvs.o ip_vs_nl_policy.o make[2]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived/libipvs-2.6' Building ../bin/keepalived i486-slitaz-linux-strip ../bin/keepalived Make complete make[1]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived' make -C genhash make[1]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/genhash' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../lib -Wall -Wunused -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -c -o main.o main.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../lib -Wall -Wunused -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -c -o sock.o sock.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../lib -Wall -Wunused -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -c -o layer4.o layer4.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../lib -Wall -Wunused -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -c -o http.o http.c i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I/usr/include/libnl3 -D_GLIBCXX_USE_C99_MATH=1 -I/usr/src/linux/include -I/usr/src/linux/include -I../lib -Wall -Wunused -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -c -o ssl.o ssl.c Building ../bin/genhash i486-slitaz-linux-strip ../bin/genhash Make complete make[1]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/genhash' Make complete make -C keepalived install make[1]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived' install -d /home/slitaz/wok/keepalived/install/usr/sbin install -m 700 ../bin/keepalived /home/slitaz/wok/keepalived/install/usr/sbin/ install -d /home/slitaz/wok/keepalived/install/etc/rc.d/init.d install -m 755 etc/init.d/keepalived.init /home/slitaz/wok/keepalived/install/etc/rc.d/init.d/keepalived install -d /home/slitaz/wok/keepalived/install/etc/sysconfig install -m 755 etc/init.d/keepalived.sysconfig /home/slitaz/wok/keepalived/install/etc/sysconfig/keepalived install -d /home/slitaz/wok/keepalived/install/etc/keepalived/samples install -m 644 etc/keepalived/keepalived.conf /home/slitaz/wok/keepalived/install/etc/keepalived/ install -m 644 ../doc/samples/* /home/slitaz/wok/keepalived/install/etc/keepalived/samples/ install -d /home/slitaz/wok/keepalived/install/usr/share/man/man5 install -d /home/slitaz/wok/keepalived/install/usr/share/man/man8 install -m 644 ../doc/man/man5/keepalived.conf.5 /home/slitaz/wok/keepalived/install/usr/share/man/man5 install -m 644 ../doc/man/man8/keepalived.8 /home/slitaz/wok/keepalived/install/usr/share/man/man8 make[1]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/keepalived' make -C genhash install make[1]: Entering directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/genhash' install -d /home/slitaz/wok/keepalived/install/usr/bin install -m 755 ../bin/genhash /home/slitaz/wok/keepalived/install/usr/bin/ install -d /home/slitaz/wok/keepalived/install/usr/share/man/man1 install -m 644 ../doc/man/man1/genhash.1 /home/slitaz/wok/keepalived/install/usr/share/man/man1 make[1]: Leaving directory '/home/slitaz/wok/keepalived/source/keepalived-1.2.15/genhash' ================================================================================ Executing strip on all files... Done Time: 1.38s. Size: 239856 B -> 239856 B. Save: 0 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.44s. Size: 23058 B -> 7561 B. Save: 15 KB. Cache hit: 3/3. ================================================================================ Build dependencies to remove: 11 Removing: advancecomp-static glib libnl libnl-dev libnl-tools libpcre openssl-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid Pack: keepalived 1.2.15 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "keepalived-1.2.15-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "keepalived-1.2.15-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/keepalived-1.2.15... Done Checking site script in source/keepalived-1.2.15... Done Checking ownership in install... Done Checking permissions in install... Failed Problems found: 0700 /usr/sbin/keepalived Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: keepalived 1.2.15 ================================================================================ Src file : keepalived-1.2.15.tar.gz Src size : 340.0K Source dir : 2.7M Produced : 428.0K Cook time : 24s Cook date : 2020-07-07 12:04 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 408.0K : 91.9K : 30 : keepalived-1.2.15-i486.tazpkg ================================================================================