Hi all! I'm new to C development coming from a web dev bootcamp background.
I picked up a Canon CanoScan LiDE 90 for $10 thinking it would be a plug
and play scanning solution like most of the LiDE series but unfortunately
it's one of the few without support. With so many related models supported
I was hoping this might be a good opportunity to learn how to write a
driver and prevent more plastic from going to landfill.
I've cloned and forked the backends repo but am failing running autogen.sh
and I don't understand the errors. I've attached the stderr output if
anyone can help point me in the right direction. My /proc/version is Linux
version 5.3.0-51-generic (buildd@lgw01-amd64-018) (gcc version 7.5.0
(Ubuntu 7.5.0-3ubuntu1~18.04)) #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18
UTC 2020.
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file po/Rules-quot
autoreconf: running: aclocal --force --warnings=all -I m4
autoreconf: configure.ac: tracing
configure.ac:93: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:93: You should run autoupdate.
../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
aclocal.m4:188: AX_CREATE_STDINT_H is expanded from...
configure.ac:93: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=all
configure.ac:93: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:93: You should run autoupdate.
../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
aclocal.m4:188: AX_CREATE_STDINT_H is expanded from...
configure.ac:93: the top level
configure.ac:1: error: possibly undefined macro: dnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AS_IF
configure.ac:104: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:140: error: possibly undefined macro: AC_DEFINE
configure.ac:148: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:206: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:218: error: possibly undefined macro: AC_CHECK_HEADER
autoreconf: /usr/bin/autoconf failed with exit status: 1
patching file ./ltmain.sh
Hunk #1 succeeded at 9615 (offset -93 lines).
Hunk #2 succeeded at 10090 (offset -93 lines).
patching file ./po/Rules-quot
configure.ac:42: error: required file './compile' not found
configure.ac:42: 'automake --add-missing' can install 'compile'
configure.ac:14: error: required file './missing' not found
configure.ac:14: 'automake --add-missing' can install 'missing'
backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension
backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU make extension
backend/Makefile.am: error: required file './depcomp' not found
backend/Makefile.am: 'automake --add-missing' can install 'depcomp'
autoreconf: automake failed with exit status: 1