getting the following errors when installing from the AUR:
/home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In function ‘gz_load’:
/home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:35:15: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
35 | ret = read(state->fd, buf + *have, get);
| ^~
| fread
/home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c: In function ‘gzclose_r’:
/home/xyphon/.cache/yay/epsonscan2/src/epsonscan2-6.7.63.0-1/thirdparty/zlib/gzread.c:651:11: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
651 | ret = close(state->fd);
| ^~~
| pclose
Pinned Comments
tecnotercio commented on 2022-09-05 03:32 (UTC)
If you have a problem with Epson Scan 2, check if you need to install another backend for your scanner. More information on the Arch Linux wiki:
https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Epson