1997.03.06 15:47 "Different problem when linking", by Hairong Qi
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,
- add -static to the compile instruction, error message is: cc: Error: -a conflicts with -dy.
- 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