[Nagios-devel] compile problems with 3.0.6 under Solaris

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] compile problems with 3.0.6 under Solaris

Post by Guest »

Hi,

with version 3.0.6 i get the following error on a solaris system again
(which was fixed with version 3.0.3):

/opt/gcc/bin/gcc -O3 -pipe -mcpu=niagara -mtune=niagara
-I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -o nagios nagios.c broker.o
nebmods.o checks.o config.o commands.o events.o flapping.o logging.o
macros-base.o notifications.o sehandlers.o skiplist.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 xdowntime-base.o
../common/snprintf.o -L/usr/local/lib -lm -lpthread -ldl -lrt
-lglib-2.0
gcc: ../common/snprintf.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `nagios'
Current working directory /root/nagios/nagios-3.0.6/base
*** Error code 1
make: Fatal error: Command failed for target `all'


workaround: cp ./base/snprintf.o ./common && make all

could anybody have a look on this?

if you need more infos let me know.


regards,
michael






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked