5.7 issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

5.7 issue

L. V. Lammert
OK, .. the nagios version in ports is AMD only, fine. If one DOES need
i386 can it not be built from source:

# make all
cd ./base && make
make -C ../lib
Using $< in a non-suffix rule context is a GNUmake idiom (Makefile:157)
*** Error 2 in /usr/src/nagioscore (Makefile:71 'all')

Inquiring minds wenat to know!!

        Lee

Reply | Threaded
Open this post in threaded view
|

Re: 5.7 issue

Stuart Henderson-6
On 2015/09/30 16:27, L. V. Lammert wrote:
> OK, .. the nagios version in ports is AMD only, fine. If one DOES need
> i386 can it not be built from source:

64-bit only, not AMD only.

> # make all
> cd ./base && make
> make -C ../lib
> Using $< in a non-suffix rule context is a GNUmake idiom (Makefile:157)
> *** Error 2 in /usr/src/nagioscore (Makefile:71 'all')
>
> Inquiring minds wenat to know!!
>
> Lee
>

You can *build* it from the port by removing the ONLY_FOR_ARCHS line.
But, as I explained on misc, it won't work properly.

Reply | Threaded
Open this post in threaded view
|

Re: 5.7 issue

Stuart Henderson-6
[replying to an off-list post back to ports@ intentionally, because your mail
server is configured to reject mail from me]

On 2015/09/30 18:39, L. V. Lammert wrote:

> On Thu, 1 Oct 2015, Stuart Henderson wrote:
>
> > > # make all
> > > cd ./base && make
> > > make -C ../lib
> > > Using $< in a non-suffix rule context is a GNUmake idiom (Makefile:157)
> > > *** Error 2 in /usr/src/nagioscore (Makefile:71 'all')
> > >
> > > Inquiring minds wenat to know!!
> > >
> > > Lee
> > >
> >
> > You can *build* it from the port by removing the ONLY_FOR_ARCHS line.
> > But, as I explained on misc, it won't work properly.
> >
> No, that is nagioscore - which DOES work fine on i386. What is the problem
> with it? That seems like the only option, .. else a downgrade to 5.3.
>
> Lee

So, here's the output if you force it to build on i386. The "warning: format"
lines represent things that need patching on openbsd 5.5+ (or on other OS where
time_t is a 64-bit type).

