[sane-devel] Compilation error on Compaq Tru64

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 19 Nov 2002 20:29:28 +0100


Hi,

On Tue, Nov 19, 2002 at 02:31:12PM +0000, Major A wrote:
> This is the error:
> 
> gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/sane/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/sane/share -DV_M
> AJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi
>  sanei_ab306.c  -fPIC -DPIC -o sanei_ab306.lo
> In file included from /usr/include/asm/io.h:9,
>                  from /usr/include/sys/io.h:27,
>                  from sanei_ab306.c:53:
> /usr/include/asm/system.h:140: unterminated string or character constant
> [repeated a number of times]

Oops. That would be me who is responsible for ab306.c. On the other
hand on first sight it maybe an error in the header (?), as I don't
see any suspicious changes between SANE 1.0.1 (oldest version in CVS)
and now. And I'm sure I ran 2.0.x at that time.

Well, as nobody else ever complained, it may be a bug in one single
kernel version or just nobody else uses 2.0.x anymore.

If you have too much time you can have a look at
/usr/include/asm/system.h:140 and find out why there is an
unterminated string.

Bye,
  Henning