home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0086.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1.7 KB  |  42 lines

  1.  
  2.  
  3. I just down loaded v3.3beta021.src.tar.gz and am trying to install
  4. the complete package on a Sparc running SunOS 4.1.3_U1. I did not
  5. have problems with libtiff using Makefile.gcc. However, when trying to 
  6. make the tools directory I ran in to the following problem
  7.  
  8. 1) There was no gcc makefile (I copied the existing Makefile.sun
  9.    to Makefile.gcc and added CC=gcc, COPTS=-ansi -O).
  10.  
  11. 2) I typed (and got!)
  12.  
  13. make -f Makefile.gcc
  14. gcc -g -ansi -O -I../libtiff  -target sun4 -c  getopt.c
  15. gcc -o fax2tiff -g -ansi -O -I../libtiff  fax2tiff.c getopt.o ../libtiff/libtiff.a
  16. fax2tiff.c: In function `main':
  17. fax2tiff.c:177: warning: cast to pointer from integer of different size
  18. gcc -o gif2tiff -g -ansi -O -I../libtiff gif2tiff.c ../libtiff/libtiff.a -lm
  19. gcc -o pal2rgb -g -ansi -O -I../libtiff pal2rgb.c ../libtiff/libtiff.a
  20. gcc -o ppm2tiff -g -ansi -O -I../libtiff ppm2tiff.c ../libtiff/libtiff.a
  21. gcc -o rgb2ycbcr -g -ansi -O -I../libtiff rgb2ycbcr.c getopt.o ../libtiff/libtiff.a -lm
  22. gcc -o tiff2bw -g -ansi -O -I../libtiff tiff2bw.c getopt.o ../libtiff/libtiff.a
  23. gcc -o tiff2ps -g -ansi -O -I../libtiff tiff2ps.c ../libtiff/libtiff.a -lm
  24. ld: Undefined symbol 
  25.    _strtoul 
  26. collect2: ld returned 2 exit status
  27. *** Error code 1
  28. make: Fatal error: Command failed for target `tiff2ps'
  29.  
  30. Any suggestions?
  31.  
  32. I'm not subscribing to the list so an email reply would be appreciated.
  33.  
  34. -jan
  35.  
  36. -- 
  37. == EMAIL: odegard@rice.edu, URL: http://jazz.rice.edu/~odegard/odegard.html ==
  38. Jan Erik Odegard, Rice University, Department of ECE - MS366, P.O. Box 1892,
  39. Houston, TX 77251-1892, PHONE: (713) 527-8750 Ext. 3508, FAX: (713) 524-5237
  40. ============================== disclaimer ====================================
  41.  
  42.