Re: Problem building sane on FreeBSD 2.2.2

Oliver.Rauch@Wolfsburg.DE
Fri, 17 Oct 1997 16:54:51 +0200 (MET DST)

Hello Billy,

> "umax.c", line 2010: error: integral constant expression expected
> "umax.c", line 2033: error: integral constant expression expected
> "umax.c", line 2055: error: integral constant expression expected
> make[1]: *** [umax.lo] Error 1
> make[1]: Target `all' not remade because of errors.
> make[1]: Leaving directory `/tmp/sane-0.66/backend'
>
> Is this because the source code is not so 'friendly' to non-gnu compilers?
> If so, how can it be corrected?

The three errors in umax.c are because I have been to lazy to do
it right.

If you don't have a umax-scanner, just edit backend/Makefile line 50
and comment out umax:
PRELOADABLE_BACKENDS = epson hp microtek mustek net pnm qcam umax
so that you get
PRELOADABLE_BACKENDS = epson hp microtek mustek net pnm qcam

( I suggest to do the same with microtek if you don't need it)

then go to the sane-directory and type

make

If you need the umax-backend, I will tell you what has to be changed.
It will be ok in my next release!

Bye
Oliver

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com