- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Mon, 15 May 2006 16:29:40 +0100
On 15/05/06 08:05, Maz The Northener wrote: > Hi dee Ho list! > > I had comedi drivers && comedilib provided in a tarball at comedi.org > <http://comedi.org> installed on SuSe 9.1. However I had problems with > comedi_calibrate with PCI-DAS 6014 DAQ card. I noticed that > comedi_calibrate was changed to CVS version, and decided to see if it > affects on calibrating my card. Anyways, since I'm generally quite > displeased with SuSe, I decided to give FC 5 a try. Now I am not able to > compile comedi with FC 5 kernel ( 2.6.15-1.2054_FC5). I did try it in a > following way: > > 1. I downloaded the correct kernel.scr.rpm, and installed it. Then I > selected the correct ..config for my kernel, and copied it into .config > file at the sources top directory. Next I created symbolic link > /usr/src/linux pointing in the sources directory. > > I did full make for kernel sources. > > 2. I get the CVS version of both comedi and comedilib, and placed them > in /usr/src/linux. (where the sumbolic link pointed.) There should be no need to copy comedi or comedilib to /usr/src/linux. And it should be sufficient to install the kernel and kernel-devel packages, except that there will be problems compiling the PCMCIA drivers. > Then I ran ./autogen.sh without any options (output of that below) (in > /usr/src/linux/comedi folder) > Next I tried make in same folder. I suggest you try the --enable-kbuild option when running ./autogen.sh or ./configure. It will hopefully eliminate the errors except for the PCMCIA drivers. To get the PCMCIA drivers to work, then for now you'll have to use a vanilla 2.6.15 kernel instead of Fedora's 2.6.15 kernel. Fedora have backported some PCMCIA changes from 2.6.16 to their 2.6.15 kernel. Comedi does not currently compile with these changes, which is why I suggest using a vanilla 2.6.15 kernel. I wrote an (untested) patch to support PCMCIA in 2.6.16. It can be found attached to Comedi bug #221. But it does not account for Fedora backporting the changes to 2.6.15, so it won't work for you yet. I'll have a go at updating the patch to account for Fedora. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-05-15Z14:29:40