statusmap.cgi problem :-(

[email protected]
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Hi,
I read everything...
I have redhat6.0
zlib,gd,libpng installed

I made (as root) ./configure --with-gd-lib=/usr/local/lib
--with-gd-inc=/usr/local/include


and I had a message:
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... yes
GD library was found!

and I thought..  OK !
but.. :-(


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/xoddefault.c ../common/statusdata.c ../xdata/xsddefault.c -lgd
-lpng -lz -lm edata.o ../xdata/xeddefault.c -o statusmap.cgi
/usr/local/lib/libgd.a(gd_jpeg.o): In function `fatal_jpeg_error':
gd_jpeg.o(.text+0x30): undefined reference to `jpeg_destroy'
/usr/local/lib/libgd.a(gd_jpeg.o): In function `gdImageJpegCtx':
gd_jpeg.o(.text+0x114): undefined reference to `jpeg_std_error'
gd_jpeg.o(.text+0x16b): undefined reference to `jpeg_CreateCompress'
gd_jpeg.o(.text+0x19d): undefined reference to `jpeg_set_defaults'
gd_jpeg.o(.text+0x1b2): undefined reference to `jpeg_set_quality'
gd_jpeg.o(.text+0x1cd): undefined reference to `jpeg_simple_progression'
gd_jpeg.o(.text+0x220): undefined reference to `jpeg_destroy_compress'
gd_jpeg.o(.text+0x246): undefined reference to `jpeg_start_compress'
gd_jpeg.o(.text+0x2e9): undefined reference to `jpeg_write_marker'
gd_jpeg.o(.text+0x38a): undefined reference to `jpeg_write_scanlines'
gd_jpeg.o(.text+0x3c1): undefined reference to `jpeg_finish_compress'
gd_jpeg.o(.text+0x3c7): undefined reference to `jpeg_destroy_compress'
/usr/local/lib/libgd.a(gd_jpeg.o): In function `gdImageCreateFromJpegCtx':
gd_jpeg.o(.text+0x455): undefined reference to `jpeg_std_error'
gd_jpeg.o(.text+0x499): undefined reference to `jpeg_CreateDecompress'
gd_jpeg.o(.text+0x4ab): undefined reference to `jpeg_read_header'
gd_jpeg.o(.text+0x576): undefined reference to `jpeg_start_decompress'
gd_jpeg.o(.text+0x6b7): undefined reference to `jpeg_read_scanlines'
gd_jpeg.o(.text+0x701): undefined reference to `jpeg_finish_decompress'
gd_jpeg.o(.text+0x728): undefined reference to `jpeg_destroy_decompress'
gd_jpeg.o(.text+0x75c): undefined reference to `jpeg_destroy_decompress'
/usr/local/lib/libgd.a(gd_jpeg.o): In function `jpeg_gdIOCtx_src':
gd_jpeg.o(.text+0x8f4): undefined reference to `jpeg_resync_to_restart'
collect2: ld returned 1 exit status
make[1]: *** [statusmap.cgi] Error 1
make[1]: Leaving directory `/home/admin/netsaint-0.0.7/cgi'
cd ./html; make ; cd ..
make[1]: Entering directory `/home/admin/netsaint-0.0.7/html'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/admin/netsaint-0.0.7/html'


WHY ???

Help me plese !
mario

Write to me : [email protected]
Thank YOU !




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.