[U-Boot] Compile x86 minnowboard max got error

li yuqian liyuqian08 at outlook.com
Wed Apr 1 08:36:17 CEST 2015









gcc --version shows following:
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thank you
> Date: Wed, 1 Apr 2015 14:19:50 +0800
> Subject: Re: [U-Boot] Compile x86 minnowboard max got error
> From: bmeng.cn at gmail.com
> To: liyuqian08 at outlook.com
> CC: u-boot at lists.denx.de
> 
> 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