<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>problems compiling statusmap.cgi</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I am having problems getting statusmap.cgi to compile under OpenBSD, all other cgi's compile except this one.</FONT>
<BR><FONT SIZE=2>I know it has something to do with the gd library, here is the results of the compilation.</FONT>
</P>

<P><FONT SIZE=2>status# make statusmap.cgi</FONT>
<BR><FONT SIZE=2>gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib 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</FONT></P>

<P><FONT SIZE=2>statusmap.c:2192: Undefined symbol `_gdImageCreateFromJpeg' referenced from text segment</FONT>
<BR><FONT SIZE=2>collect2: ld returned 1 exit status</FONT>
<BR><FONT SIZE=2>*** Error code 1</FONT>
</P>

<P><FONT SIZE=2>Stop in /home/matt/tmp/nagios/nagios-1.0b4/cgi (line 132 of Makefile).</FONT>
</P>

<P><FONT SIZE=2>I have tried the following:</FONT>
</P>

<P><FONT SIZE=2>Compiling the nagios-1.0b6 and nagios-1.0b4, with no luck.</FONT>
<BR><FONT SIZE=2>Tried compiling under OpenBSD 2.9 and 3.1, with no luck.</FONT>
<BR><FONT SIZE=2>Tried using different versions of the gd library, gd-1.8.3, gd-1.8.4 and gd-2.0.1, with no luck.</FONT>
</P>

<P><FONT SIZE=2>I have a friend who is having the exact same problem, has anyone else seen this problem surface?</FONT>
</P>

<P><FONT SIZE=2>Any help would be greatly appreciated.</FONT>
</P>

<P><FONT SIZE=2>Thanks,</FONT>
</P>

<P><FONT SIZE=2>/m@</FONT>
</P>

<P><FONT SIZE=2>/*****************************************************</FONT>
<BR><FONT SIZE=2> *</FONT>
<BR><FONT SIZE=2> * Matthew D. White</FONT>
<BR><FONT SIZE=2> * Sr. Systems Administrator</FONT>
<BR><FONT SIZE=2> * E2DB 91AF 798B D4B4 47C5  04D1 86F6 55BD E965 41D5</FONT>
<BR><FONT SIZE=2> *</FONT>
<BR><FONT SIZE=2> *****************************************************/</FONT>
</P>

</BODY>
</HTML>