2001.10.15 18:39 "Re: undefined symoble _TIFFmalloc", by Helge Blischke
I am trying to compile a package which uses imlib and libtiff on Solaris 2.8 using gcc 3.0, and I kept getting the following error message:
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to xcdroast
collect2: ld returned 1 exit status
*** Error code 1
I installed libtiff 3.5.5 and imlib 1.9.10 following the instruction. And the environmental variable LD_LIBRARY_PATH is set to include the path to both libraries.
The only observation I have is that all three symbols are defined as "extern" in the header file. Does anyone have any ideas what I should do to get rid of the error message?
Redefine them as malloc and free, respectively.