Received: from sgi.sgi.com (192.48.153.1) by cerious.com
 with SMTP (Apple Internet Mail Server 1.1.1); Tue, 18 Mar 1997 03:44:37 -0500
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by sgi.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id AAA21762; Tue, 18 Mar 1997 00:35:54 -0800
Received: (from daemon@localhost) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) id HAA26110 for tiff-list; Tue, 18 Mar 1997 07:16:59 GMT
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) via ESMTP id XAA26105 for <tiff-relay@relay.engr.sgi.com>; Mon, 17 Mar 1997 23:16:58 -0800
Received: from extern.kampsax.dk (extern.kampsax.dk [193.88.186.19]) by sgi.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id XAA10755 for <tiff@sgi.com>; Mon, 17 Mar 1997 23:16:53 -0800
Received: (from smap@localhost) by extern.kampsax.dk (8.8.5/KxT-1996.12.09-KRS-extern) id IAA11478; Tue, 18 Mar 1997 08:16:48 +0100
Received: from portvagt.kxt.kampsax.dk(193.88.186.17) by extern.kampsax.dk via smap (V2.0beta)
	id xma011473; Tue, 18 Mar 97 08:16:29 +0100
Received: from rokke.kampsax.dk (root@rokke.kampsax.dk [192.168.10.106]) by hval.kampsax.dk with ESMTP (8.8.5/KxT-1996.12.06-KRS) id IAA21223; Tue, 18 Mar 1997 08:16:25 +0100
Received: from localhost (krs@localhost [127.0.0.1]) by rokke.kampsax.dk with SMTP (8.8.5/KxT-1997.01.29-KRS) id IAA25773; Tue, 18 Mar 1997 08:16:51 +0100
Message-Id: <199703180716.IAA25773@rokke.kampsax.dk>
X-Authentication-Warning: rokke.kampsax.dk: krs@localhost [127.0.0.1] didn't use HELO protocol
To: Armin Wittmann <witt@ife.ee.ethz.ch>
Cc: tiff@sgi.com, krs@kampsax.dk
Subject: Re: undefined symbol "__eprintf" with cc/CC under Solaris 2.4 
In-reply-to: Your message of "Mon, 17 Mar 97 18:38:10 +0100." <9703171738.AA03776@webber.ee.ethz.ch> 
Date: Tue, 18 Mar 97 08:16:50 +0100
From: "Karsten Spang" <krs@kampsax.dk>
X-Mts: smtp
Sender: owner-tiff@relay.engr.SGI.COM
Precedence: bulk
Status: R

Hello 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
