[sane-devel] -backends compile error (Makefile, line 125)

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 25 May 2002 01:18:07 +0200


On Fri, May 24, 2002 at 08:31:46PM +0000, Petter Sundlöf wrote:
> SANE-backends 1.0.7 compiled just fine for me, but with 1.0.8-pre1 I am
> getting an error with the Makefile:

Thanks for your report.

Please give us some more info: Your operating system (+distribution),
the compiler + version and the C library + version.

> making all in backend
> make[1]: Entering directory `/root/sane-backends-1.0.8-pre1/backend'
> Makefile:125: *** Insufficient number of arguments (0) to function
> `basename'.  Stop.
> make[1]: Leaving directory `/root/sane-backends-1.0.8-pre1/backend'
> make: *** [all-recursive] Error 1

I don't see any "basename" in line 125. Can you show us the lines
around line 125 in Makefile?

Which version of make do you use (make --version)? Is it GNU make?

> I am also getting tons of more warnings, many relating to string2.h...

string2.h isn't used nor included in SANE anywhere so I guess that's a
problem with your C library. Can you show us some of these warnings
with a little context please?