Michael Neuhauser wrote:
On Mon, 2005-05-09 at 12:25, Marc Kleine-Budde wrote:

On Sat, May 07, 2005 at 01:49:36PM +0200, Michael Neuhauser wrote:

[...]

* the DESTDIR env-variable modifies the output of
 'rtai-config --prefix'. It is prefixed to the paths.
 (see [1] for details)

Ah, that's the info I was missing (the "export" before DESTDIR should have been a clue; well it was late ...).

So, what was the problem?


It was my fault. I've used a wrong value for --with-rtai (the
"/usr/realtime" suffix was missing). Now it compiles without problems
(for RTAI vulcano on ARM/EP9301, linux 2.4.21).


That's fine.

I've noticed that `config-rtai --lxrt-ldflags` is not used in
addons/examples/lxrt. This is problematic if RTAI debugging is enabled
and the RTAI inlining mode is set to "extern inline": debugging enabled
-> no optimisation -> functions are not inlined -> symbols like
"rt_printk" are missing because executables are not linked with liblxrt.


Thanks, we'll have a look at this.


Perhaps I could add some more sanity checks,
to prevent the mistake in the future for other users....


In this special case, a check if RTNET_RTAI_PREFIX is really a suffix of
RTAI_DIR would have caught my mistake. But one can not check everything
(I have a bad feeling to say "go on, put the test in" when it was my own
stupidity that caused the problem).

Another thing: is there a quick way to test basic rtnet functionality on
my ARM board without having a real-time ethernet driver?


insmod rtai_rtdm insmod rtnet insmod rt_loopback # the next one is only for starting the timer insmod rtcfg rtifconfig rtlo up 127.0.0.1 rtping 127.0.0.1 # or insmod addons/examples/frag-ip/frag-ip

Jan


------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to