Received: from sgi.sgi.com (192.48.153.1) by cerious.com
 with SMTP (Apple Internet Mail Server 1.1.1); Thu, 6 Mar 1997 12:30:59 -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 JAA02388; Thu, 6 Mar 1997 09:13:55 -0800
Received: (from daemon@localhost) by cthulhu.engr.sgi.com (950413.SGI.8.6.12/960327.SGI.AUTOCF) id PAA03793 for tiff-list; Thu, 6 Mar 1997 15:47:27 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 HAA03782 for <tiff-relay@relay.engr.sgi.com>; Thu, 6 Mar 1997 07:47:25 -0800
Received: from sailboard.ece.ncsu.edu (sailboard.ece.ncsu.edu [152.1.59.187]) by sgi.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id HAA09552 for <tiff@sgi.com>; Thu, 6 Mar 1997 07:47:22 -0800
Received: by sailboard.ece.ncsu.edu (5.65/Eos/C-U-09Sep93)
	id AA15989; Thu, 6 Mar 1997 10:47:20 -0500
From: "Hairong Qi" <hqi@eos.ncsu.edu>
Message-Id: <9703061047.ZM15987@eos.ncsu.edu>
Date: Thu, 6 Mar 1997 10:47:19 -0500
X-Mailer: Z-Mail (3.2.1 15feb95)
To: tiff@sgi.com
Subject: Different problem when linking
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-tiff@relay.engr.SGI.COM
Precedence: bulk

Hi, all,

When I wanted to compile gif2tiff.c, using:
	cc gif2tiff.c -L/LIBDIR -ltiff -lm -I/INCDIR
I met the following error message:

Undefined                       first reference
 symbol                             in file
TIfFSetField                        gif2tiff.o
__eprintf                           /ncsu/imagetools/lib/libtiff.so

I tried several ways, such as,
  1) add -static to the compile instruction, error message is:
	cc: Error: -a conflicts with -dy.
  2) use the libtiff.a library only
	(same error message about --eprintf)

I'm working on SunOS 5.4, tiff-v3.4. Anybody know how to solve it?

Thanks,

Hairong Qi

-- 
Hairong Qi
Graduate Student
Box 7911
Electrical and Computer Engineering Department
North Carolina State University
Raleigh, NC 27695-7911
Tel: (919)515-2844
