Re: Thanks all! Re: unknown symbols--was compilation errors

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

Received on 2006-06-09Z16:53:26