I recently attempted to build RTnet 0.9.10 on Ubuntu Intrepid (8.10).
Previously I was building under Ubuntu Hardy (8.04).  A couple of the
Xenomai Posix examples failed to compile.  It appears that some of the
include files have changed between the two distributions.  In order to
get things compiling, I needed to explicitly include <limits.h> in a
couple of locations.  I've attached a patch.

-R
--- ./examples/xenomai/posix/rtt-responder.c	2007-10-12 18:06:26.000000000 -0700
+++ ./examples/xenomai/posix/rtt-responder.c	2009-02-09 17:51:01.457720030 -0800
@@ -38,6 +38,7 @@
 #include <netinet/in.h>
 #include <sys/mman.h>
 #include <arpa/inet.h>
+#include <limits.h>
 
 #include <rtnet.h>
 
--- ./examples/xenomai/posix/rtt-sender.c	2007-10-12 18:06:26.000000000 -0700
+++ ./examples/xenomai/posix/rtt-sender.c	2009-02-09 17:51:21.567758697 -0800
@@ -42,6 +42,7 @@
 #include <netinet/in.h>
 #include <sys/mman.h>
 #include <arpa/inet.h>
+#include <limits.h>
 
 #include <rtnet.h>
 
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to