AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2002.08.26 01:13 "C++ linkage problem", by Paul

Hi all,

I would like to use libtiff in C++ environment. In compiling with CC and linking the library libtiff.a, I encounter the following error:

Undefined first referenced
 symbol in file
__eprintf ../../lib/libtiff/libtiff.a(tif_dirinfo.o)
ld: fatal: Symbol referencing errors. No output written to test
*** Error code 1

I had search the source code of tibtiff but eprintf was not declare or used in libtiff. When I modified the test program to C environment, the error would not occur. Did anyone knows what's the problem? Please help

Thanks,

Paul