Hi
I am trying to install rtnet in my linux(2.6.38.8)xenomai(2.6.0) kernel.
When I use the make command, the configuration window opens up and I enter
the confiugration which is given on the xenomai.org website.
I save the configuration and exit.But I a .rtnet_config file not found
error.
I googled my error and found that there is already a thread on the subject.
But the last mesg in the thread tells you to use a patch
*
*http://www.mail-archive.com/rtnet-users@lists.sourceforge.net/msg02981.html

I copied the patch code into a file called rt.patch and used the following
command in terminal

<rtnet folder>$ patch -p1<rt.patch

but it gives me an error saying that patch is broken on line 14
Here is the patch given on the above page:

diff --git a/configure b/configure
index 206c1d5..23b967a 100755
--- a/configure
+++ b/configure
@@ -11565,7 +11565,7 @@ if test \! -f $RTNET_KCONFIG_FILE; then
 $as_echo "$as_me: error: Kconfig-file $RTNET_KCONFIG_FILE not found --
--with-kconfig-file sets Kconfig file" >&2;}
    { (exit 1); exit 1; }; }
 fi
-. $RTNET_KCONFIG_FILE
+PATH=$PATH:. . $RTNET_KCONFIG_FILE
 { $as_echo "$as_me:$LINENO: result: $RTNET_KCONFIG_FILE ($kconfig_type)" >&5
 $as_echo "$RTNET_KCONFIG_FILE ($kconfig_type)" >&6; }

                                           <-this is line 14(its an
enter why?)
diff --git a/configure.ac b/configure.ac
index 7b13613..2eb98d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AC_MSG_CHECKING([for RTnet Kconfig file])
 if test \! -f $RTNET_KCONFIG_FILE; then
     AC_MSG_ERROR([Kconfig-file $RTNET_KCONFIG_FILE not found --
--with-kconfig-file sets Kconfig file])
 fi
-. $RTNET_KCONFIG_FILE
+PATH=$PATH:. . $RTNET_KCONFIG_FILE
 AC_MSG_RESULT([$RTNET_KCONFIG_FILE ($kconfig_type)])


-- 
Mohit Kumar
Third Year Student
Indian Institute of Technology,Delhi

He who can no longer pause to wonder and stand rapt in awe, is as good as
dead; his eyes are closed.
Albert Einstein
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to