diff --git a/ChangeLog b/ChangeLog index 2dd6353a5..6a312388e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ the physical scan area" problem as it applies to most flatbed scanners. Added info about test backend. Added info about saned security issues. + * README.linux: Moved "memory exhausted" and missing scsi headers + problems from PROBLEMS. 2003-02-09 Stéphane Voltz diff --git a/README.linux b/README.linux index 6646a43a1..34b398514 100644 --- a/README.linux +++ b/README.linux @@ -70,6 +70,15 @@ SCSI Direct IO: Recent versions of the Linux SG driver for the 2.4 kernels configure --enable-scsi-directio=yes +Very old Linux distributions are missing the /usr/include/scsi directory. In +such a case, it is necessary to copy the relevant files from the kernel +distribution. Normally, the command: + + cp -a /usr/src/linux/include/scsi /usr/include + +should fix this problem. Don't do this if you don't get compilation errors +about missing SCSI headers. + Other Information ================= @@ -82,6 +91,10 @@ Excessive warnings "pointer of type `void *' used in arithmetic": and rerun configure. +Older gcc compilers may abort with error "virtual memory exhausted", + usually in canon.c. Try to compile with lower optimization levels: + make CFLAGS="-g -Wall -O1", make CFLAGS="-g -Wall -O", or + make CFLAGS="-g -Wall". If you use DEC cc on Linux Alpha, you may need to set LDFLAGS="-N" to be able to build sane-backends.