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

Re: Kernel compile problems om vme167



On Tue, Jan 22, 2002 at 02:36:57AM -0500, Ray Knight wrote:
> On Tue, 2002-01-22 at 01:22, Nick Brok wrote:
> > Hello folks,
> > 
> > I'm not new on Linux (working with it for about 10 years) but new to Debian.
> > I got a nice vme167 computer and it works fine... but I want to compile my
> > own kernel. That's were the problem begins.
> > I get the latest 2.2.20 kernel from debian with the tool dselect, it installs
> > the kernel source in the /usr/src directory as expected.
> > I configure the kernel for my board (vme167).
> > When I start compiling the kernel the first complaint is:
> > (It's not an exact copy, but it says what's essential)
> > 
> > in include/asm68k/delay.h
> > loops_per_sec (undeclared first use in this function)
> > 
> > The next one is in the SCSI driver 53c7xx 
> > it complains about some identifiers such as KERNELMAP_NOCACHE_SER, 
> > KERNELMAP_FULL_CACHING and so on.
> > 
> > I cannot get the thing compiled... (It's using gcc-2.95.4)
> > But the binary kernel does work.... what did the people at Debian do I forgot?
> > 
> > 
> > Greetings,
> > 
> > Nick Brok
> 
> You need the kernel patch package for m68k.  Can't remember the actual
> package name off hand.  But this should give you enough information to
> find it.

This was posted by Christian many months ago:

root@aahz:/build>apt-get install kernel-source-2.2.19 kernel-patch-2.2.19-m68k
root@aahz:/build>tar xvfj /usr/src/kernel-source-2.2.19.tar.bz2
root@aahz:/build>cd kernel-source-2.2.19/
root@aahz:/build/kernel-source-2.2.19>/usr/src/kernel-patches/m68k/2.2.19/apply/apply
root@aahz:/build/kernel-source-2.2.19>cp /build/kernel-image/2.2.19/amiga/config  .config
root@aahz:/build/kernel-source-2.2.19>make-kpkg kernel-image

Richard



Reply to: