yeh i removed that part of the code , .... and now the vmlinux is
created successfully, but in the second stage wheer the modules are
built , i get the following warnings , :

Root device is (8, 2)
Boot sector 512 bytes.
Setup is 7282 bytes.
System is 1900 kB
Kernel: arch/i386/boot/bzImage is ready  (#8)
  Building modules, stage 2.
  MODPOST
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_params from .text between '_text' (at offset
0xc0400029) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_params from .text between '_text' (at offset
0xc0400037) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:init_pg_tables_end from .text between '_text' (at offset
0xc0400099) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400126) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400130) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc040014f) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400160) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400166) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc040016c) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400172) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400188) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc0400192) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc040019b) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'checkCPUtype' (at offset
0xc04001a1) and 'is486'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'check_x87' (at offset
0xc0400210) and 'setup_idt'
WARNING: vmlinux - Section mismatch: reference to
.init.data:new_cpu_data from .text between 'check_x87' (at offset
0xc040022e) and 'setup_idt'
WARNING: vmlinux - Section mismatch: reference to
.init.text:start_kernel from .text between 'is386' (at offset
0xc040020a) and 'check_x87'
WARNING: vmlinux - Section mismatch: reference to
.init.text:smp_prepare_cpus from .text between 'init' (at offset
0xc04002e6) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:migration_init from .text between 'init' (at offset
0xc04002eb) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:spawn_ksoftirqd from .text between 'init' (at offset
0xc04002f0) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'init' (at offset 0xc04002f6) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:spawn_softlockup_task from .text between 'init' (at offset
0xc04002fe) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:smp_cpus_done from .text between 'init' (at offset
0xc0400367) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:sched_init_smp from .text between 'init' (at offset
0xc04003d2) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:cpuset_init_smp from .text between 'init' (at offset
0xc04003d7) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:populate_rootfs from .text between 'init' (at offset
0xc04003dc) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:usermodehelper_init from .text between 'init' (at offset
0xc04003e6) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:driver_init from .text between 'init' (at offset
0xc04003eb) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:sysctl_init from .text between 'init' (at offset
0xc04003f0) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'init' (at offset 0xc0400407) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'init' (at offset 0xc0400440) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:prepare_namespace from .text between 'init' (at offset
0xc04004ee) and 'try_name'
WARNING: vmlinux - Section mismatch: reference to
.init.text:parse_unisys_oem from .text between 'mps_oem_check' (at
offset 0xc04014b5) and 'acpi_madt_oem_check'
WARNING: vmlinux - Section mismatch: reference to
.init.text:find_unisys_acpi_oem_table from .text between
'acpi_madt_oem_check' (at offset 0xc04014ca) and 'enable_apic_mode'
WARNING: vmlinux - Section mismatch: reference to
.init.text:acpi_get_table_header_early from .text between
'acpi_madt_oem_check' (at offset 0xc04014e3) and 'enable_apic_mode'
WARNING: vmlinux - Section mismatch: reference to
.init.text:parse_unisys_oem from .text between 'acpi_madt_oem_check'
(at offset 0xc0401521) and 'enable_apic_mode'
WARNING: vmlinux - Section mismatch: reference to
.init.text:setup_unisys from .text between 'acpi_madt_oem_check' (at
offset 0xc040152f) and 'enable_apic_mode'
WARNING: vmlinux - Section mismatch: reference to
.init.text:es7000_sw_apic from .text between 'enable_apic_mode' (at
offset 0xc040153b) and 'get_apic_id'
WARNING: vmlinux - Section mismatch: reference to
.init.text:efi_set_rtc_mmss from .text between 'sync_cmos_clock' (at
offset 0xc0407360) and 'get_cmos_time'
WARNING: vmlinux - Section mismatch: reference to
.init.text:efi_get_time from .text between 'get_cmos_time' (at offset
0xc0407534) and 'timer_resume'
WARNING: vmlinux - Section mismatch: reference to
.init.text:noirqdebug_setup from .text between
'quirk_intel_irqbalance' (at offset 0xc0409326) and 'i8237A_suspend'
WARNING: vmlinux - Section mismatch: reference to
.init.text:__alloc_bootmem from .text between 'cpu_init' (at offset
0xc040a313) and 'generic_identify'
WARNING: vmlinux - Section mismatch: reference to
.init.text:sysenter_setup from .text between 'identify_cpu' (at offset
0xc040a8ee) and 'c_start'
WARNING: vmlinux - Section mismatch: reference to
.init.text:mtrr_bp_init from .text between 'identify_cpu' (at offset
0xc040a901) and 'c_start'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'cyrix_identify' (at offset 0xc040ac66) and
'centaur_size_cache'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'write_new_vid' (at offset 0xc040e61b) and
'decrease_vid_code_by_step'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'write_new_fid' (at offset 0xc040e795) and
'powernowk8_target'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040e9b1) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040eb47) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040ec00) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040ec67) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040edfb) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_target' (at offset 0xc040f038) and
'powernowk8_verify'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_init' (at offset 0xc040f1a3) and
'powernowk8_cpu_init'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_cpu_init' (at offset 0xc040faee) and
'longrun_set_policy'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'powernowk8_cpu_init' (at offset 0xc040fc63) and
'longrun_set_policy'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc041673d) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc0416748) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc0416754) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc0416763) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc0416795) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'start_secondary' (at offset 0xc04167a4) and '__cpu_die'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'MP_processor_info' (at offset 0xc0416e19) and
'mp_register_lapic'
WARNING: vmlinux - Section mismatch: reference to .init.data:maxcpus
from .text between 'MP_processor_info' (at offset 0xc0416ea0) and
'mp_register_lapic'
WARNING: vmlinux - Section mismatch: reference to
.init.text:__init_begin from .text between 'free_initmem' (at offset
0xc041af64) and 'mark_rodata_ro'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_sinittext from .text between 'core_kernel_text' (at offset
0xc0433ed2) and 'kernel_text_address'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_einittext from .text between 'core_kernel_text' (at offset
0xc0433edc) and 'kernel_text_address'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_sinittext from .text between 'kernel_text_address' (at
offset 0xc0433ef3) and '__kernel_text_address'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_einittext from .text between 'kernel_text_address' (at
offset 0xc0433efa) and '__kernel_text_address'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_sinittext from .text between '__kernel_text_address' (at
offset 0xc0433f23) and 'search_exception_tables'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_einittext from .text between '__kernel_text_address' (at
offset 0xc0433f2a) and 'search_exception_tables'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_sinittext from .text between 'kallsyms_lookup' (at offset
0xc043f550) and '__print_symbol'
WARNING: vmlinux - Section mismatch: reference to
.init.text:_einittext from .text between 'kallsyms_lookup' (at offset
0xc043f557) and '__print_symbol'
WARNING: vmlinux - Section mismatch: reference to
.init.data:initkmem_list3 from .text between 'kmem_cache_create' (at
offset 0xc046a1ee) and 'xip_truncate_page'
WARNING: vmlinux - Section mismatch: reference to
.init.data:initkmem_list3 from .text between 'kmem_cache_create' (at
offset 0xc046a200) and 'xip_truncate_page'
WARNING: vmlinux - Section mismatch: reference to
.init.data:initkmem_list3 from .text between 'kmem_cache_create' (at
offset 0xc046a254) and 'xip_truncate_page'
WARNING: vmlinux - Section mismatch: reference to
.init.data:initkmem_list3 from .text between 'kmem_cache_create' (at
offset 0xc046a266) and 'xip_truncate_page'
WARNING: vmlinux - Section mismatch: reference to
.init.text:__alloc_bootmem from .text between 'vgacon_startup' (at
offset 0xc0500142) and 'fbcon_update_softback'
WARNING: vmlinux - Section mismatch: reference to
.init.data:logo_linux_clut224 from .text between 'fb_find_logo' (at
offset 0xc0508ba8) and 'acpi_table_print_madt_entry'
WARNING: vmlinux - Section mismatch: reference to
.init.text:uart_parse_options from .text between
'serial8250_console_setup' (at offset 0xc054cb2a) and
'serial8250_console_write'
WARNING: vmlinux - Section mismatch: reference to
.init.text:uart_set_options from .text between
'serial8250_console_setup' (at offset 0xc054cb4d) and
'serial8250_console_write'
WARNING: vmlinux - Section mismatch: reference to
.init.data:acpi_noirq from .text between 'pcibios_penalize_isa_irq'
(at offset 0xc05a85aa) and 'pci_read'
WARNING: vmlinux - Section mismatch: reference to
.init.data:acpi_noirq from .text between 'pcibios_setup' (at offset
0xc05a88d5) and 'pcibios_scan_root'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_82454NXquirk_disable_pxb'
(at offset 0xc066e280) and
'__pci_fixup_PCI_VENDOR_ID_CYRIXPCI_DEVICE_ID_CYRIX_PCI_MASTERquirk_mediagx_master'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_CYRIXPCI_DEVICE_ID_CYRIX_PCI_MASTERquirk_mediagx_master'
(at offset 0xc066e288) and
'__pci_fixup_PCI_VENDOR_ID_AMDPCI_DEVICE_ID_AMD_FE_GATE_700Cquirk_amd_ordering'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_GCNB_LEquirk_svw_msi'
(at offset 0xc066e2a0) and
'__pci_fixup_PCI_VENDOR_ID_AMDPCI_DEVICE_ID_AMD_8131_BRIDGEquirk_amd_8131_ioapic'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_AMDPCI_DEVICE_ID_AMD_8131_BRIDGEquirk_amd_8131_ioapic'
(at offset 0xc066e2a8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_ANY_IDquirk_ioapic_rmw'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_ANY_IDquirk_ioapic_rmw' (at offset
0xc066e2b0) and
'__pci_fixup_PCI_VENDOR_ID_AMDPCI_DEVICE_ID_AMD_VIPER_7410quirk_amd_ioapic'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_ALPCI_DEVICE_ID_AL_M1651quirk_alimagik' (at
offset 0xc066e308) and
'__pci_fixup_PCI_VENDOR_ID_ALPCI_DEVICE_ID_AL_M1647quirk_alimagik'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_ALPCI_DEVICE_ID_AL_M1647quirk_alimagik' (at
offset 0xc066e310) and
'__pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_82C576quirk_vsfx'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_EESSCquirk_alder_ioapic'
(at offset 0xc066df88) and
'__pci_fixup_PCI_VENDOR_ID_ATIPCI_DEVICE_ID_ATI_IXP600_SATAquirk_sb600_sata'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_LPCquirk_sis_96x_smbus'
(at offset 0xc066df98) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_963quirk_sis_96x_smbus'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_963quirk_sis_96x_smbus'
(at offset 0xc066dfa0) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_962quirk_sis_96x_smbus'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_962quirk_sis_96x_smbus'
(at offset 0xc066dfa8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_961quirk_sis_96x_smbus'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_961quirk_sis_96x_smbus'
(at offset 0xc066dfb0) and
'__pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_8237asus_hides_ac97_lpc'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_8237asus_hides_ac97_lpc'
(at offset 0xc066dfb8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_503quirk_sis_503'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_503quirk_sis_503' (at
offset 0xc066dfc0) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_735quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_735quirk_sis_96x_compatible'
(at offset 0xc066dfc8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_651quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_651quirk_sis_96x_compatible'
(at offset 0xc066dfd0) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_650quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_650quirk_sis_96x_compatible'
(at offset 0xc066dfd8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_648quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_648quirk_sis_96x_compatible'
(at offset 0xc066dfe0) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_646quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_646quirk_sis_96x_compatible'
(at offset 0xc066dfe8) and
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_645quirk_sis_96x_compatible'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_SIPCI_DEVICE_ID_SI_645quirk_sis_96x_compatible'
(at offset 0xc066dff0) and
'__pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_8237k8t_sound_hostbridge'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_VIAPCI_DEVICE_ID_VIA_8237k8t_sound_hostbridge'
(at offset 0xc066dff8) and
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_82375quirk_eisa_bridge'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_82375quirk_eisa_bridge'
(at offset 0xc066e000) and
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_82801CA_10quirk_ide_samemode'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_DEVICE_ID_INTEL_82801CA_10quirk_ide_samemode'
(at offset 0xc066e008) and
'__pci_fixup_PCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_CSB5IDEquirk_svwks_csb5ide'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.pci_fixup between
'__pci_fixup_PCI_VENDOR_ID_NVIDIAPCI_DEVICE_ID_NVIDIA_NFORCE2pci_fixup_nforce2'
(at offset 0xc066e108) and
'__pci_fixup_PCI_VENDOR_ID_INTELPCI_ANY_IDpci_fixup_transparent_bridge'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.data between 'apic_summit' (at offset 0xc0687c44) and 'apic_bigsmp'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.data between 'apic_bigsmp' (at offset 0xc0687cd0) and 'cpu.4241'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.data between 'apic_es7000' (at offset 0xc0687d60) and 'apic_default'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.data between 'apic_default' (at offset 0xc0687dec) and 'interrupt'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730000) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730004) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730008) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07300bc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07300c0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07300d8) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07300dc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073010c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730110) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730114) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730118) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073011c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730120) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730124) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730128) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073012c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730130) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730134) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730138) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073013c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730140) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730144) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730148) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073014c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730150) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730154) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730158) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730180) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730248) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073024c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730250) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730254) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730258) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073025c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730260) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730264) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730268) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073026c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730270) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730274) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730278) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073027c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730280) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730284) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730288) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073028c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730290) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730294) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730298) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc073029c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302a0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302a4) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302a8) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302ac) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302b0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302d0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302d4) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302d8) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302dc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302e4) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302f8) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07302fc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730318) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730330) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07306cc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07306d0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730ab4) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730ab8) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730abc) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0730b58) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07312ec) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07312f0) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0731d98) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0731d9c) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0732768) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc07328f4) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.exit.text between 'powernowk8_exit' (at offset 0xc07691dc) and
'longrun_exit'
WARNING: vmlinux - Section mismatch: reference to .exit.text: from
.kdb_exitcall.exit after '__kdb_exitcall_kdbm_task_exit' (at offset
0xc071e3ec)
WARNING: vmlinux - Section mismatch: reference to .exit.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0732604) and
'__smp_locks_end'
WARNING: vmlinux - Section mismatch: reference to .exit.text: from
.smp_alternatives between '__smp_alt_begin' (at offset 0xc0732b5c) and
'__smp_locks_end'


