[U-Boot] Compile x86 minnowboard max got error

Bin Meng bmeng.cn at gmail.com
Wed Apr 1 08:19:50 CEST 2015


On Wed, Apr 1, 2015 at 10:51 AM, li yuqian <liyuqian08 at outlook.com> wrote:
> Hi All,
> i am trying to compile the x86 minnowboard max uboot support followed this link http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.x86 , but i alway got following error
>
>   CC      net/ping.o
>   CC      net/tftp.o
>   LD      net/built-in.o
>   LD      test/built-in.o
>   CC      test/dm/cmd_dm.o
>   LD      test/dm/built-in.o
>   CC      examples/standalone/stubs.o
>   LD      examples/standalone/libstubs.o
>   CC      examples/standalone/hello_world.o
>   LD      examples/standalone/hello_world
>   OBJCOPY examples/standalone/hello_world.srec
>   OBJCOPY examples/standalone/hello_world.bin
>   LDS     u-boot.lds
>   LD      u-boot
> arch/x86/lib/built-in.o: In function `__wrap___udivdi3':
> /usr/src/u-boot/arch/x86/lib/gcc.c:36: undefined reference to `__normal___udivdi3'
> arch/x86/lib/built-in.o: In function `__wrap___umoddi3':
> /usr/src/u-boot/arch/x86/lib/gcc.c:38: undefined reference to `__normal___umoddi3'
> make: *** [u-boot] Error 1
> i used master of git version and also tried v2015.04-rc4 and v2015.04-rc3 same issue, how i can fix it? thank you
>

What's the version of gcc that you are using?

Regards,
Bin


More information about the U-Boot mailing list