Compile Error on Redhat 7.3

Karl DeBisschop karl at debisschop.net
Mon Mar 31 14:28:00 CEST 2003


On Mon, 2003-03-31 at 02:54, Prashant Desai wrote:
> 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 ??

is libjpeg-devel there?

We're they all there before your first configure? If not, you may need
to 'make distclean'

--
Karl

> 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: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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