RE: gcc and libtiff, maybe a newbie question

2003-01-02 Thread Henrik Bengtsson
Vola, it works for me now. Thanks a lot and have really good day! Henrik > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Elfyn McBratney > Sent: den 3 januari 2003 17:53 > To: Henrik Bengtsson; [EMAIL PROTECTED] > Subject: R

Re: gcc and libtiff, maybe a newbie question

2003-01-02 Thread Elfyn McBratney
Hi, The problem is partially due to where the -lname bits are. They should be put at the end of the line (after all options and stuff). You also needed to include libz (-lz) and libjpeg (-ljpeg). This worked for me: $ gcc -static -o tifft tifft.c -lm -ltiff -ljpeg -lz P.s. I renamed your file t