Hello Thomas,

thomas.de...@manroland.com wrote:
> Hello,
> 
> I am just trying to build the latest Rtnet release 0.9.11 on my PPC
> system with Xenomai 2.4.8 and kernel 2.4.25. I use the following shell
> script to configure it, but it fails with the error message below when
> make'ing it. Do you have any ideas?
> 
> ./configure --host=ppc-linux \
>     --with-linux=$KERNELDIR --prefix=$INSTALLDIR \
>     --with-rtext-config=$XENODIR/bin/xeno-config \
>     --disable-e1000 --disable-8139  --disable-8139too \
>     --enable-mpc52xx-fec --disable-eepro100 \
>     --enable-proxy --enable-proxy-udp --enable-proxy-arp \
>     --enable-net-routing --disable-icmp --enable-rtcap
> 
> 
> In file included from rtdev.c:33:
> ../stack/include/rtskb.h: In function `rtskb_queue_init':
> ../stack/include/rtskb.h:289: error: parse error before '{' token
> ../stack/include/rtskb.h: At top level:
> ../stack/include/rtskb.h:290: error: parse error before '->' token
> ../stack/include/rtskb.h: In function `rtskb_prio_queue_init':
> ../stack/include/rtskb.h:301: error: parse error before '{' token
> rtdev.c: In function `rtdev_alloc':
> rtdev.c:243: error: parse error before '{' token
> make[2]: *** [libkernel_rtnet_a-rtdev.o] Fehler 1
> make[2]: Leaving directory `/home/rtnet/src/stack'
> make[1]: *** [install-recursive] Fehler 1
> make[1]: Leaving directory `/home/rtnet/src/stack'
> make: *** [install-recursive] Fehler 1
> develo...@linux-devbox:~/rtnet/src>

This distribution (rtnet-0.9.11.tar.bz2) seems to be broken, e.g. the
file "drivers/mpc52xx_fec/rt_mpc52xx_fec.h" is missing, but I was able
to build RTnet's head of the GIT repository with your configuration with
the patch below. I did not see the problems you listed above, though.

Wolfgang.


[PATCH] Fix build problems with Linux 2.4.25.

Signed-off-by: Wolfgang Grandegger <w...@grandegger.com>
---
 stack/ipv4/udp.c |    1 +
 1 file changed, 1 insertion(+)

Index: rtnet/stack/ipv4/udp.c
===================================================================
--- rtnet.orig/stack/ipv4/udp.c
+++ rtnet/stack/ipv4/udp.c
@@ -33,6 +33,7 @@

 #include <rtskb.h>
 #include <rtnet_internal.h>
+#include <rtnet_port.h>
 #include <rtnet_iovec.h>
 #include <rtnet_socket.h>
 #include <ipv4/ip_fragment.h>



------------------------------------------------------------------------------
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to