On Wednesday 28 February 2007 21:50, Marc van Doornik wrote: > Initially I just downloaded rtai-3.2 and a vanilla 2.4.27 kernel. Compile > kernel, no problem.
Very old combination - If you *really* want 2.4.27 patched with RTAI, I may have an old prebuilt Debian package lurking somewhere... > After applying the rtai patch, compilation fails on > compiling adeos/x86.c with a "suffix or operands invalid for 'mov' " error. x86.c can only be found in fusion which is obsolete, deprecated and unsupported. > I've repeated this process with various combinations of gcc-2.95, 3.3, 3.4, > 4.0 and 4.1, kernel 2.4.21, 2.4.25 and 2.4.27 and rtai 3.2, 3.1 and 3.05. > So far, no luck. Has anybody ever had these problems? Forget gcc-4.x with 2.4 kernels - I suspect there would be a number of things that break. Likewise, don't bother with any version of RTAI prior to the 3.4 release. Any bug reports will result in being instructed to upgrade. Now that rtai-3.5 is out, would suggest using it. > Is it at all possible to compile a 2.4 kernel on an originally non-2.4 > system? Compiled a 2.4.34 deb overnight without any errors (might stick it a server later) - The build machine runs modified 2.6.16 kernel.. Given a reasonable .config as a starting point, the task of compiling a kernel is neither difficult nor some black art. Only when having to deal with failed patches or digging in to bugs does it become "interesting". > Besides, do I want a 2.4 kernel A 2.4 series kernel should boot a little faster, but it may lack drivers for some of the latest hardware. In addition, you *MUST* install modutils alongside module-init-tools. -- Paul. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
