Hey Alexis,
>> That's because you did not retrieve the "comedi" branch, you are working
the
>> master branch which is left unused.
>> You should create a branch on your local repository with the remote
comedi
>> branch as reference.
Sorry... I managed to do it :) (I am new to git) However, I could not
compile the kernel :(
drivers/xenomai/comedi/intel/8255.c:50:47: error: macro
"subdev_8255_interrupt" requires 2 arguments, but only 1 given
drivers/xenomai/comedi/intel/8255.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘{’ token
drivers/xenomai/comedi/intel/8255.c: In function ‘do_config’:
drivers/xenomai/comedi/intel/8255.c:85: error: ‘CR_CW’ undeclared (first use
in this function)
drivers/xenomai/comedi/intel/8255.c:85: error: (Each undeclared identifier
is reported only once
drivers/xenomai/comedi/intel/8255.c:85: error: for each function it appears
in.)
drivers/xenomai/comedi/intel/8255.c:88: error: ‘CR_A_IO’ undeclared (first
use in this function)
drivers/xenomai/comedi/intel/8255.c:90: error: ‘CR_B_IO’ undeclared (first
use in this function)
drivers/xenomai/comedi/intel/8255.c:92: error: ‘CR_C_LO_IO’ undeclared
(first use in this function)
drivers/xenomai/comedi/intel/8255.c:94: error: ‘CR_C_HI_IO’ undeclared
(first use in this function)
drivers/xenomai/comedi/intel/8255.c:95: error: ‘_8255_CR’ undeclared (first
use in this function)
drivers/xenomai/comedi/intel/8255.c: In function ‘subd_8255_insn_bits’:
drivers/xenomai/comedi/intel/8255.c:146: error: ‘_8255_DATA’ undeclared
(first use in this function)
drivers/xenomai/comedi/intel/8255.c:204:42: error: macro "subdev_8255_init"
requires 2 arguments, but only 1 given
drivers/xenomai/comedi/intel/8255.c: At top level:
drivers/xenomai/comedi/intel/8255.c:205: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘{’ token
drivers/xenomai/comedi/intel/8255.c: In function ‘dev_8255_attach’:
drivers/xenomai/comedi/intel/8255.c:274: error: ‘_8255_SIZE’ undeclared
(first use in this function)
drivers/xenomai/comedi/intel/8255.c:282:25: error: macro "subdev_8255_init"
requires 2 arguments, but only 1 given
drivers/xenomai/comedi/intel/8255.c:282: error: ‘subdev_8255_init’
undeclared (first use in this function)
drivers/xenomai/comedi/intel/8255.c: In function ‘dev_8255_detach’:
drivers/xenomai/comedi/intel/8255.c:306: error: ‘_8255_SIZE’ undeclared
(first use in this function)
make[4]: *** [drivers/xenomai/comedi/intel/8255.o] Error 1
make[3]: *** [drivers/xenomai/comedi/intel] Error 2
make[2]: *** [drivers/xenomai/comedi] Error 2
make[1]: *** [drivers/xenomai] Error 2
make: *** [drivers] Error 2
When I reconfigure the kernel to not compile 8255 and friends it does not
compile either...
... snip ...
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 11692 bytes (padded to 11776 bytes).
System is 2347 kB
CRC 84c0200
Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "comedi_alloc_subd" [drivers/xenomai/comedi/testing/comedi_loop.ko]
undefined!
ERROR: "comedi_alloc_subd" [drivers/xenomai/comedi/testing/comedi_fake.ko]
undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
I tried 2.6.31 and 2.6.30.5.
I really appreciate your help !
Thanks,
peter
On Fri, Oct 16, 2009 at 3:31 PM, Alexis Berlemont <[email protected]>wrote:
> On Saturday 17 October 2009 00:06:21 Peter Pastor wrote:
> > Hey Alexis,
> >
> > Thanks for your response !!
> >
> > >> Yes take the abe repository, please. I will make a pull request soon.
> >
> > I downloaded the git xenomai-abe repository and installed linux-2.6.29.1
> > (since there was no patch for 2.6.30.5).
> >
>
> That's because you did not retrieve the "comedi" branch, you are working
> the
> master branch which is left unused.
>
> You should create a branch on your local repository with the remote comedi
> branch as reference.
>
> > The installation worked out, however, it seems that the comedi_pcimio
> > driver is not included.
> > Am I missing something during configuring the kernel ??
> >
> > From what I understand now is that I need xeno_comedi.ko which is the
> > interface to xenomai and RTDM and I need comedi_pcimio.ko which actually
> > talks to the hardware and does real-time capable I/O. Is this correct ??
> >
> > Thanks a lot, I am really glad that I am getting somewhere !!
> >
> > peter
> >
>
> Alexis.
>
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help