Compiling from CVS on new system

Hi everyone.
I'm starting to have fun with a USB DUX on one of our new extruders.
I'm having trouble compiling comedi from CVS.  You may have a really
simple answer to this one.  Do I need to go back a version or two in my
kernel, gcc, or comedi?  I hope not.
I have also tried Bernd's snapshot from the linux-usb-daq.co.uk web
page.
Please see the samples of output from make below.  Let me know if you
need anything further.
Thanks very much in advance.

Neil.


Vanilla 2.6.9 kernel on Mandrake 10.1 official.
# gcc --version
gcc (GCC) 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)

# cvs -d :pserver:anonymous_at_cvs.comedi.org:/var/cvs login
# cvs -d :pserver:anonymous_at_cvs.comedi.org:/var/cvs co comedi
# cd comedi
# ./autogen.sh
# ./configure
# make
..
..
/usr/include/asm/uaccess.h:453: error: `u32' undeclared (first use in
this function)
/usr/include/asm/uaccess.h:453: error: syntax error before ')' token
..
..
comedi_fops.c:1857: error: `SRF_USER' undeclared (first use in this
function)
comedi_fops.c:1859: error: `dev' undeclared (first use in this function)
comedi_fops.c: At top level:
comedi_fops.c:1890: error: syntax error before '*' token
comedi_fops.c: In function `init_async_buf':
comedi_fops.c:1892: error: `async' undeclared (first use in this
function)
comedi_fops.c: At top level:
comedi_fops.c:1732: error: storage size of `comedi_fops' isn't known
make[3]: *** [comedi_fops.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Received on 2004-12-10Z00:07:28