Dear all,

    I am a young researcher and I am new to rtnet.  My present project consists 
in
    interfacing a desktop pc equipped with two ethernet cards:

    
-RTL8111/8168B PCI Express Gigabit Ethernet controller

    -Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)


    with two Comau robots controllers by rtnet 0.9.12 and linux rtai
    operative system:

    linux 2.6.35.9 + rtai 3.9.1 (gcc-4.4.3)

    

    I am trying to install rtnet but I am getting crazy.

    The configure options are:

     ./configure --with-rtext=/usr/realtime
    --with-linux=/usr/src/linux-2.6.35.9-rtai-3.9.1-smp/
    --with-rtext-config=/usr/realtime/bin/rtai-config
    --with-module-dir=/lib/modules/2.6.35.9-rtai-3.9.1-smp/ --eneable-eepro100 
--enable-r8169

    

    The  first error I get on make is:

    In file included from /usr/src/rtnet-0.9.12/stack/rtdev.c:32:

    /usr/src/rtnet-0.9.12/stack/include/rtnet_internal.h: In function
    ‘RTNET_MOD_INC_USE_COUNT_EX’:

    /usr/src/rtnet-0.9.12/stack/include/rtnet_internal.h:153: error:
    implicit declaration of function ‘__module_ref_addr’

    /usr/src/rtnet-0.9.12/stack/include/rtnet_internal.h:153: error:
    invalid type argument of ‘->’ (have ‘int’)

    

    by fixing somehow the involved file (by commenting a macro)
    and recompiling, here is the result:

    

    CC [M]  /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.o

      /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.c: In function
      ‘e1000_set_multi’:

      /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.c:2108: error:
      dereferencing pointer to incomplete type

      /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.c:2109: error:
      dereferencing pointer to incomplete type

      /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.c:2127: error:
      dereferencing pointer to incomplete type

      /usr/src/rtnet-0.9.12/drivers/e1000/e1000_main.c:2128: error:
      dereferencing pointer to incomplete type

    

    I don't know what to do.

    

    

    Thanks in advance. Best,

    

    Alessandro                                                                  
          
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to