[sane-devel] Problems compiling sane 1.0.5

Henning Meier-Geinitz henning@meier-geinitz.de
Sat, 29 Sep 2001 19:18:52 +0200


On Sat, Sep 29, 2001 at 12:15:41PM +0200, Maier Gerfried wrote:
> When I try to build sane 1.0.5 make stops with the following
> error-messages:

Which platform and compiler (version)?

> gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
> -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
> -DBACKEND_NAME=dc25 -DLIBDIR=/usr/local/lib/sane dc25.c  -fPIC -DPIC -o
> .libs/dc25.lo
> /tmp/cccA9ptF.s: Assembler messages:
> /tmp/cccA9ptF.s:2141: Error: no such 386 instruction: `filds'

Huh? Never seen this. Looks like an internal compiler problem at the
stage of generating machine code from the assembler output.

As a workaround, you can disable dc25 in backend/Makefile.in and do
"make distclean; ./configure; make".

However, I don't think the problem is related to SANE.