[U-Boot] Fwd: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': (.text.checkcpu+0x0): multiple definition of `checkcpu' arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here

Jeroen Roovers jer at airfi.aero
Wed May 10 10:15:15 UTC 2017


Apologies, I was using the wrong sender address.


---------- Forwarded message ----------
From: Jeroen Roovers <jeroen.roovers at airfi.aero>
Date: 10 May 2017 at 12:12
Subject: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu':
(.text.checkcpu+0x0): multiple definition of `checkcpu'
arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here
To: u-boot at lists.denx.de


Trying to compile an x86_64 u-boot with EFI support:

arch/x86/cpu/x86_64/built-in.o: In function `checkcpu':
(.text.checkcpu+0x0): multiple definition of `checkcpu'
arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here
arch/x86/cpu/x86_64/built-in.o: In function `arch_setup_gd':
/home/jer/airfi/airfi-base/buildroot-2016.02-apollo/output/build/uboot-2017.05/arch/x86/cpu/x86_64/cpu.c:18:
multiple definition of `misc_init_r'
arch/x86/cpu/efi/built-in.o:(.text.misc_init_r+0x0): first defined here
arch/x86/cpu/x86_64/built-in.o: In function `arch_setup_gd':
/home/jer/airfi/airfi-base/buildroot-2016.02-apollo/output/build/uboot-2017.05/arch/x86/cpu/x86_64/cpu.c:18:
multiple definition of `print_cpuinfo'
arch/x86/cpu/efi/built-in.o:(.text.print_cpuinfo+0x0): first defined here
make[2]: *** [scripts/Makefile.build:359: arch/x86/cpu/built-in.o] Error 1
make[1]: *** [Makefile:1234: arch/x86/cpu] Error 2
make[1]: *** Waiting for unfinished jobs....

with the attached configuration. Am I doing it wrong?


Kind regards,
     jer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot.config
Type: application/octet-stream
Size: 16230 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170510/7469044c/attachment.obj>


More information about the U-Boot mailing list