| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1997.03.18 07:16 "Re: undefined symbol "__eprintf" with cc/CC under Solaris 2.4", by Karsten SpangHello Armin In message <9703171738.AA03776@webber.ee.ethz.ch> , Armin Wittmann <witt@ife.ee.ethz.ch> writes: >On Sparc I am using the normal cc C-compiler for generating your library. Are you sure about that, i.e. you did not use gcc? >But on Sparc I always get this undefined symbol "__eprintf" >with the final linking procedure. >While compiling your tool not one warning or error occured. __eprintf is used by the assert macro that comes with gcc. If you compile the library with gcc, it needs this routine, which gcc loads correctly when linking. If you compile with another compiler, the symbol should not be referenced, unless the gcc version of assert.h is somehow included by your program. It is usually in a directory something like /opt/gnu/sparc-sun-sunos5.4/include, /usr/local/gnu/sparc-sun-sunos5.4/include, or similar. If you use -DNDEBUG when compiling the library, the assert stuff is disabled completely, which is what you normally want in a production version. Karsten -------------------------------------------------------------------------------- E-mail: krs@kampsax.dk Karsten Spang Phone: +45 36 39 08 00 Kampsax Technology Fax: +45 36 77 03 01 P.O. Box 1142 WWW: http://www.kampsax.dk/~krs/ DK-2650 Hvidovre Refer to my web page for PGP public key Denmark |
|||||||