[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a new kernel



On Tue, Jan 02, 2007 at 09:54:31PM +1100, Stephen wrote:
> On Monday 01 January 2007 21:52, Geert Uytterhoeven wrote:
> 
> > > In making a new kernel, I've tryed the verion 2.4.27 and 2.4.34 sources.
> > > using thi smethod:
> >
> > That's the pristine one from kernel.org? Please use the Linux/m68k source
> > tree from CVS, cfr. http://linux-m68k-cvs.ubb.ca/.
> 
> I had the machine do a cvs into my home dir of the source from the above 
> website.  Compiling this kernel produces this output just before it fails.
> 
> Have also included a copy of the kernel .config file incase it's that thats 
> causing the problem(s)
> 
> ===cut here===
> rm -f crypto.o
> ld -m m68kelf   -r -o crypto.o api.o scatterwalk.o cipher.o digest.o 
> compress.o autoload.o proc.o hmac.o
> make[2]: Leaving directory `/home/vk3heg/linux/crypto'
> make[1]: Leaving directory `/home/vk3heg/linux/crypto'
> make 
> CFLAGS="-D__KERNEL__ -I/home/vk3heg/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2 -m68060 " -C  

-m68060 has often caused problems for me, try 040-060

Are you using gcc-3.3?

If you have a debian box, you could try the linux-2.6 source package, it
should include all (well, most) current m68k patches. Also available from
debian via svn.
If you want to build 2.4, get kernel-image-2.4.27-m68k and
kernel-patch-2.4.27-m68k. 2.2.25 might also still be available in sarge or
woody somewhere.

Christian



Reply to: