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

Re: Compiling a kernel



On Thu, Oct 11, 2001 at 11:27:33PM +0100, David Cantrell wrote:
> On Wed, Oct 10, 2001 at 10:51:41PM -0400, Ben Collins wrote:
> 
> > No, what you end up with there is a vmlinux.o file, which is not the
> > kernel. What you want is the vmlinux file in the root of the build. Just
> > do this:
> > 
> > cd /usr/src/linux
> > make menuconfig (or whatever you use)
> > make dep
> > make vmlinux
> > cp vmlinux /boot/
> 
> No such file.  Instead, I get at the end of 'make vmlinux':
> 
>   objdump -x vmlinux.o | ./btfixupprep > btfix.s
>   Wrong use of 'disable_irq' in '.text.exit' section. It can be only used
>     in .text, .text.init, .fixup and __ksymtab
>   make[1]: *** [btfix.s] Error 1
>   make[1]: Leaving directory `/usr/src/linux/arch/sparc/boot'
>   make: *** [_dir_arch/sparc/boot] Error 2

Seems you are trying to build a 2.4.x kernel for sparc32. I strongly
recommend you don't do this, or atleast use the source in the Vger CVS.


Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: