_____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Devendra Durgapal
Sent: Wednesday, July 11, 2007 8:28 PM
To: [email protected]
Subject: liux-2.6.22.tar.gz kernel compile throwing error messages

 

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
[EMAIL PROTECTED] linux-2.6.22]
</snip>

Is I am missing something? Can anybody help me here. 



I think u should be using RHEL 9 , and after downloading the 2.6.22 source
code, u just need to do 

1. make config/xconfig(whichever xconfig gives u GUI interface)

2. make 2> /dev/null

 

So I am just wondering whether you need make defconfig at all. Please let me
know anyone whether I am correct on this, I feel that from 2.6 kernel
onwards we don't need make dep.


Thanks a lot in advance.

 

Regards,
-DD

Reply via email to