problems compiling statusmap.cgi
White, Matthew
mwhite at ipmktg.com
Wed Oct 16 02:37:45 CEST 2002
I am having problems getting statusmap.cgi to compile under OpenBSD, all
other cgi's compile except this one.
I know it has something to do with the gd library, here is the results of
the compilation.
status# make statusmap.cgi
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
statusmap.c:2192: Undefined symbol `_gdImageCreateFromJpeg' referenced from
text segment
collect2: ld returned 1 exit status
*** Error code 1
Stop in /home/matt/tmp/nagios/nagios-1.0b4/cgi (line 132 of Makefile).
I have tried the following:
Compiling the nagios-1.0b6 and nagios-1.0b4, with no luck.
Tried compiling under OpenBSD 2.9 and 3.1, with no luck.
Tried using different versions of the gd library, gd-1.8.3, gd-1.8.4 and
gd-2.0.1, with no luck.
I have a friend who is having the exact same problem, has anyone else seen
this problem surface?
Any help would be greatly appreciated.
Thanks,
/m@
/*****************************************************
*
* Matthew D. White
* Sr. Systems Administrator
* E2DB 91AF 798B D4B4 47C5 04D1 86F6 55BD E965 41D5
*
*****************************************************/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021015/8aaf7f76/attachment.html>
More information about the Users
mailing list