but even after these warnings the modules are still being built ,
..... does this have any implications ?, .... i will report back if
there is any problem after the modules are built and installed and the
kernel image is installed !


Thanks
Satish

On 8/25/08, jidong xiao <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 25, 2008 at 10:07 AM, Satish Eerpini <[EMAIL PROTECTED]> wrote:
>> i have fixed up errors concerning the previous ones i have mentioned
>> , ... but new  errors have appeared , :
>>
>>  CHK     include/linux/version.h
>>  CHK     include/linux/utsrelease.h
>>  CHK     include/linux/compile.h
>>  GEN     .version
>>  CHK     include/linux/compile.h
>>  UPD     include/linux/compile.h
>>  CC      init/version.o
>>  LD      init/built-in.o
>>  LD      .tmp_vmlinux1
>> kdb/built-in.o: In function `kdb_inittab':
>> /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/kdb/kdbmain.c:3816:
>> undefined reference to `__kdb_initcall_start'
>> /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386/kdb/kdbmain.c:3822:
>> undefined reference to `__kdb_initcall_end'
>> make: *** [.tmp_vmlinux1] Error 1
>>
>> i have checked the code which corressponds to the above errors , it is
>> something liket this :
>>
>>        /* Any kdb commands that are not in the base code but are required
>>         * earlier than normal initcall processing.
>>         */
>>        call = & __kdb_initcall_start;
>>        while (call < & __kdb_initcall_end) {
>>                (*call)();
>>                call++;
>>        };
>>
>> , but i don't understand why it is showing an undefined reference
>> error , __kdb_initcall_start and __kdb_initcall_end are defined in
>> include/linux/kdbprivate.h as follows :
>>
>> #ifdef  MODULE
>> #define kdb_module_init(fn) module_init(fn)
>> #define kdb_module_exit(fn) module_exit(fn)
>> #else   /* !MODULE */
>> extern initcall_t __kdb_initcall_start, __kdb_initcall_end;
>> #define kdb_module_init(fn) \
>>        static initcall_t __kdb_initcall_##fn __attribute_used__
>> __attribute__ ((__section__ (".kdb_initcall.init"))) = fn;
>> #define kdb_module_exit(fn) \
>>        static exitcall_t __kdb_exitcall_##fn __attribute_used__
>> __attribute__ ((__section__ (".kdb_exitcall.exit"))) = fn;
>> #endif  /* MODULE */
>>
>> then what does the error signify ?
>>
> First of all, as you are using Cent OS kernel, perhaps there is some
> difference between your source code and mine, maybe kdbprivate.h is
> not included correctly.
>
> Second of all, I think you can remove the lines.
>
>        /* Any kdb commands that are not in the base code but are required
>         * earlier than normal initcall processing.
>         */
>        call = & __kdb_initcall_start;
>        while (call < & __kdb_initcall_end) {
>                (*call)();
>                call++;
>        };
>
> They are not existing in the latest kdb patches.
>
> Regards
> Jason
>>
>> Thanks
>> Satish
>>
>>
>> --
>> http://satish.playdrupal.com
>> ---------------------------
>> Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
>>
>


-- 
http://satish.playdrupal.com
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.

Reply via email to