[Nagiosplug-help] Compile Nagios under Solaris 8 Sparc

Karl DeBisschop karl at debisschop.net
Thu Jan 2 04:32:01 CET 2003


Lokks to me like the gd package you installed is not finding a
compatible libjpeg -- if it's finding libjpeg at all.

--
Karl

On Tue, 2002-12-31 at 02:15, radames jose velez wrote:
>  
> 
> 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
-- 
Karl DeBisschop <karl at debisschop.net>





More information about the Help mailing list