From: Tony T. <aj...@rr...> - 2007-01-25 09:52:57
|
Juan dela Cruz wrote: > Hi, > I've been trying for a long time to install openMosix 2.4.x on my > OpenSuse 10.1 workstation with no success. Suse 10.1 has a kernel 2.6.15 > version so recompiled the kernel using a vanilla 2.4.x kernel. The > problem is that, I cannot get pass thru the kernel compilation. I > encountered and error when invoking 'make bzImage'. The error dump looks > pretty much like the following lines; > > /usr/src/linux-2.4.26/include/linux/byteorder/swab.h:160: warning: > type qualifiers ignored on function return type > [...] Hello, Juan. No, I've not used Suse but I guess you're using gcc-4.x from the error messages you're getting: Try installing gcc-3.3, and edit the Makefile to use gcc-3.3: HOSTCC = gcc-3.3 CC = $(CROSS_COMPILE)gcc-3.3 You will also need to patch the kernel sources for the "as" assember in more recent versions of binutils as I described in my post to the openmosix-general list (changing movl to mov, and adjusting some of the C types used in the assembler expressions): http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch Let me know how you get on, Tony. -- Dr. A.J.Travis, | mailto:aj...@rr... Rowett Research Institute, | http://www.rri.sari.ac.uk/~ajt Greenburn Road, Bucksburn, | phone:+44 (0)1224 712751 Aberdeen AB21 9SB, Scotland, UK. | fax:+44 (0)1224 716687 |