- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Fri, 09 Jun 2006 10:29:43 +0100
On 08/06/06 22:32, Russell Poyner wrote: > First I'll recap what I did to get comedi to compile. > 1. unpack the 0.7.7 distribution ITYM 0.7.70 > 2. unpack the contents of the CVS snapshot over the comedi directory The snapshot on the main download page seems to be some really ancient thing. Don't use it. (We really need to raise a bug about that!) If you want a proper snapshot, follow the "Browse CVS Directory" link, then the "comedi/" directory link, then use the "Download tarball" link at the bottom, or just use this: <http://www.comedi.org/cgi-bin/viewcvs.cgi/comedi.tar.gz?view=tar> > 3. ./configure You really need to use ./autogen.sh as the configure script from 0.7.70 will be out of date. In fact it would be better to unpack the CVS snapshot into a clean directory. > 4. edit config.status and replace -include include/linux/autoconf.h with > -include /usr/src/linux-source-2.6.15/include/linux/autoconf.h Instead, you could try: ./configure --enable-kbuild > 5. run config.status > 6. edit modtools and replace the -include path same as above > 7. make > 8. a bunch of targets in comedi/drivers wouldn't build. deleted them from the > make file and continued. > 9. eventually was able to run: sudo make install without errors > sudo modprobe das16 gave: > > WARNING: Error inserting comedi (/lib/modules/2.6.15-23-686/comedi/comedi.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting 8255 (/lib/modules/2.6.15-23-686/comedi/8255.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting comedi_fc > (/lib/modules/2.6.15-23-686/comedi/comedi_fc.ko): Unknown symbol in module, > or unknown parameter (see dmesg) > FATAL: Error inserting das16 (/lib/modules/2.6.15-23-686/comedi/das16.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > > A sample of the messages. > comedi: Unknown symbol class_simple_device_add > comedi: Unknown symbol class_simple_destroy > comedi: Unknown symbol class_simple_device_remove > comedi: Unknown symbol class_simple_create Just start afresh! -- -=( 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-06-09Z08:29:43