Hello Jan,

Thanks for your help. I'm making some progress.
I'm using linux i386 kernel 2.6.22.10, xenomai 2.4-rc5, and RTnet trunk 
1140.
I'm being able to run "make menuconfig" and "make".
But I still have problem with "make install" when enable RTnet 
Application Examples. (/usr/xenomai/bin/xeno-config)

The messages are:
Making install in examples
make[1]: Entering directory `/home/dennisn/work/rtnet/examples'
Making install in generic
make[2]: Entering directory `/home/dennisn/work/rtnet/examples/generic'
make[3]: Entering directory `/home/dennisn/work/rtnet/examples/generic'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/dennisn/work/rtnet/examples/generic" || mkdir -p -- 
"/home/dennisn/work/rtnet/examples/generic"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c 
'linux_client' '/home/dennisn/work/rtnet/examples/generic/linux_client'
/usr/bin/install -c linux_client 
/home/dennisn/work/rtnet/examples/generic/linux_client
/usr/bin/install: `linux_client' and 
`/home/dennisn/work/rtnet/examples/generic/linux_client' are the same file
make[3]: *** [install-examplePROGRAMS] Error 1
make[3]: Leaving directory `/home/dennisn/work/rtnet/examples/generic'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/dennisn/work/rtnet/examples/generic'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/dennisn/work/rtnet/examples'
make: *** [install-recursive] Error 1

Any suggestion please?

Thanks,
Dennis

Jan Kiszka wrote:
> Dennis Nguyen wrote:
>   
>> Hello,
>>
>> I'm using linux kernel i386 2.6.20.10, xenomai 2.4-rc5,
>> I configured the RTnet:
>> Variant (xenomai 2.1 or better)
>> (/lib/modules/`uname -r`/build)
>> (/home/dennisn/work/rtnet) (for trunk)
>> (/home/dennisn/work/rtnet-0.9.9) (for 0.9.9)
>> (32) Size of Central RX-FIFO
>> [*] Real-Time IPv4
>> [*] Real-Time packet Socket Support
>> [*] Intel EtherExpress PRO/100
>> (2) Command Timeout
>> [*] Intel(R) PRO/1000 (Gigabit)
>> [*] NatSemi
>> [*] Realtek 8139
>> [*] Real-Time Capturing Support
>> [*] RTnet Application Examples
>> (/usr/xenomai/bin/xeno-config)
>>
>> I tried to make with both RTnet trunk 1140 and 0.9.9
>>
>> Error from 1140 trunk
>> from frag-ip.c:35:
>> /usr/xenomai/include/nucleus/types.h: At top level:
>> /usr/xenomai/include/nucleus/types.h:89: error: expected ‘=’, ‘,’, ‘;’, 
>>     
>
> That's unexplainable and doesn't happen here on my box. Is this the full
> error message (no related lines above this were cut off)? Please also
> re-check (re-build, re-install) your Xenomai user land installation.
>
>   
Re-built, worked.
>> ‘asm’ or ‘__attribute__’ before ‘xnflags_t’
>> make[4]: *** [frag-ip.o] Error 1
>> make[4]: Leaving directory 
>> `/home/dennisn/work/rtnet/examples/xenomai/native'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory 
>> `/home/dennisn/work/rtnet/examples/xenomai/native'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/dennisn/work/rtnet/examples/xenomai'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/dennisn/work/rtnet/examples'
>> make: *** [all-recursive] Error 1
>>
>> Error from 0.9.9
>> CC [M] /home/dennisn/work/rtnet-0.9.9/stack/rtnet_rtpc.o
>> /home/dennisn/work/rtnet-0.9.9/stack/rtnet_rtpc.c: In function ‘rtpc_init’:
>> /home/dennisn/work/rtnet-0.9.9/stack/rtnet_rtpc.c:256: warning: passing 
>> argument 2 of ‘rtdm_nrtsig_init’ from incompatible pointer type
>> /home/dennisn/work/rtnet-0.9.9/stack/rtnet_rtpc.c:256: error: too few 
>> arguments to function ‘rtdm_nrtsig_init’
>>     
>
> This is expected, only RTnet from SVN works with upcoming Xenomai 2.4.
>
>   
Does it mean, it won't work with current Xenomai (even with 2.4-rc5)? If 
so, what should I work around?
>> make[4]: *** [/home/dennisn/work/rtnet-0.9.9/stack/rtnet_rtpc.o] Error 1
>> make[3]: *** [_module_/home/dennisn/work/rtnet-0.9.9/stack] Error 2
>> make[3]: Leaving directory `/usr/src/kernels/linux-2.6.20.10'
>> make[2]: *** [all-local.ko] Error 2
>> make[2]: Leaving directory `/home/dennisn/work/rtnet-0.9.9/stack'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/dennisn/work/rtnet-0.9.9/stack'
>> make: *** [all-recursive] Error 1
>>
>> Any suggestion please,
>> Thanks
>> Dennis
>>
>>     
>
> Jan
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to