On 2011-05-07 19:43, Franz Engel wrote:
> Hi all,
> 
> I have a little problem with the installation of rtnet and my new RT-System. 
> I use Xenomai 2.5.6 with a 2.6.37.6 Linux kernel.
> I tried to configure rtnet with it's script:
> ./configure --with-linux=/usr/src/linux 
> --with-rtext-config=/usr/xenomai/bin/xeno-config --enable-examples 
> --enable-rtcap
>  
> I got this error message:
> checking for RT-FireWire installation... none
> configure: error: *** Unsupported kernel version 
> 
> In the error message there is no information about the versionnumber. But in 
> the script I saw thet the number should be print out.
> 
> So I repleased the line:
> RTEXT_LINUX_VERSION=`grep "#define UTS_RELEASE" $LINUX_RELEASE_FILE 
> 2>/dev/null | sed -e 's/[^\"]*\"\([^\"]*\)\"/\1/'`
> with:
> RTEXT_LINUX_VERSION=2.6.37.6
> because I thought that it was not possible to read out the kernel Version and 
> this cause the failure. With this modification the script runs fine. But when 
> I tried to make "make" I got the following message:
> Making all in stack
> make[1]: Betrete Verzeichnis '/usr/src/rtnet-0.9.12/stack'
> Making all in .
> make[2]: Betrete Verzeichnis '/usr/src/rtnet-0.9.12/stack'
> make[3]: Betrete Verzeichnis '/usr/src/linux-2.6.37.6'
>   CC [M]  /usr/src/rtnet/stack/rtdev.o
> In file included from /usr/src/rtnet/stack/rtdev.c:32:
> /usr/src/rtnet/stack/include/rtnet_internal.h: In function 
> ‘RTNET_MOD_INC_USE_COUNT_EX’:
> /usr/src/rtnet/stack/include/rtnet_internal.h:152: error: implicit 
> declaration of function ‘local_inc’
> /usr/src/rtnet/stack/include/rtnet_internal.h:152: error: implicit 
> declaration of function ‘__module_ref_addr’
> make[4]: *** [/usr/src/rtnet/stack/rtdev.o] Fehler 1
> make[3]: *** [_module_/usr/src/rtnet/stack] Fehler 2
> make[3]: Verlasse Verzeichnis '/usr/src/linux-2.6.37.6'
> make[2]: *** [all-local.ko] Fehler 2
> make[2]: Verlasse Verzeichnis '/usr/src/rtnet-0.9.12/stack'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlasse Verzeichnis '/usr/src/rtnet-0.9.12/stack'
> make: *** [all-recursive] Fehler 1
> 
> For me it seem so that the function local_inc is not longer in 
> linux/module.h. I tried it with
>  __this_cpu_inc(module->refptr->incs);
> instead of:
> local_inc(__module_ref_addr(module, get_cpu()));
> but this causes a lot of other errors.
> 
> Does somebody has an idea?

Please retry with latest rtnet from git.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to