- From: Steve Sharples <sds_at_eee.nottingham.ac.uk>
- Date: Thu, 30 Sep 2004 10:06:08 +0100 (BST)
Hi there, Bizarrely enough, yesterday I was going through exactly the same process as Daniel on a new PC. The same change was required under 2.6.8-1.521 (Fedora Core 2). Cheers, Steve. On Thu, 30 Sep 2004, Bernd Porr wrote: > 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 > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi > This message has been scanned but we cannot guarantee that it and any attachments are free from viruses or other damaging content: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Received on 2004-09-30Z08:06:08