Solved Compile Error on Redhat 7.3 pls help me

Prashant Desai prashant_video at yahoo.com
Mon Mar 31 14:22:20 CEST 2003


Hi all 

   at last it's resolved now , i hav recompiled gd 2.x
and it's resolved ,

  but when i clecik on status map it's not showing the
vendors images just images with "?" symbol is coming
pls help


regards
Prashant
--- Prashant Desai <prashant_video at yahoo.com> wrote:
> Hi all 
> 
>    i have checked every thing , all the required
> devel
> and header files ae there in /usr/include & /usr/lib
> directory on my system running redhat 7.3, i can
> even
> see that GD LIB found while running ./configure ,
> still the same error is coming , i have also checked
> my gd.h and the function declaration for
> GdImageFromJpeg is there (not declaration not the
> defination) 
> 
>   kindly tell me what could have went wrong , it's
> almost 2 days now and i am still unable to compile
> the
> nagois ,
> 
> 
> regards
> Prashant
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Note: forwarded message attached.
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> http://platinum.yahoo.com

> ATTACHMENT part 2 message/rfc822 
> From: Prashant Desai <prashant_video at yahoo.com>
> Subject: Re: [Nagios-users] Compile Error on Redhat
> 7.3
> To: Karl DeBisschop <karl at debisschop.net>
> CC: nagios-users at lists.sourceforge.net
> Date: Sun, 30 Mar 2003 23:54:38 -0800 (PST)
> 
> 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


__________________________________________________
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