Hi,
I am having a problem with compilation. I used instructions in the page http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing Here are versions I use: RTNet: 0.9.13 Xenomai: 2.6.3 Linux kernel: 3.8.13 In config, I selected only Realtek 8169 (Gigabit) driver, which corresponds to my network card. I get the following errors: /usr/src/rtnet/drivers/rt_r8169.c:218:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’ static struct pci_device_id rtl8169_pci_tbl[] __devinitdata = { ^ /usr/src/rtnet/drivers/rt_r8169.c:656:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8169_init_board’ static int __devinit rtl8169_init_board ( struct pci_dev *pdev, struct rtnet_device **dev_out, unsigned long *ioaddr_out) ^ /usr/src/rtnet/drivers/rt_r8169.c:821:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8169_init_one’ static int __devinit rtl8169_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) ^ /usr/src/rtnet/drivers/rt_r8169.c:1066:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8169_remove_one’ static void __devexit rtl8169_remove_one (struct pci_dev *pdev) ^ /usr/src/rtnet/drivers/rt_r8169.c:2071:12: error: ‘rtl8169_pci_tbl’ undeclared here (not in a function) id_table: rtl8169_pci_tbl, ^ /usr/src/rtnet/drivers/rt_r8169.c:2072:10: error: ‘rtl8169_init_one’ undeclared here (not in a function) probe: rtl8169_init_one, ^ /usr/src/rtnet/drivers/rt_r8169.c:2073:11: error: ‘rtl8169_remove_one’ undeclared here (not in a function) remove: rtl8169_remove_one, Regards, Mari ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users