Hi All,
I have dev box setup on VMware workstation 6.0. In which I have rhel3 U8 AS OS. Where I am compiling linux-2.6.22.tar.gz kernel.
Steps:-
- downloaded the linux-2.6.22.tar.gz
- extracted it as
#tar -zxvf linux-2.6.22.tar.gz
#cd linux-2.6.22
- configure it as
#make defconfig
- checked dependency
#make dep (there is not dependency at all)
- compiled it as
#make
At last i hit the following warning messages.
<snip>
MODPOST vmlinux
WARNING: arch/i386/kernel/built-in.o(.text+0xf9a2): Section mismatch:
reference to .init.data:trampoline_end (between 'setup_trampoline' and
'cpu_coregroup_map')
WARNING: arch/i386/kernel/built-in.o(.text+0xf9a8): Section mismatch:
reference to .init.data:trampoline_data (between 'setup_trampoline' and
'cpu_coregroup_map')
WARNING: arch/i386/kernel/built-in.o(.text+0xf9b5): Section mismatch:
reference to .init.data:trampoline_data (between 'setup_trampoline' and
'cpu_coregroup_map')
WARNING: arch/i386/kernel/built-in.o(.exit.text+0x19): Section
mismatch: reference to .init.text: (between 'cache_remove_dev' and
'powernowk8_exit')
WARNING: arch/i386/kernel/built-in.o(.data+0x1008): Section mismatch:
reference to .init.text: (between 'thermal_throttle_cpu_notifier' and
'mce_work')
WARNING: kernel/built-in.o(.text+0x1755f): Section mismatch: reference
to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
AS arch/i386/boot/bootsect.o
LD arch/i386/boot/bootsect
AS arch/i386/boot/setup.o
LD arch/i386/boot/setup
AS arch/i386/boot/compressed/head.o
CC arch/i386/boot/compressed/misc.o
include/asm/processor.h: In function `native_get_debugreg':
include/asm/processor.h:531: warning: asm operand 0 probably doesn't match constraints
include/asm/processor.h: In function `native_set_debugreg':
include/asm/processor.h:558: warning: asm operand 0 probably doesn't match constraints
OBJCOPY arch/i386/boot/compressed/vmlinux.bin
BFD: Warning: Writing section `.bss' to huge (ie negative) file offset 0xc051e000.
objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated
make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 1
make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
[root@blr-dhcp86-office135 linux-2.6.22]
</snip>
Is I am missing something? Can anybody help me here.
Thanks a lot in advance.
Regards,
-DD