[sane-devel] make[1]: *** No rule to make target `-lm', needed by `gamma4scanimage'. Stop.

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 25 Aug 2002 15:59:41 +0200


Hi,

On Sat, Aug 24, 2002 at 03:36:39PM +0200, Franz Bakan wrote:
> current CVS compiles fine on OS/2,
> just this problem when building gamma4scanimage.
> 
> I assume that '-lm' just has to be removed from
> gamma4scanimage: gamma4scanimage.o -lm
> 
> in sane-backends/tools/Makefile.in

I have changed the rule to:

gamma4scanimage: gamma4scanimage.o
	@$(LIBTOOL) $(MLINK) $(LINK) gamma4scanimage.o -lm
		 
Does it work now?

Bye,
  Henning