compile problems with 3.0.6 under Solaris

Michael Prochaska michael at prochas.net
Mon Dec 15 14:54:59 CET 2008


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


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/




More information about the Developers mailing list