Hi, I think, that you have chosen wrong driver or your NIC is not supported by selected rt driver. Unfortunately rt drivers haven't been updated recently, so there can be a problem with newer NICs.
Best regards, Maruisz Dnia Wtorek, 6 Maja 2014 16:23 Mnatsakanyan, M. <m.mnatsakan...@tue.nl> napisał(a) > Thank you, that solved the problem with compilation, but now I am having a > different problem. > > Now I get errors on "rtnet start". Again, I follow the installation & test > instructions. > > The errors are as follows: > > rteth0: ERROR while getting interface flags: No such device > rteth0-mac: ERROR while getting interface flags: No such device > ioctl: No such device > ioctl: No such device > ioctl: No such device > ioctl: No such device > ioctl (add): No such device > vnic0: ERROR while getting interface flags: No such device > SIOCSIFADDR: No such device > vnic0: ERROR while getting interface flags: No such device > SIOCSIFNETMASK: No such device > Waiting for all slaves...ioctl: No such device > ioctl: No such device > > Regards, > Mari > ________________________________________ > From: Mariusz Janiak [mariuszjan...@wp.pl] > Sent: Tuesday, May 06, 2014 1:45 PM > To: Mnatsakanyan, M. > Cc: rtnet-users@lists.sourceforge.net > Subject: Re: [RTnet-users] RTNet compilation failed > > Hi, > > Try RTnet git version, this issue has been resolved already. The problem is > with __devinit and __devexit that are not supported by newer kernels. You can > remove them by your own. > > Best regards, > Mariusz > > Dnia Wtorek, 6 Maja 2014 13:29 Mnatsakanyan, M. <m.mnatsakan...@tue.nl> > napisał(a) > > 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 ------------------------------------------------------------------------------ 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