Re: [Nagios-devel] Building nagios-3.0b1 under solaris fails
Posted: Wed Aug 29, 2007 1:56 pm
To build Nagios 3.0 under Solaris, use GNU make instead on the standard
Solaris make. Using Solaris make puts snprintf.o under the base
directory, and the Makefiles look for snprintf.o under common. If I
build Nagios with /usr/ccs/bin/make, snprintf compiles thusly:
gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c ../common/snprintf.c
While gmake gives me
gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c -o ../common/snprintf.o
../common/snprintf.c
--=20
Mike Stevens=20
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]