[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mgp-users 00306) MagicPoint 1.07a won't compile



Hi!

I was trying to compile MagicPoint version 1.07a as described in the README:
./configure
xmkmf
make Makefiles
make

After the last command compiling ends with an error saying:
rm -f libmgpimage.a
ar clq libmgpimage.a  imagetypes.o gif.o send.o zio.o zoom.o new.o compress.o
reduce.o  value.o misc.o rotate.o rle.o rlelib.o smooth.o halftone.o clip.o
dither.o xbitmap.o xpixmap.o pbm.o pcx.o xwd.o mac.o jpeg.o g3.o path.o
sunraster.o mcidas.o fbm.o faces.o cmuwmraster.o bright.o        img.o
mc_tables.o window.o png.o
ranlib libmgpimage.a
make[1]: Leaving directory `/home/neonatus/compile/magicpoint-1.07a/image'
rm -f mgp
gcc -o mgp -O2 -fno-strength-reduce      -L/usr/X11R6/lib mgp.o draw.o parse.o
plist.o globals.o x11.o font.o background.o      scanner.o grammar.o
postscript.o tfont.o embed.o unimap.o      -L./image -lmgpimage -lttf
-L/usr/lib -L/usr/lib -lm  -L/usr/lib -lpng -lz  -lXext -lX11 
./image/libmgpimage.a(png.o): In function `pngLoad':
png.o(.text+0x1fa): undefined reference to `png_set_palette_to_rgb'
png.o(.text+0x225): undefined reference to `png_set_gray_1_2_4_to_8'
png.o(.text+0x269): undefined reference to `png_set_tRNS_to_alpha'
collect2: ld returned 1 exit status
make: *** [mgp] Error 1

I don't know what to do to make it compile since I have no knowledge of
programing myself :(

I am running SuSE linux 6.2, glibc, Xfree86 3.3.4-7 and libpng-2.1.0-32.

I hope someone on this list can help me.

THX in advance!

Bostjan
-- 
   Boštjan Müller [NEONATUS], neonatus@gimp.thz.net, http://surf.to/NEONATUS
For my PGP key finger: neonatus@gimp.thz.net, RSA id: 0x90178DBD, ICQ #:7506644
   Celular: +386(0)41243189, Powered by S.u.S.E. Linux 6.2, Student of VFUL
                       There's no place like ~