- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sun, 11 Jul 2004 22:06:27 -0400
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 09 July 2004 03:26 am, AlbertoSechi_at_libero.it wrote: > Hi, i'm trying to compile my kernel module (that works correctliy under > 2.4.22 with rtai-24.1.13 and comedi ) using rtai-3.1 and the patch > downloaded from Bernd Porr site. Now i have two questions: > > Is the patch to 2.6.x kernel the only way to use comedi with this kernel > release? I've tried to compile a CVS version of comedi using configure, > make etc but the result is : No. I can compile the current cvs against 2.6.6 and 2.6.7 without problems (I wasn't using an rtai patched kernel though). It looks like your linux CFLAGS are getting truncated or corrupted somehow, you're missing the - -D__KERNEL__ part, and the include paths to the kernel headers. Something probably went wrong during ./configure when it was trying to get the kernel CFLAGS. > Question 2: How can i compile correctly a kernel module using a Makefile > and including rtai3.1 and comedi headers? I've tried to use, as a > template, a GNUmakefile of rtai's showroom but with no results so far. > Thanks > Alberto. As of 2.6.6, the kernel's kbuild system has useable support for external module building. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA8fIn5vihyNWuA4URAslaAJ9ys6dgpV+zNlIQ/GMZ/0+5HOaOcwCg3Zxs u/0F6rnjRbyXSBxL57WCIjY= =A6Jz -----END PGP SIGNATURE-----
Received on 2004-07-12Z01:06:27