- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Wed, 14 Jun 2006 12:54:36 +0100
On 09/06/06 18:53, Russell Poyner wrote: > Ian, > > In comedi/drivers/Makefile I have: > > distclean-generic clean-generic maintainer-clean-generic clean \ > mostlyclean distclean maintainer-clean > > #else !CONFIG_KBUILD > #endif !CONFIG_KBUILD > > clean-modulePROGRAMS: > -test -z "$(module_PROGRAMS)" || rm -f $(module_PROGRAMS) > -rm -rf .mods > > I have commented out the offending lines. > > The make file was generated by running autogen.sh, followed by > configure --enable-kbuild > > fwf the errors from autogen are: > > configure.ac: 4: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' > comedi/Makefile.am:4: CONFIG_KBUILD does not appear in AM_CONDITIONAL > comedi/Makefile.am:23: CONFIG_COMEDI_RT does not appear in AM_CONDITIONAL > comedi/Makefile.am:49: CONFIG_COMEDI_RT does not appear in AM_CONDITIONAL > comedi/Makefile.am:56: CONFIG_USB does not appear in AM_CONDITIONAL > comedi/Makefile.am:26: invalid unused variable name: `RT_SOURCES' > comedi/drivers/Makefile.am:14: bad macro name `8255_ko_LINK' > comedi/drivers/Makefile.am:27: bad macro name `8255_ko_CFLAGS' > comedi/drivers/Makefile.am:57: CONFIG_COMEDI_RT does not appear in > AM_CONDITIONAL > comedi/drivers/Makefile.am:75: CONFIG_USB does not appear in AM_CONDITIONAL > comedi/drivers/Makefile.am:84: CONFIG_KBUILD does not appear in AM_CONDITIONAL > comedi/drivers/Makefile.am:87: module_PROGRAMS multiply defined in condition > comedi/drivers/Makefile.am:174: bad macro name `8255_ko_SOURCES' > automake: comedi/drivers/Makefile.am: unterminated conditionals: > _at_CONFIG_KBUILD_TRUE_at_ > comedi/drivers/addi-data/Makefile.am:5: CONFIG_KBUILD does not appear in > AM_CONDITIONAL > comedi/drivers/addi-data/Makefile.am:13: invalid unused variable name: > `addi_common_ko_SOURCES' > comedi/kcomedilib/Makefile.am:2: CONFIG_KBUILD does not appear in > AM_CONDITIONAL > autoreconf: automake failed with exit status: 1 I guess its a problem with the versions of automake and autoconf. Try running these in the top-level comedi directory: autoconf --version automake --version Also run them in an empty directory and compare the results. Sometimes the auto-tools in the PATH are just wrapper scripts that try and guess which version to run based in files in the current directory. If older versions are shown when they are run in the top-level comedi directory, try deleting (or moving) the aclocal.m4 and Makefile.in files and rerunning ./autogen.sh. For reference, running autoconf --version and automake --version in the top-level comedi directory on my system shows autoconf version 2.59 and automake version 1.9.6. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-06-14Z10:54:36