Skip to content

a problem when compiling #15

@Lipton2kirov

Description

@Lipton2kirov

when you try to compile the kernel there is such an error (./build_linux_kernel.sh 2)

LD arch/arm/mach-sunxi/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xc7f0): Section mismatch in reference from the function arch_timer_cpu_notify() to the function .cpuinit.text:arch_timer_setup()
The function arch_timer_cpu_notify() references
the function __cpuinit arch_timer_setup().
This is often because arch_timer_cpu_notify lacks a __cpuinit
annotation or the annotation of arch_timer_setup is wrong.

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

WARNING: vmlinux.o(.data+0x28e88): Section mismatch in reference from the variable sunxi_rtc_driver to the function .init.text:sunxi_rtc_probe()
The variable sunxi_rtc_driver references
the function __init sunxi_rtc_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o:(.ARM.exidx.sram.text+0x0): relocation truncated to fit: R_ARM_PREL31 against .sram.text' drivers/built-in.o:(.ARM.exidx.sram.text+0x8): relocation truncated to fit: R_ARM_PREL31 against.sram.text'
drivers/built-in.o:(.ARM.exidx.sram.text+0x10): relocation truncated to fit: R_ARM_PREL31 against .sram.text' drivers/built-in.o:(.ARM.exidx.sram.text+0x18): relocation truncated to fit: R_ARM_PREL31 against.sram.text'
drivers/built-in.o:(.ARM.exidx.sram.text+0x20): relocation truncated to fit: R_ARM_PREL31 against `.sram.text'
make: *** [.tmp_vmlinux1] error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions