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

  1. In message <9501051909.AA15274@intevep> ,
  2. arturo@intevep.pdv.com (Arturo Puente xt. )  writes:
  3.  
  4. >I have a Sun IPX, running Sun OS 4.1.4 when I tried to compile the
  5. >tiffinfo tool (v3.3.tiff.tar.gz) , I got
  6. >
  7. >gcc -g  -I../libtiff  -target sun4 -c  getopt.c
  8. >gcc -o tiffinfo -g  -I../libtiff tiffinfo.c getopt.o ../libtiff/libtiff.a
  9. >ld: Undefined symbol 
  10. >   _strtoul  
  11. >collect: ld returned 2 exit status
  12. >*** Error code 1
  13. >
  14. >I tried to find the strtoul symbol in several libraries, but without any luck.
  15. >The same happens with tiffdump and tiff2ps , the same undefined symbol.
  16. As you are using gcc, you should have the library libiberty.a. This library
  17. contains this function (and getopt, among others). Just add the switch
  18. '-liberty' when linking.
  19.  
  20.                                Karsten
  21. --------------------------------------------------------------------------------
  22. E-mail: krs@kampsax.dk                                      Karsten Spang
  23. Phone:  +45 36 39 07 88                                     Kampsax Data
  24. Fax:    +45 36 77 03 01                                     P.O. Box 1142
  25.                                                             DK-2650 Hvidovre
  26.                                                             Denmark
  27.  
  28.