$ tar xvfz xpaint-2.5.5.tar.gz
$ mv xpaint xpaint-2.5.5
$ cd xpaint-2.5.5
$ xmkmf
$ make Makefiles
$ make
(snip)
gcc -o xpaint -O2 -fno-strength-reduce -L/usr/X11R6/lib chroma.o color.o colorEdit.o
cutCopyPaste.o dialog.o fatBitsEdit.o fileName.o fontSelect.o grab.o graphic.o hash.o
help.o image.o imageComp.o iprocess.o main.o menu.o misc.o operation.o palette.o
pattern.o protocol.o readRC.o size.o text.o texture.o typeConvert.o arcOp.o blobOp.o
boxOp.o brushOp.o circleOp.o fillOp.o fontOp.o lineOp.o pencilOp.o polyOp.o selectOp.o
sprayOp.o dynPenOp.o Colormap.o Paint.o PaintEvent.o PaintRegion.o PaintUndo.o rw/librw.a
-L/usr/X11R6/lib -lXpm -L/usr/local/lib -ltiff -L/usr/local/lib -ljpeg -L/usr/local/lib
-lpng -lz -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
rw/librw.a(readPNG.o): In function `TestPNG':
readPNG.o(.text+0x37): undefined reference to `png_check_sig'
rw/librw.a(readPNG.o): In function `ReadPNG':
readPNG.o(.text+0xfb): undefined reference to `png_read_destroy'
readPNG.o(.text+0x109): undefined reference to `png_info_init'
readPNG.o(.text+0x112): undefined reference to `png_read_init'
(snip)
writePNG.o(.text+0x3cf): undefined reference to `png_write_image'
writePNG.o(.text+0x3dd): undefined reference to `png_write_end'
writePNG.o(.text+0x3e3): undefined reference to `png_write_destroy'
collect2: ld returned 1 exit status
make: *** [xpaint] Error 1
|