AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 1995

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1995.01.05 19:09 "Problem compiling tiffinfo in a Sun.", by Arturo Puente Xt
1995.01.11 07:36 "Re: Problem compiling tiffinfo in a Sun.", by Karsten Spang

1995.01.11 07:36 "Re: Problem compiling tiffinfo in a Sun.", by Karsten Spang

In message <9501051909.AA15274@intevep> ,
arturo@intevep.pdv.com (Arturo Puente xt. )  writes:

>I have a Sun IPX, running Sun OS 4.1.4 when I tried to compile the
>tiffinfo tool (v3.3.tiff.tar.gz) , I got
>
>gcc -g  -I../libtiff  -target sun4 -c  getopt.c
>gcc -o tiffinfo -g  -I../libtiff tiffinfo.c getopt.o ../libtiff/libtiff.a
>ld: Undefined symbol 
>   _strtoul  
>collect: ld returned 2 exit status
>*** Error code 1
>
>I tried to find the strtoul symbol in several libraries, but without any luck.
>The same happens with tiffdump and tiff2ps , the same undefined symbol.
As you are using gcc, you should have the library libiberty.a. This library
contains this function (and getopt, among others). Just add the switch
'-liberty' when linking.

                               Karsten
--------------------------------------------------------------------------------
E-mail: krs@kampsax.dk                                      Karsten Spang
Phone:  +45 36 39 07 88                                     Kampsax Data
Fax:    +45 36 77 03 01                                     P.O. Box 1142
                                                            DK-2650 Hvidovre
                                                            Denmark