Upgrade Nagios to 4.4.0 compiling problem workers.c
Posted: Thu Jun 21, 2018 8:14 am
Hello
I am not able to upgrade my nagios core installation from 4.3.4 to 4.4.0.
Linux Debian is on latest build 9.4
Any ideas? Thank you for helping.
Christian
I am not able to upgrade my nagios core installation from 4.3.4 to 4.4.0.
Code: Select all
nagios@nagios-test:/tmp/nagios-4.4.0$ make all
cd ./base && make
make[1]: Entering directory '/tmp/nagios-4.4.0/base'
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o query-handler.o query-handler.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
workers.c: In function ‘wproc_run_job’:
workers.c:1173:106: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘ssize_t {aka int}’ [-Wformat=]
logit(NSLOG_RUNTIME_ERROR, TRUE, "wproc: '%s' seems to be choked. ret = %d; bufsize = %lu: written = %lu; errno = %d (%s)\n",
^
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
gcc -Wall -I.. -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.cAny ideas? Thank you for helping.
Christian