no one on the list who can help

Prashant Desai prashant_video at yahoo.com
Mon Mar 31 13:14:41 CEST 2003


Hi all 

   i am trying to compile nagios-1.0 on the redhat
7.3. i have installed all the prerequisite necessary
for nagois-1.0 compile.
see details of the same is as follows

[root at loghost nagios-1.0]# rpm -q gd
gd-1.8.4-4
[root at loghost nagios-1.0]# rpm -q gd-devel
gd-devel-1.8.4-4
[root at loghost nagios-1.0]# rpm -q libjpeg
libjpeg-6b-16
[root at loghost nagios-1.0]# rpm -q libjpeg-devel
libjpeg-devel-6b-16
[root at loghost nagios-1.0]# rpm -q libpng
libpng-1.0.12-2
[root at loghost nagios-1.0]# rpm -q libpng-devel
libpng-devel-1.0.12-2
[root at loghost nagios-1.0]# rpm -q zlib
zlib-1.1.3-24
[root at loghost nagios-1.0]# rpm -q zlib-devel
zlib-devel-1.1.3-24


  still i am getting following error while compiling
nagios.

gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statuswrl.c
getcgi.o cgiutils.o auth.o popen
.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/x
sddefault.c -lm edata.o ../xdata/xedtemplate.c -o
statuswrl.cgi
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statusmap.c
getcgi.o cgiutils.o auth.o popen
.o  ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/x
sddefault.c -lgd -lz -lm -lpng -ljpeg edata.o
../xdata/xedtemplate.c -o statusma
p.cgi
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM
value: 14.
/tmp/ccDyzHCU.o: In function `load_image_from_file':
/home/prashant/nms/nagios-1.0/cgi/statusmap.c:2222:
undefined reference to `gdIm
ageCreateFromJpeg'
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



  kindly sopme one help me it's not that i didt tried
, i tried hard and still trying from last 2 days , but
not luckey enough to get it compiled 

regards
Prashant

__________________________________________________
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