AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1995.01.05 15:09 "Problem compiling tiffinfo in a Sun.", by Arturo Puente
1995.01.11 07:36 "Re: Problem compiling tiffinfo in a Sun.", by Karsten Spang
1995.01.18 15:31 "installing v3.3beta021.src.tar.gz on SPARC with SunOS 4.1.3_U1", by Jan Erik Odegard
1995.01.24 18:36 "Re: installing v3.3beta021.src.tar.gz on SPARC with SunOS 4.1.3_U1", by Sam Leffler

1995.01.18 15:31 "installing v3.3beta021.src.tar.gz on SPARC with SunOS 4.1.3_U1", by Jan Erik Odegard

I just down loaded v3.3beta021.src.tar.gz and am trying to install the complete package on a Sparc running SunOS 4.1.3_U1. I did not have problems with libtiff using Makefile.gcc. However, when trying to make the tools directory I ran in to the following problem

  1. There was no gcc makefile (I copied the existing Makefile.sun to Makefile.gcc and added CC=gcc, COPTS=-ansi -O).
  2. I typed (and got!)

make -f Makefile.gcc
gcc -g -ansi -O -I../libtiff  -target sun4 -c  getopt.c
gcc -o fax2tiff -g -ansi -O -I../libtiff  fax2tiff.c getopt.o ../libtiff/libtiff.a
fax2tiff.c: In function `main':
fax2tiff.c:177: warning: cast to pointer from integer of different size
gcc -o gif2tiff -g -ansi -O -I../libtiff gif2tiff.c ../libtiff/libtiff.a -lm
gcc -o pal2rgb -g -ansi -O -I../libtiff pal2rgb.c ../libtiff/libtiff.a
gcc -o ppm2tiff -g -ansi -O -I../libtiff ppm2tiff.c ../libtiff/libtiff.a
gcc -o rgb2ycbcr -g -ansi -O -I../libtiff rgb2ycbcr.c getopt.o ../libtiff/libtiff.a -lm
gcc -o tiff2bw -g -ansi -O -I../libtiff tiff2bw.c getopt.o ../libtiff/libtiff.a
gcc -o tiff2ps -g -ansi -O -I../libtiff tiff2ps.c ../libtiff/libtiff.a -lm
ld: Undefined symbol 
   _strtoul 
collect2: ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `tiff2ps'

Any suggestions?

I'm not subscribing to the list so an email reply would be appreciated.

-jan

-- 
== EMAIL: odegard@rice.edu, URL: http://jazz.rice.edu/~odegard/odegard.html ==
Jan Erik Odegard, Rice University, Department of ECE - MS366, P.O. Box 1892,
Houston, TX 77251-1892, PHONE: (713) 527-8750 Ext. 3508, FAX: (713) 524-5237
============================== disclaimer ====================================