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

Re: Kernel Compilation Trouble



A long time ago, in a galaxy far, far way, someone said...

> Hey,
> 
> I'm trying to compile my kernel (to enable sound).  So I installed the
> 2.0.36 source, ran make config, make dep, and make clean (everything
> was successful).

A tip: 'make menuconfig' is quite a bit more user-friendly than 'make
config'.

> Unfortunately, when I run make zImage I get an error:
> 
> 	<snip>
> 	Non-GCC header of 'system'
> 	compressed size 20.
> 	ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
            ^^^^^^ 
You're building an a.out kernel.  I don't know how well it's tested that
late in the 2.0 series; try reconfiguring the kernel to be ELF, then run
'make clean zImage', and see what you get.

However, the undefined references don't look right; I don't ever remember
seeing them, although it's been over a year since I've run 2.0, so my
memory could be faulty.

> 	ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
> 	misc.o:  In function 'fill_inbuf':
> 	misc.o(.text+0x1ebc): undefined reference to 'input_data'
> 	misc.o(.text+0x1ec1): undefined reference to 'input_len'
> 	misc.o(.text+0x1ed7): undefined reference to 'input_data'
> 	make[2]: *** [vmlinux] Error 1
> 	make[2]: Leaving Directory 
> '/usr/src/linux/kernel-source-2.0.36/arch/i386/boot/c
> 	ompressed'
> 	make[1]: *** [compressed/vmlinux] Error 2
> 	make[1]: Leaving Directory 
> ''/usr/src/linux/kernel-source-2.0.36/arch/i386/boot/c
> 	ompressed'	
> 	make: *** [zImage] Error 2

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Reply to: