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

(mgp-users 00402) make mgp 1.07a



Hi,

I'm trying to compile mgp-1.07a on SuSE Linux 6.3 with no success:

make ends with Error 1:
--------------------------------------------------------
[...]
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+0x1c9): undefined reference to `png_set_palette_to_rgb'
png.o(.text+0x1ee): undefined reference to `png_set_gray_1_2_4_to_8'
png.o(.text+0x229): undefined reference to `png_set_tRNS_to_alpha'
collect2: ld returned 1 exit status
make: *** [mgp] Error 1
-----------------------------------------------------------------------

Do I miss any library?
libpng.a and libpng.so.2.1.0  are present on my system

	thanks

		Guenter	

--
Stellar Spectroscopy? --> http://user.bene-online.de/ggebhard/