Compile Error on Redhat 7.3

Prashant Desai prashant_video at yahoo.com
Mon Mar 31 09:54:38 CEST 2003


Hi 

  Thanx for the reply , yeah i checked , gd and
gd-devel both are installed, what could be the
problem, 

  i have even opened /usr/include/gd.h  and the
function defination is there for
"gdImageCreateFromJpeg"  so i am not able to
understand the problem ??

   kindly some one help me , 


regards
Prashant
--- Karl DeBisschop <karl at debisschop.net> wrote:
> On Sat, 2003-03-29 at 21:51, Prashant Desai wrote:
> > HI all 
> > 
> >    i am trying to compile the nagios-1.0 on  the
> > Redhat linux 7.3, but while make all , itrs giving
> > this error 
> > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statusmap.c
> > getcgi.o cgiutils.o auth.o popen.o 
> ../common/object
> > s.c ../xdata/xodtemplate.c ../common/statusdata.c
> > ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg ed
> > ata.o ../xdata/xedtemplate.c -o statusmap.cgi
> > /usr/bin/ld: Dwarf Error: Invalid or unhandled
> FORM
> > value: 14.
> > /tmp/ccOqawMU.o: In function
> `load_image_from_file':
> >
> /home/prashant/nms/nagios-1.0/cgi/statusmap.c:2222:
> > undefined reference to `gdImageCreateFromJpeg'
> > collect2: ld returned 1 exit status
> > make[1]: *** [statusmap.cgi] Error 1
> > make[1]: Leaving directory
> > `/home/prashant/nms/nagios-1.0/cgi'
> > make: *** [all] Error 2
> > 
> > 
> >   i have checked that all the  pre-requisite is 
> > installed on the system, 
> > 
> > kindly some one pls guide me on this
> 
> 
> While you say that you are sure the prereqs are
> installed, I doubt this.
> Be sure that gd-devel and ligjpeg-devel are
> installed. (IIRC, you also
> need freetype-devel, but I don't think this is your
> problem).
> 
> --
> Karl
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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