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

(mgp-users 00410) [Fwd: Compiling MagicPoint [Newbie Question]]



Hi!

I try to compile MagicPoint-1.07a on A Intel PII, RedHat Linux 6.0
(+lots of updates).
I get these error messages:

8<------------------------------------------------

[urban@yoda magicpoint-1.07a]$ make
making ./image/libmgpimage.a in ./image...
make[1]: Entering directory `/download/magicpoint-1.07a/image'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/download/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  -lXext -lX11 
./image/libmgpimage.a(png.o): In function `pngLoad':
png.o(.text+0x1aa): undefined reference to `png_set_palette_to_rgb'
png.o(.text+0x1cc): undefined reference to `png_set_gray_1_2_4_to_8'
png.o(.text+0x204): undefined reference to `png_set_tRNS_to_alpha'
collect2: ld returned 1 exit status
make: *** [mgp] Error 1
[urban@yoda magicpoint-1.07a]$ 

8<------------------------------------------------

What am I doing wrong? Are there any missing libs or what?

Urban


-- 
Microsoft will stop making things that suck when they start
making vacuum cleaners.