[mrtg] Re: ...gd installation problems...

Julien Borne julien.borne at detexis.thomson-csf.com
Tue Apr 3 16:15:48 MEST 2001


Well, I may have found a solution, but I'm not sure it is the best way to
resolve the problem...
It seems that if I copy every file from jpeg-6b to the libpng dir, make
finds the 'missing' files... But finally there's another error:

# make .....
gcc -I. -I../zlib -I../libpng -O -DHAVE_LIBPNG -DHAVE_LIBJPEG  -c  gd.c
[blah blah...]
gcc -I. -I../zlib -I../libpng pngtogd.o -o pngtogd      -L../zlib -L.
-L../libpng -lgd -png -lz -lm
gcc: unrecognized option `-png'
non défini                      premier référencé
 symbole                            dans le fichier
png_set_strip_16                    ./libgd.a(gd_png.o)
[blah blah...]
png_set_PLTE                        ./libgd.a(gd_png.o)
ld: fatal : Erreurs de référence aux symboles. Aucun résultat écrit dans
pngtogd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `pngtogd'
#

Starting to make me stressed...
thx for any answer......

Julien


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list