Skip to content

compiling 3.8.13 fails at built-in.o #10

@rainforest1155

Description

@rainforest1155

I'm trying to build the latest 3.8.13 kernel with netconsole enabled (that's the only change I made to the bb.org_defconfig).

The make fails with this error:
~/build/linux$ make ARCH=arm CROSS_COMPILE=${CC} O=/home/rain/build/kernelcompiled
Using /home/rain/build/linux as source for kernel
GEN /home/rain/build/kernelcompiled/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[2]: include/generated/mach-types.h' is up to date. CALL /home/rain/build/linux/scripts/checksyscalls.sh CHK include/generated/compile.h LD arch/arm/kernel/built-in.o arch/arm/kernel/devtree.o: In functionearly_init_dt_add_memory_arch':
/home/rain/build/linux/include/linux/of.h:777: multiple definition of of_free_overlay_info' arch/arm/kernel/smp_twd.o:/home/rain/build/linux/include/linux/of.h:777: first defined here arch/arm/kernel/perf_event_cpu.o: In functionof_free_overlay_info':
/home/rain/build/linux/include/linux/of.h:777: multiple definition of of_free_overlay_info' arch/arm/kernel/smp_twd.o:/home/rain/build/linux/include/linux/of.h:777: first defined here arch/arm/kernel/topology.o: In functionof_free_overlay_info':
/home/rain/build/linux/include/linux/of.h:777: multiple definition of `of_free_overlay_info'
arch/arm/kernel/smp_twd.o:/home/rain/build/linux/include/linux/of.h:777: first defined here
make[2]: *** [arch/arm/kernel/built-in.o] Error 1
make[1]: *** [arch/arm/kernel] Error 2
make: *** [sub-make] Error 2

I'm using a fully updated Debian 7 with:
ii binutils 2.22-8 amd64
ii gcc 4:4.7.2-1 amd64
ii gcc-4.6-base:amd64 4.6.3-14 amd64
ii gcc-4.7 4.7.2-5 amd64
ii gcc-4.7-base:amd64 4.7.2-5 amd64
ii gcc-4.7-base:i386 4.7.2-5 i386

and the crosscompiler listed on this page:
https://eewiki.net/display/linuxonarm/BeagleBone+Black

Any idea on what the issue may be? Am I using the wrong version of one of the components?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions