[Nagiosplug-help] Compile Nagios under Solaris 8 Sparc

radames jose velez unxboy at hotmail.com
Mon Dec 30 23:16:04 CET 2002


 
Hey Guys,
 
            I was wondering if anyone was successful in compiling Nagios
under Solaris 8 sparc. I seem to be getting a weird error message when
running make all. Has anyone ever encountered this? :
 
cc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statusmap.c getcgi.o cgiutils.o
auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o
../xdata/xedtemplate.c -o statusmap.cgi
Undefined                       first referenced
 symbol                             in file
jpeg_simple_progression             /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_set_quality                    /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_write_scanlines                /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy_decompress             /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy                        /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_start_compress                 /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_write_marker                   /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_read_scanlines                 /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_finish_decompress              /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_start_decompress               /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_destroy_compress               /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_resync_to_restart              /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_std_error                      /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_CreateDecompress               /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_set_defaults                   /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_CreateCompress                 /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_read_header                    /usr/local/lib/libgd.a(gd_jpeg.o)
jpeg_finish_compress                /usr/local/lib/libgd.a(gd_jpeg.o)
ld: fatal: Symbol referencing errors. No output written to statusmap.cgi
collect2: ld returned 1 exit status
make[1]: *** [statusmap.cgi] Error 1
make[1]: Leaving directory `/opt/local/src/nagios-1.0/cgi'
make: *** [all] Error 2
 
 
Thanks for your help
 
-Radames
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20021230/77d63d62/attachment.html>


More information about the Help mailing list