problem building nagios

stefano razzauti stefano.razzauti at yogitech.com
Mon Mar 8 12:24:16 CET 2004


Hi,
I'm trying to build and install nagios 1.2 on my server with Debian 
GNU/Linux 3.0 r2.
The server is a Sun Sparc Ultra 2.

The "configure" process goes well but when I try to build the nagios 
source I obtain the following messages:

gcc -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 -ljpeg 
edata.o ../xdata/xedtemplate.c -o statusmap.cgi
/tmp/cclljeTB.o: In function `load_image_from_file':
/tmp/nagios-1.2/cgi/statusmap.c:2224: undefined reference to 
`gdImageCreateFromJpeg'
collect2: ld returned 1 exit status
make[1]: *** [statusmap.cgi] Error 1
make[1]: Leaving directory `/tmp/nagios-1.2/cgi'
make: *** [all] Error 2

what could be the cause of this error?

Thank you in advance

stefano

 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list