- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Thu, 17 Feb 2005 14:39:58 +0000
On 16/02/05 19:37, Bob Apodaca wrote: > I am not using the usbdux driver, but when I installed comedi 0.7.69 two > symbols were unresolved: likely and unlikey. > > I am using kernel 2.4.9. I searched around the source and could not > find where these functions were defined, perhaps in a later kernel? They were added to include/linux/compiler.h in 2.4.10, but this doesn't seem to be included by any of the other linux/*.h files until later on: include/linux/kernel.h 2.4.19 includes linux/compiler.h include/linux/init.h 2.4.26 includes linux/compiler.h include/linux/module.h 2.4.27 includes linux/compiler.h include/linux/string.h 2.4.28 includes linux/compiler.h The include/linux/compiler.h file itself did not appear until 2.4.4. I have attached a patch against CVS to include linux/compiler.h from linux/comedidev.h - it should apply against comedi 0.7.69 okay. You also need the attached compiler.h compatibility header. It goes in Comedi's include/linux directory. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Attachments
- text/x-patch attachment: incl_compiler.patch
- text/x-chdr attachment: compiler.h
Received on 2005-02-17Z14:39:58