Yes, it worked!
I haven't test the connection yet, but I was able to load the real time TCP
module succesfully.
Thanks a lot!

On Fri, Apr 8, 2011 at 8:03 PM, Jan Kiszka <jan.kis...@web.de> wrote:

> On 2011-03-29 19:15, Ivan Lonel wrote:
> > Hi everybody,
> > I'm trying to install RTnet, with rtai 3.8.1, on a Debian with kernel
> > 2.6.32.11. I downloaded RTnet from git last friday, 25th.
> > The problem is: when I run 'make' to compile RTnet, it shows the
> following
> > error message:
> >
> > /usr/src/rtnet/stack/ipv4/tcp/timerwheel.c:166: error: implicit
> declaration
> > of function `msleep`
> >
> > Before compiling, I'm configuring RTnet with TCP enabled, using the
> > following command line:
> >
> > # ./configure --with-rtext=/usr/realtime
> > --with-linux=/usr/src/linux-2.6.32.11
> > --with-rtext-config=/usr/realtime/bin/rtai-config
> > --with-module-dir=/lib/modules/2.6.32.11-rtai --enable-examples
> > --enable-rtcap --enable-tcp=y --enable-8139=y
> >
> > What could be the reason for that message?
>
> Does this patch resolve the breakage?
>
> diff --git a/stack/ipv4/tcp/tcp.c b/stack/ipv4/tcp/tcp.c
> index 5c831dc..2b40d5c 100644
> --- a/stack/ipv4/tcp/tcp.c
> +++ b/stack/ipv4/tcp/tcp.c
> @@ -23,6 +23,7 @@
>  #include <linux/list.h>
>  #include <linux/skbuff.h>
>  #include <linux/module.h>
> +#include <linux/delay.h>
>  #include <net/tcp_states.h>
>  #include <net/tcp.h>
>
> diff --git a/stack/ipv4/tcp/timerwheel.c b/stack/ipv4/tcp/timerwheel.c
> index 48bedc6..ff94329 100644
> --- a/stack/ipv4/tcp/timerwheel.c
> +++ b/stack/ipv4/tcp/timerwheel.c
> @@ -19,6 +19,8 @@
>  *
>  */
>
> +#include <linux/delay.h>
> +
>  #include <rtdm/rtdm_driver.h>
>  #include "timerwheel.h"
>
>
> Jan
>
>


-- 
Ivan D. Lonel
Computer engineering undergraduate
USP - Universidade de São Paulo (EESC/ICMC)
 São Carlos - SP, Brazil
+55(19)97328623, +55(16)81628500
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to