- From: Daniel Nilsson <daniel_at_oden.homeip.net>
- Date: Wed, 29 Sep 2004 21:24:21 -0400
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
--
Daniel Nilsson
Received on 2004-09-30Z00:24:21