public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Compile x86 minnowboard max got error
@ 2015-04-01  2:51 li yuqian
  2015-04-01  6:19 ` Bin Meng
  0 siblings, 1 reply; 4+ messages in thread
From: li yuqian @ 2015-04-01  2:51 UTC (permalink / raw)
  To: u-boot




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 
 		 	   		  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Compile x86 minnowboard max got error
  2015-04-01  2:51 [U-Boot] Compile x86 minnowboard max got error li yuqian
@ 2015-04-01  6:19 ` Bin Meng
  2015-04-01  6:36   ` li yuqian
  0 siblings, 1 reply; 4+ messages in thread
From: Bin Meng @ 2015-04-01  6:19 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 1, 2015 at 10:51 AM, li yuqian <liyuqian08@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Compile x86 minnowboard max got error
  2015-04-01  6:19 ` Bin Meng
@ 2015-04-01  6:36   ` li yuqian
  2015-05-05 17:42     ` Andrew Bradford
  0 siblings, 1 reply; 4+ messages in thread
From: li yuqian @ 2015-04-01  6:36 UTC (permalink / raw)
  To: u-boot









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@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
 		 	   		  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] Compile x86 minnowboard max got error
  2015-04-01  6:36   ` li yuqian
@ 2015-05-05 17:42     ` Andrew Bradford
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Bradford @ 2015-05-05 17:42 UTC (permalink / raw)
  To: u-boot

Hi Li,

On 04/01/2015 02:36 AM, li yuqian wrote:
> 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.

I'm not sure if you've already solved this issue, but I ran into the
same problem on my Debian 7 machine.  The solution was to install the
libc6-dev-i386 package.

I thought I'd respond as I found this thread via searching google and
others might find it that way, too, so it's worth having a solution
response.

Thanks,
Andrew

>> 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@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
>  		 	   		  
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-05 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01  2:51 [U-Boot] Compile x86 minnowboard max got error li yuqian
2015-04-01  6:19 ` Bin Meng
2015-04-01  6:36   ` li yuqian
2015-05-05 17:42     ` Andrew Bradford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox