SUMMARY: Building xpaint with tiff capabilities

From: Ray Hillman <R.K.Hillman_at_bton.ac.uk>
Date: Fri, 27 Jun 1997 14:45:01 +0100

I wrote:
>
> I'm just trying to rebuild xpaint 2.4.7 to include tiff
> capabilities on a Digital Unix 4.0b system, using tiffv3.4beta036.
> Building tiff wasn't a problem but when rebuilding xpaint I get:
>
> blah, blah
> .
> .
> .making always in ./rw...
> rm -f xpaint
> cc -o xpaint -std1 -L/usr/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 Colormap.o Paint.o PaintEvent.o PaintRegion.o PaintUndo.o
> rw/librw.a -L/usr/lib -lXpm -L/usr/local/lib -ltiff -L/usr/local/lib
> -ljpeg -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
> ld:
> Unresolved:
> __eprintf
> *** Exit 1
> Stop.
>
> I think that this is coming from /usr/local/lib/libtiff.a.
> Can anyone help?
>
> Ray
> --

Eric Z. Ayers replied:

Hi Ray,

this looks like the kind of problem you get when you compile part of a
program with GCC and part with the native C compiler.

-Eric.


...and he was right. I rebuilt the tiff stuff using cc
rather than gcc and then rebuilt xpaint using the same
compiler and it worked.

Thanks Eric.

Ray
-- 
RFC-822 : Ray.Hillman_at_bton.ac.uk
  X.400 : S=hillman; G=ray; O=bton; PRMD=uk.ac; ADMD= ; C=GB
    Tel : +44 1273 600900 Ext. 2644 or +44 1273 642644 (direct)
    Fax : +44 1273 642666
   Http : http://www.bton.ac.uk/
Systems Manager, University of Brighton Computer Centre,
Watts Building, Moulsecoomb, Brighton, East Sussex, UK, BN2 4GJ
Received on Fri Jun 27 1997 - 16:15:09 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT