primax: Problems compiling primax_scan-0.93beta3
Subject:
Re: Problems compiling primax_scan-0.93beta3
From:
Christian Ordig ####@####.####
Date:
29 Dec 2001 17:17:33 -0000
Message-Id: <20011229180754.A31252@odin.chris.com>
On Sat, Dec 29, 2001 at 03:39:08PM +0000, Richard Mawson wrote:
> gcc -g -O2 -o primax_scan LM9811.o primax_scan.o lp.o tables.o -lm
> primax_scan.o: In function `tiff_open':
I also got this under Slackware 8.0 today.
The Makefile is not generated correctly by the ./configure.
Solution:
Edit the Makefile.
go to the Line saying "LIBS=-lm"
and change it to "LIBS=-lm -ltiff -lz"
do a make clean and recompile.
your libtiff and libz have to be in a path which is searched by the linker,
but I think they should be there ,-)
--
Christian Ordig
Germany