On 19/07/10 16:36, Andy Pugh wrote: > On 19 July 2010 16:17, alan battersby > <alan.battersby-XZoyATsUNX5Wk0Htik3J/[email protected]> wrote: > >> I am attempting to hopefully place emc onto opensuse 11.3. I have >> downloaded and compiled it as a simularor but want to run the real >> system. So have downloaded 11.3 kernel and compiled and created it. I >> now have a problem with rtai I downloaded RTAI 3.8 source run make and >> filled in the configuration values but get an error message >> >> configure: error: HAL patch not applied/enabled in /usr/src/linux > > You need to patch the kernel for RTAI and recompile it. > > If you look in your RTAI source under base/arch/x86/patches you should > find a patch file that you can apply to the kernel sources. > > You might also find a patching script in a "scripts" directory of the > RTAI download, I am not sure what that does, or how it works. When I > tried it it just told me that it didn't have a valid patch for my > kernel version, but applying the latest of the patches in the RTAI > 3.8.1 download to the latest ubuntu kernel download worked with no > rejections. >
Sorry, But I am on a steep learning curve here and struggling. I can see the patches in rtai-3.8/base/arch/x86_64/patches there is not one for my kernel which is 2.6.34 but there is a hal-linux-2.6.23-x86_64-1.4-03.patch. So first do you think this for to old a version? And second how do I apply the patch? I looked at the code and it is diffs for a variety of files. I tried > > patch path -i hal-linux-2.6.23-x86_64-1.4-03.patch --verbose /usr/src/linux Hmm...patch: **** read error : Is a directory so thats not it. Do I have to use rpm as I read somewhere that rpm can apply patches during an install. Alan ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
