[sane-devel] Compilation error on Compaq Tru64

Major A andras at users.sourceforge.net
Tue Nov 19 14:31:12 GMT 2002


> Oh. That's because of sanei_scsi.c? We should add a hint in
> README.linux.

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]

There could be something in sanei_scsi.c as well, but it doesn't get
that far.

This is kernel 2.0.35.

Note that this is 1.0.9-pre2, haven't tried the released version, but
it shouldn't be much different.

> Well, if I remeber correctly, my 16 MB computer wen about 40 MB into
> swap when compiling SANE :-).

I had to connect an external SCSI drive as swap when I compiled 1.0.2
a long time ago.

  Andras

===========================================================================
Major Andras
    e-mail: andras at users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================



More information about the sane-devel mailing list