===>  Building for nagios-4.0.8
cd ./base && gmake
gmake[1]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/base'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o broker.o broker.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o nebmods.o nebmods.c
nebmods.c: In function 'neb_add_core_module':
nebmods.c:109: warning: assignment from incompatible pointer type
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o nerd.o nerd.c
nerd.c: In function 'chan_opath_checks':
nerd.c:341: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o query-handler.o query-handler.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c
checks.c: In function 'check_for_orphaned_services':
checks.c:1323: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t'
checks.c:1323: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'time_t'
checks.c:1328: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
checks.c:1328: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o config.o config.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o commands.o commands.c
commands.c: In function 'process_passive_service_check':
commands.c:2247: warning: assignment discards qualifiers from pointer target type
commands.c: In function 'process_passive_host_check':
commands.c:2339: warning: assignment discards qualifiers from pointer target type
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o events.o events.c
events.c: In function 'init_timing_loop':
events.c:357: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'long long int'
events.c:510: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'long long int'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o flapping.o flapping.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o logging.o logging.c
logging.c: In function 'write_to_log':
logging.c:187: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
logging.c: In function 'log_debug_info':
logging.c:498: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o netutils.o netutils.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o notifications.o notifications.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o sehandlers.o sehandlers.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o utils.o utils.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c
../xdata/xrddefault.c: In function 'xrddefault_save_state_information':
../xdata/xrddefault.c:154: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:156: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:212: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:213: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:220: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:221: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:222: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:223: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:224: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:227: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:284: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:285: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:286: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:287: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:288: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:289: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:293: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:294: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:301: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:339: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:340: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:367: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:369: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:387: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:388: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:389: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xrddefault.c:390: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c
../xdata/xsddefault.c: In function 'xsddefault_save_status_data':
../xdata/xsddefault.c:180: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:182: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:194: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:195: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:258: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:259: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:264: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:265: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:266: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:267: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:268: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:269: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:270: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:283: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:324: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:325: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:326: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:327: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:328: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:329: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:333: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:334: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:338: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:339: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:350: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:374: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:375: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:400: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:402: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:420: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:421: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:422: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
../xdata/xsddefault.c:423: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c
../common/downtime.c: In function 'schedule_downtime':
../common/downtime.c:243: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
../common/downtime.c:243: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
gmake -C ../lib
gmake[2]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/lib'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c squeue.c -o squeue.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c iocache.c -o iocache.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c fanout.c -o fanout.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c worker.c -o worker.o
worker.c: In function 'finish_job':
worker.c:292: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
worker.c:293: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
worker.c:298: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
worker.c:299: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nsock.c -o nsock.o
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nspath.c -o nspath.o
ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o
gmake[2]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/lib'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o  -Wl,-export-dynamic  -L/usr/X11R6/lib -L/usr/local/lib -lm  -lltdl  ../lib/libnagios.a
logging.o: In function `rotate_log_file':
logging.c:(.text+0x9a5): warning: warning: strcpy() is almost always misused, please use strlcpy()
checks.o: In function `run_scheduled_service_check':
checks.c:(.text+0x3d6d): warning: warning: rand() may return deterministic values, is that what you want?
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
macros-base.o: In function `get_url_encoded_string':
macros.c:(.text+0x2281): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -L/usr/X11R6/lib -L/usr/local/lib -lm  ../lib/libnagios.a
gmake[1]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/base'
cd ./cgi && gmake
gmake[1]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/cgi'
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI   -c -o getcgi.o getcgi.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI   -c -o cgiutils.o cgiutils.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI   -c -o cgiauth.o cgiauth.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c
../common/downtime.c:195: warning: 'downtime_remove' defined but not used
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o archiveutils.o archiveutils.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o jsonutils.o jsonutils.c
jsonutils.c: In function 'json_object_append_string':
jsonutils.c:525: warning: second parameter of 'va_start' not last named argument
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -static -L/usr/X11R6/lib -L/usr/local/lib -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
avail.c: In function 'main':
avail.c:370: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c:370: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
avail.c:373: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c:373: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
avail.c:386: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c:386: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c:390: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c:390: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c: In function 'display_host_availability':
avail.c:3955: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t'
avail.c:3955: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c:3957: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t'
avail.c:3957: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c: In function 'display_service_availability':
avail.c:4439: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c:4439: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c:4441: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c:4441: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
avail.c: In function 'host_report_url':
avail.c:4680: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t'
avail.c:4680: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
avail.c: In function 'service_report_url':
avail.c:4704: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t'
avail.c:4704: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
/tmp//ccZUEyck.o: In function `add_archived_state':
avail.c:(.text+0x28e7): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI   -c -o extcmd_list.o extcmd_list.c
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a  
cmd.c: In function 'cmd_submitf':
cmd.c:1909: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c: In function 'commit_command':
cmd.c:2035: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2039: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2046: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2053: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
cmd.c:2068: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2109: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2109: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2113: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2113: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2117: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2117: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t'
cmd.c:2128: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2166: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2166: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2170: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2170: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2172: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2172: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2202: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2202: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2206: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2206: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
cmd.c:2208: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cmd.c:2208: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
/tmp//cc13CO5Y.o: In function `process_cgivars':
cmd.c:(.text+0x5a05): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o config.cgi config.c  ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a  
/tmp//cce8uFfg.o: In function `show_service_info':
extinfo.c:(.text+0x4e5e): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
/tmp//cce8uFfg.o: In function `show_process_info':
extinfo.c:(.text+0x7804): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
/tmp//ccqW9ySg.o: In function `get_history':
history.c:(.text+0x156): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
/tmp//cciDZOVJ.o: In function `display_notifications':
notifications.c:(.text+0x39b): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -static -L/usr/X11R6/lib -L/usr/local/lib -o objectjson.cgi objectjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a  
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
/tmp//cc8Oqhyp.o: In function `display_log':
showlog.c:(.text+0x1b9): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a  
/tmp//ccx8YNFA.o: In function `show_host_detail':
status.c:(.text+0x9401): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -static -L/usr/X11R6/lib -L/usr/local/lib -o statusjson.cgi statusjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
/tmp//ccBlSbAR.o: In function `display_ping':
statuswml.c:(.text+0xb6f): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a
/tmp//ccFBlREN.o: In function `add_producer':
summary.c:(.text+0x67a): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a  
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lm
/tmp//cc25jFE9.o: In function `draw_host':
statuswrl.c:(.text+0x10c3): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lfontconfig -lfreetype -lpng -ljpeg -lz -lm
/tmp//cchO9KOb.o: In function `add_layer':
statusmap.c:(.text+0xff6): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lfontconfig -lfreetype -lpng -ljpeg -lz -lm
trends.c: In function 'main':
trends.c:451: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
trends.c:451: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
trends.c:460: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
trends.c:460: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
trends.c:462: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
trends.c:462: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
trends.c:464: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
trends.c:464: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
/tmp//ccqtUnZu.o: In function `add_archived_state':
trends.c:(.text+0x1647): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
cc -Wall -I.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -static -L/usr/X11R6/lib -L/usr/local/lib -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lfontconfig -lfreetype -lpng -ljpeg -lz -lm
histogram.c: In function 'main':
histogram.c:341: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
histogram.c:341: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
histogram.c:343: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
histogram.c:343: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t'
histogram.c:352: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
histogram.c:352: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
histogram.c:354: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
histogram.c:354: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
cgiutils.o: In function `sanitize_plugin_output':
cgiutils.c:(.text+0x10f8): warning: warning: strcpy() is almost always misused, please use strlcpy()
../common/shared.o: In function `mmap_fgets_multiline':
shared.c:(.text+0x859): warning: warning: strcat() is almost always misused, please use strlcat()
../lib/libnagios.a(skiplist.o): In function `skiplist_insert':
skiplist.c:(.text+0x86d): warning: warning: rand() may return deterministic values, is that what you want?
cgiutils.o: In function `escape_string':
cgiutils.c:(.text+0x12f4): warning: warning: sprintf() is often misused, please use snprintf()
gmake[1]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/cgi'
cd ./html && gmake
gmake[1]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/html'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/html'
if [ xyes = xyes ]; then \
        cd ./module && gmake; \
fi
gmake[1]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/module'
cc -I.. -fPIC -DPIC -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared -L/usr/X11R6/lib -L/usr/local/lib
gmake[1]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/module'
cd ./worker && gmake all
gmake[1]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/worker'
cd ./ping && gmake all
gmake[2]: Entering directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/worker/ping'
cc -I.. -I ../../include -I ../.. -O2 -pipe -D_DIRENT_HAVE_D_TYPE -Wformat -I/usr/local/include -DHAVE_CONFIG_H -o worker-ping worker-ping.c -L ../../lib -l nagios -L/usr/X11R6/lib -L/usr/local/lib
gmake[2]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/worker/ping'
gmake[1]: Leaving directory '/usr/obj/ports/nagios-4.0.8/nagios-4.0.8/worker'

*** Compile finished ***