Hello Wolfgang, after digging around a little bit I found out that the error message is related to "rtdm_lock_t" which is part of several struct definitions in rtskb.h. Looking for its definition led me to the I-pipe stuff. And yes indeed: by patching my kernel with adeos-ipipe-2.4.25-ppc-DENX-1.2-02.patch instead of adeos-ipipe-2.4.25-ppc-DENX-2.0-01.patch solved the problem. Everything compiles as expected. Obviously there must be something different in handling locks between both patches. Can you confirm this?
Regards Thomas > -----Ursprüngliche Nachricht----- > Von: Wolfgang Grandegger [mailto:w...@grandegger.com] > Gesendet: Mittwoch, 1. Juli 2009 19:00 > An: Debes, Thomas RAEK3 MRA > Cc: RTnet-users@lists.sourceforge.net > Betreff: Re: [RTnet-users] Problems building RTnet 0.9.11 on Xenomai > 2.4.8 with PPC Kernel 2.4.25 > > 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> > -------------------------------------------------------- manroland AG Vorsitzender des Aufsichtsrates: Hanno C. Fiedler Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul Steidle Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht Offenbach HRB-Nr. 42592 USt-Ident-Nr. DE 250200933 ------------------------------------------------------------------------------ _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users