[U-Boot] Compile x86 minnowboard max got error
Andrew Bradford
andrew at bradfordembedded.com
Tue May 5 19:42:32 CEST 2015
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 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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list