problems with building comedi under debian 2.6.6 kernel

Hi,

I have a problem with building comedi under debian 2.6.6 kernel.
I took the sources from the CVS, and used automake-1.8.
In the attachment the output of the autoge.sh amd make.

Regards,
mikhail
/usr/local/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
configure.ac:6: installing `./config.guess'
configure.ac:6: installing `./config.sub'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
comedi/Makefile.am: installing `./compile'
comedi/Makefile.am: installing `./depcomp'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking for strip... /usr/bin/strip
checking for depmod... /sbin/depmod
checking for Linux in /lib/modules/2.6.6/build... yes
checking for configuration in /lib/modules/2.6.6/build/.config... yes
checking Red Hat/Fedora kernel... not found
checking Linux config option CONFIG_M386... no
checking Linux config option CONFIG_M586... no
checking Linux config option CONFIG_M686... no
checking Linux config option CONFIG_MPENTIUMIII... yes
checking Linux config option CONFIG_MK7... no
checking Linux config option CONFIG_SMP... no
checking Linux config option CONFIG_HIGHMEM64G... no
checking Linux major/minor version... 2.6
checking for Linux CFLAGS... ok
configure: creating modtool
checking Linux config option CONFIG_RTHAL... no
checking Linux config option CONFIG_ADEOS... no
checking Linux config option CONFIG_RTLINUX... no
configure: Disabling PCMCIA drivers because they haven't been ported to Linux-2.6
configure: PCMCIA support disabled
checking Linux config option CONFIG_ISA... yes
checking Linux config option CONFIG_PCI... yes
checking Linux config option CONFIG_USB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating comedi/Makefile
config.status: creating comedi/drivers/Makefile
config.status: creating comedi/kcomedilib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/home/tmp/comedi'
Making all in comedi
make[2]: Entering directory `/home/tmp/comedi/comedi'
Making all in kcomedilib
make[3]: Entering directory `/home/tmp/comedi/comedi/kcomedilib'
source='data.c' object='kcomedilib_ko-data.o' libtool=no \
depfile='.deps/kcomedilib_ko-data.Po' tmpdepfile='.deps/kcomedilib_ko-data.TPo' \
depmode=gcc /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include/ -DKBUILD_MODNAME=kcomedilib -DKBUILD_BASENAME=data -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/lib/modules/2.6.6/build/include/asm-i386/mach-default -O2 -fomit-frame-pointer  -DMODULE   -g -O2 -c -o kcomedilib_ko-data.o `test -f 'data.c' || echo './'`data.c
In file included from data.c:25:
../../include/linux/comedilib.h:33: #error linux/comedilib.h should not be included by non-kernel-space code
In file included from /usr/include/linux/sched.h:14,
                 from ../../include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from ../../include/linux/mm.h:23,
                 from ../../include/linux/comedidev.h:36,
                 from data.c:26:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/asm/smp.h:15,
                 from /usr/include/linux/smp.h:14,
                 from /usr/include/linux/sched.h:23,
                 from ../../include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from ../../include/linux/mm.h:23,
                 from ../../include/linux/comedidev.h:36,
                 from data.c:26:
/usr/include/asm/fixmap.h:72: parse error before `pgprot_t'
In file included from /usr/include/asm/smp.h:21,
                 from /usr/include/linux/smp.h:14,
                 from /usr/include/linux/sched.h:23,
                 from ../../include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from ../../include/linux/mm.h:23,
                 from ../../include/linux/comedidev.h:36,
                 from data.c:26:
/usr/include/asm/apic.h:83: parse error before `unsigned'
In file included from /usr/include/linux/sched.h:23,
                 from ../../include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from ../../include/linux/mm.h:23,
                 from ../../include/linux/comedidev.h:36,
                 from data.c:26:
/usr/include/linux/smp.h:29: parse error before `('
In file included from ../../include/linux/timer.h:15,
                 from /usr/include/linux/sched.h:82,
                 from ../../include/linux/sched.h:14,
                 from /usr/include/linux/mm.h:4,
                 from ../../include/linux/mm.h:23,
                 from ../../include/linux/comedidev.h:36,
                 from data.c:26:
/usr/include/linux/timer.h:17: field `list' has incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:53: warning: control reaches end of non-void function
In file included from ../../include/asm/pgtable.h:30,
                 from /usr/include/linux/vmalloc.h:8,
                 from ../../include/linux/vmalloc.h:14,
                 from ../../include/linux/comedidev.h:38,
                 from data.c:26:
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:24: parse error before `swapper_pg_dir'
/usr/include/asm/pgtable.h:24: warning: data definition has no type or storage class
In file included from /usr/include/asm/pgtable.h:115,
                 from ../../include/asm/pgtable.h:30,
                 from /usr/include/linux/vmalloc.h:8,
                 from ../../include/linux/vmalloc.h:14,
                 from ../../include/linux/comedidev.h:38,
                 from data.c:26:
/usr/include/asm/pgtable-2level.h:32: parse error before `pgd'
/usr/include/asm/pgtable-2level.h:32: warning: function declaration isn't a prot

Received on 2004-06-02Z13:00:12