On Oct 2 2009, Jan Kiszka wrote:

>gohlx...@umn.edu wrote:
>> On Oct 1 2009, gohlx...@umn.edu wrote:
>> 
>>> Hi All,
>>>
>>> I'm trying to install RTNet (obtained from the last version in the git 
>>> repo
>>> as of yesterday) but am getting the following error when I run 
>>> configure:
>>> ...
>>> checking dependency style of gcc... gcc3
>>> checking for main in -lncurses... yes
>>> checking for RTnet Kconfig file... ./defconfig (default)
>>> checking for RT-extension... configure: error: *** RT-extended kernel 
>>> not
>>> found in /lib/modules/2.6.29.4-rtai-3.7.3/build
>>>
>>> I found a reference to a similar (or even the same) in the archives at:
>>>  
>>>  
>>> http://www.mail-archive.com/rtnet-users@lists.sourceforge.net/msg01699.html
>>> however there was no clear solution posted.
>>>
>>> I'm attempting to install this on an Ubuntu 9.04 system with a 2.6.29 
>>> kernel and RTAI-3.7 (test3 I think). My one thought that could be the 
>>> problem is that I actually installed the patched kernel via a deb 
>>> package
>>> that I generated on a different machine. I didn't compile the kernel on 
>>> this machine from source but the "build" folder listed above does 
>>> point to
>>> the correct linux headers folder that I also installed from a debian 
>>> package. My next step will be to try the official release version of 
>>> RTNet
>>> 0.9.11.
>>>
>>> Thanks for any help,
>>> Jesse
>>>
>> 
>> I just checked with 0.9.11 and I get the same error.
>> 
>
>Select CONFIG_RTNET_RTEXT_CLASSIC aka RTAI support during the RTnet
>configuration. If you use configure directly, provide the path to RTAI
>via --with-rtext.
>
>Jan
>
>

Hi Jan,

thanks for the reply. Yes, that solved that problem. The full command I'm 
using is:
./configure --with-rtext=/usr/realtime 
--with-linux=/usr/src/linux-2.6.31-rtai-3.7.1 
--with-rtext-config=/usr/realtime/bin/rtai-config 
--with-module-dir=/lib/modules/2.6.31-rtai-3.7.1



Now I'm getting a new error when I run make:
...
 CC [M]  /usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.o
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c: In function 
ârtmac_vnic_setupâ:
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c:241: error: âstruct 
net_deviceâ has no member named âopenâ
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c:242: error: âstruct 
net_deviceâ has no member named âget_statsâ
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c:243: error: âstruct 
net_deviceâ has no member named âchange_mtuâ
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c:244: error: âstruct 
net_deviceâ has no member named âset_mac_addressâ
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c: In function 
ârtmac_vnic_addâ:
/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.c:286: error: âstruct 
net_deviceâ has no member named âhard_start_xmitâ
make[5]: *** [/usr/local/src/rtnet-0.9.11/stack/rtmac/rtmac_vnic.o] Error 1
make[4]: *** [_module_/usr/local/src/rtnet-0.9.11/stack/rtmac] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.31-rtai-3.7.1'
make[3]: *** [all-local.ko] Error 2
make[3]: Leaving directory `/usr/local/src/rtnet-0.9.11/stack/rtmac'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/rtnet-0.9.11/stack/rtmac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/rtnet-0.9.11/stack'
make: *** [all-recursive] Error 1

Any ideas on this issue?

Jesse

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to