Re: Error in make after make menuconfig (rtai 3.9.2 with Ubuntu 10.04 Lucid Lynx (2.6.32))

Paolo Mantegazza <[email protected]> Thu, 20 Apr 2017 11:46:12 +0200
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
On 04/20/2017 06:21 AM, bhargavb wrote:
> Thank you for the reply.
>
> I have only chosen Lucid Lynx for the reason that it is an LTS version 
> presuming it might be better than internediate other versions though 
> its support has long been withdrawn. Also, I thought older the rtai 
> patch stable would it be and ease my setup and work. I don't actually 
> have any other technical reason.
>
> Now, I have taken a later version (Ubuntu Utopic Unicorn 14.10, kernel 
> version 3.16.0) and rtai patch (hal-linux-3.16-x86-3.patch) from 
> https://github.com/ShabbyX/RTAI/tree/magma .
>
Take into account that an RTAI hal patch must be applied to an original 
kernel, from www.kernel.org, having its very same version, not to the 
kernel that comes with your distribution.
Have you care of that?
To be clearer, I've PC with an old DEBIAN/Linux 5.0 (Feb. 2009), with 
Linux 2.6.26-2-686, on which i run the latest RTAI, from vulcano, using 
Linux-4.4.43.
Paolo
> I am finding it difficult to apply patch, getting Hunk failures (9 
> failures, failure log attached) and do not know how to resolve them.
>
> *I need help in this regard as I doubt if I can find patches for any 
> kernel and apply without any failures/modifications. I cannot resolve 
> diff issues either for hunk failures.*
>
> I would anyways keep searching and trying better matching in kernel 
> versions of Ubuntu and rtai, with the hope that I would at least 
> minimise the hunk failures to resolve if not none.
>
> Thank you
>
>
> On Wed, Apr 19, 2017 at 2:31 PM, Paolo Mantegazza 
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Just one question: is there any reason to stay on such older RTAI
>     versions?
>     My suggestion is to use a more recent one, supporting Linux 3 and
>     4, in which 64-32 bits are unified, e.g. rtai-5.0-test2 or Vulcano
>     CVS.
>     Paolo
>
>
>     On 04/19/2017 05:03 AM, bhargavb wrote:
>>     Dear team,
>>
>>     I need to work on rtai patch for porting and testing an application in
>>     real time mode.
>>
>>     My machine is 64 bit, so I was looking for patches and I have no
>>     preference on version of kernel except that it should be at least 2.6
>>     kernel to apply patch.
>>
>>     Question 1:
>>     I chose Lucid Lynx (Ubnutu 10.04 with 2.6.32 kernel version) and
>>     realized that rtai 3.8 is that last one in 2.6 kernel with patches in
>>     x86_64 folder for patching my x86_64 machine.
>>     But then, as per one of answers in rtai mailing lists, I realized that
>>     the standard is not strictly followed to keep the patches for 64 bit
>>     in x86_64 directory, and x86 directory containing patches for 32 bit
>>     version can be used for an x86_64 machine. So, I chose rtai-3.9.2
>>     (2.6.32-20 kernel patch)  for patching Ubuntu 10.04 (2.6.32). Kindly
>>     confirm if this is acceptable.
>>
>>     Question 2:
>>     As per above way,  and installation how to text file inrtai.org <http://rtai.org>, I
>>     followed steps till make menuconfig and make clean. Then I did make
>>     where am getting error. Log is attached.
>>     Kindly guide.
>>
>>     Note: I do not have preference on Ubuntu version to apply rtai patch.
>>     Can do on any Ubuntu 64 bit version which has stable rtai patch.
>>
>>     Thanks and regards,
>>     Bhargav
>>
>>
>>     _______________________________________________
>>     Rtai mailing list
>>     [email protected] <mailto:[email protected]>
>>     https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>>     <https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai>
>
>     _______________________________________________ Rtai mailing list
>     [email protected] <mailto:[email protected]>
>     https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>     <https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai> 
>
> -- 
> Bhargav

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai