Problems building 2.6.39.1 on PPC

From: Markus Hästbacka
Date: Fri Jun 17 2011 - 17:27:54 EST


I'm trying to build 2.6.39.1 on a mac mini PPC, and get the following errors, is this a config error?

Markus

......snip......
AR lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x5c8): Section mismatch in reference from the variable start_here to the function .init.text:machine_init()
The function start_here() references
the function __init machine_init().
This is often because start_here lacks a __init
annotation or the annotation of machine_init is wrong.

WARNING: vmlinux.o(.text+0x5d0): Section mismatch in reference from the variable start_here to the function .init.text:MMU_init()
The function start_here() references
the function __init MMU_init().
This is often because start_here lacks a __init
annotation or the annotation of MMU_init is wrong.

WARNING: vmlinux.o(.text+0x5fa): Section mismatch in reference from the variable start_here to the function .init.text:start_kernel()
The function start_here() references
the function __init start_kernel().
This is often because start_here lacks a __init
annotation or the annotation of start_kernel is wrong.

WARNING: vmlinux.o(.text+0x5fe): Section mismatch in reference from the variable start_here to the function .init.text:start_kernel()
The function start_here() references
the function __init start_kernel().
This is often because start_here lacks a __init
annotation or the annotation of start_kernel is wrong.

WARNING: vmlinux.o(.text+0x7ae): Section mismatch in reference from the variable setup_disp_bat to the variable .init.data:disp_BAT
The function setup_disp_bat() references
the variable __initdata disp_BAT.
This is often because setup_disp_bat lacks a __initdata
annotation or the annotation of disp_BAT is wrong.

WARNING: vmlinux.o(.text+0x7b2): Section mismatch in reference from the variable setup_disp_bat to the variable .init.data:disp_BAT
The function setup_disp_bat() references
the variable __initdata disp_BAT.
This is often because setup_disp_bat lacks a __initdata
annotation or the annotation of disp_BAT is wrong.

WARNING: vmlinux.o(.text+0x153a2): Section mismatch in reference from the function register_power_pmu() to the variable .cpuinit.data:power_pmu_notifier_nb.27229
The function register_power_pmu() references
the variable __cpuinitdata power_pmu_notifier_nb.27229.
This is often because register_power_pmu lacks a __cpuinitdata
annotation or the annotation of power_pmu_notifier_nb.27229 is wrong.

WARNING: vmlinux.o(.text+0x153a6): Section mismatch in reference from the function register_power_pmu() to the variable .cpuinit.data:power_pmu_notifier_nb.27229
The function register_power_pmu() references
the variable __cpuinitdata power_pmu_notifier_nb.27229.
This is often because register_power_pmu lacks a __cpuinitdata
annotation or the annotation of power_pmu_notifier_nb.27229 is wrong.

WARNING: vmlinux.o(.text+0x153c4): Section mismatch in reference from the function register_power_pmu() to the function .cpuinit.text:power_pmu_notifier()
The function register_power_pmu() references
the function __cpuinit power_pmu_notifier().
This is often because register_power_pmu lacks a __cpuinit
annotation or the annotation of power_pmu_notifier is wrong.

WARNING: vmlinux.o(.text+0x153d4): Section mismatch in reference from the function register_power_pmu() to the function .cpuinit.text:power_pmu_notifier()
The function register_power_pmu() references
the function __cpuinit power_pmu_notifier().
This is often because register_power_pmu lacks a __cpuinit
annotation or the annotation of power_pmu_notifier is wrong.

WARNING: vmlinux.o(.text+0x153e4): Section mismatch in reference from the function register_power_pmu() to the function .cpuinit.text:power_pmu_notifier()
The function register_power_pmu() references
the function __cpuinit power_pmu_notifier().
This is often because register_power_pmu lacks a __cpuinit
annotation or the annotation of power_pmu_notifier is wrong.

WARNING: vmlinux.o(.text+0x32f72a): Section mismatch in reference from the function sm501fb_init_fb() to the variable .devinit.data:sm501_default_mode
The function sm501fb_init_fb() references
the variable __devinitdata sm501_default_mode.
This is often because sm501fb_init_fb lacks a __devinitdata
annotation or the annotation of sm501_default_mode is wrong.

WARNING: vmlinux.o(.text+0x32f736): Section mismatch in reference from the function sm501fb_init_fb() to the variable .devinit.data:sm501_default_mode
The function sm501fb_init_fb() references
the variable __devinitdata sm501_default_mode.
This is often because sm501fb_init_fb lacks a __devinitdata
annotation or the annotation of sm501_default_mode is wrong.

WARNING: vmlinux.o(.text+0x3ec8c0): Section mismatch in reference from the function r128_cce_load_microcode() to the function .init.text:platform_device_register_resndata()
The function r128_cce_load_microcode() references
the function __init platform_device_register_resndata().
This is often because r128_cce_load_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x3f7d34): Section mismatch in reference from the function radeon_cp_init_microcode() to the function .init.text:platform_device_register_resndata()
The function radeon_cp_init_microcode() references
the function __init platform_device_register_resndata().
This is often because radeon_cp_init_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x40a714): Section mismatch in reference from the function r600_cp_init_microcode() to the function .init.text:platform_device_register_resndata()
The function r600_cp_init_microcode() references
the function __init platform_device_register_resndata().
This is often because r600_cp_init_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x43b6cc): Section mismatch in reference from the function radeon_get_clock_info() to the function .devinit.text:radeon_read_clocks_OF()
The function radeon_get_clock_info() references
the function __devinit radeon_read_clocks_OF().
This is often because radeon_get_clock_info lacks a __devinit
annotation or the annotation of radeon_read_clocks_OF is wrong.

WARNING: vmlinux.o(.text+0x449e48): Section mismatch in reference from the function r100_cp_init_microcode() to the function .init.text:platform_device_register_resndata()
The function r100_cp_init_microcode() references
the function __init platform_device_register_resndata().
This is often because r100_cp_init_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x4672d0): Section mismatch in reference from the function r600_init_microcode() to the function .init.text:platform_device_register_resndata()
The function r600_init_microcode() references
the function __init platform_device_register_resndata().
This is often because r600_init_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x4a0220): Section mismatch in reference from the function ni_init_microcode() to the function .init.text:platform_device_register_resndata()
The function ni_init_microcode() references
the function __init platform_device_register_resndata().
This is often because ni_init_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x4a5640): Section mismatch in reference from the function mga_warp_install_microcode() to the function .init.text:platform_device_register_resndata()
The function mga_warp_install_microcode() references
the function __init platform_device_register_resndata().
This is often because mga_warp_install_microcode lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

WARNING: vmlinux.o(.text+0x546d94): Section mismatch in reference from the function usb_nop_xceiv_register() to the function .init.text:platform_device_register_resndata()
The function usb_nop_xceiv_register() references
the function __init platform_device_register_resndata().
This is often because usb_nop_xceiv_register lacks a __init
annotation or the annotation of platform_device_register_resndata is wrong.

GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1


Attachment: ppcconfig
Description: Binary data