- From: Bernd Porr <BerndPorr_at_f2s.com>
- Date: Thu, 30 Sep 2004 09:38:27 +0100
Daniel,
the thing is that the build system is changing basically from version to
version. It's very hard to make comedi compile under all kernel
versions. We discussed this here that basically support for 2.6.x starts
with 2.6.6 I think because of these issues.
Have you tried the newest one: 2.6.8.1?
comedi with 2.6.7 compiled on my machine without any problems.
You can also try out my patched kernel 2.6.8.1-comedi. It contains
comedi already.
http://www.linux-usb-daq.co.uk/driver/
/Bernd
www: http://www.berndporr.me.uk/
http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work: +44 (0)141 330 5237
University of Glasgow
Department of Electronics & Electrical Engineering
Room 519, Rankine Building, Oakfield Avenue,
Glasgow, G12 8LT
Daniel Nilsson wrote:
> Hi,
>
> I tried to build the CVS version of the comedi kernel modules under
> kernel 2.6.7 yesterday. That didn't work so well though, I had to make
> the following small change to the source. Seems like this patch could
> easily make the build fail on older kernel though, but I don't have a
> way to test that currently. Is there a more permanent solution to this
> problem ?
>
> Index: as-linux.m4
> ===================================================================
> RCS file: /var/cvs/comedi/m4/as-linux.m4,v
> retrieving revision 1.7
> diff -u -r1.7 as-linux.m4
> --- as-linux.m4 2 Jun 2004 19:00:59 -0000 1.7
> +++ as-linux.m4 30 Sep 2004 01:17:54 -0000
> _at__at_ -496,7 +496,7 _at__at_
> LINUX_MODULE_EXT=".ko"
>
> LINUX_CFLAGS="$LINUX_CFLAGS $LINUX_CFLAGS_MODULE"
> - LINUX_MODPOST="$LINUX_DIR/scripts/modpost"
> + LINUX_MODPOST="$LINUX_DIR/scripts/mod/modpost"
>
> AC_SUBST(LINUX_ARCH)
> AC_SUBST(LINUX_AFLAGS)
>
> Thanks
Received on 2004-09-30Z07:38:27