Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Error during make
@ 2008-08-13 14:45 Daniel Endres
  2008-08-13 14:58 ` Bernhard Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Endres @ 2008-08-13 14:45 UTC (permalink / raw)
  To: buildroot

Hello Guys,

I'm trying to build a toolchain as well as rootfs for a mipsel device.

Therefore I'd like to use buildroot. The problem is that I'm getting
some undefined references errors during the awk-build. Obviously the
errors are due to a missing math-library.

I've just downloaded the latest snapshot in the first place and tried
the svn-version later on.
Both giving me the same errors.

I've just done a "make menuconfig" for buildroot, changed the target to
mipsel, exited and hit "make".
I don't know if I'm wrong, but shouldn't a clean build succeed ?

Below I've posted my error-log. Hopefully some could point me in the
right direction.
Thanks in advance,

Greetings Daniel

miscutils/lib.a(dc.o): In function `power':
dc.c:(.text.power+0x50): undefined reference to `pow'
editors/lib.a(awk.o): In function `evaluate':
awk.c:(.text.evaluate+0x10ec): undefined reference to `cos'
awk.c:(.text.evaluate+0x1110): undefined reference to `exp'
awk.c:(.text.evaluate+0x111c): undefined reference to `log'
awk.c:(.text.evaluate+0x1140): undefined reference to `sin'
awk.c:(.text.evaluate+0x1158): undefined reference to `sqrt'
awk.c:(.text.evaluate+0x16a0): undefined reference to `atan2'
awk.c:(.text.evaluate+0x27b0): undefined reference to `pow'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] Error 1
make[1]: Leaving directory
`/home/nexus/uclibc/buildroot/project_build_mipsel/uclibc/busybox-1.11.1'
make: ***
[/home/nexus/uclibc/buildroot/project_build_mipsel/uclibc/busybox-1.11.1/busybox] 

Error 2

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

* [Buildroot] Error during make
  2008-08-13 14:45 [Buildroot] Error during make Daniel Endres
@ 2008-08-13 14:58 ` Bernhard Fischer
  2008-08-18 17:02   ` Daniel Endres
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Fischer @ 2008-08-13 14:58 UTC (permalink / raw)
  To: buildroot

On Wed, Aug 13, 2008 at 04:45:15PM +0200, Daniel Endres wrote:
>Hello Guys,
>
>I'm trying to build a toolchain as well as rootfs for a mipsel device.
>
>Therefore I'd like to use buildroot. The problem is that I'm getting
>some undefined references errors during the awk-build. Obviously the
>errors are due to a missing math-library.
>
>I've just downloaded the latest snapshot in the first place and tried
>the svn-version later on.
>Both giving me the same errors.
>
>I've just done a "make menuconfig" for buildroot, changed the target to
>mipsel, exited and hit "make".
>I don't know if I'm wrong, but shouldn't a clean build succeed ?
>
>Below I've posted my error-log. Hopefully some could point me in the
>right direction.

Well, as you correctly state you need stuff from libm, so configure your
libc to provide the required libm functionality.

see docs/README

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

* [Buildroot] Error during make
  2008-08-13 14:58 ` Bernhard Fischer
@ 2008-08-18 17:02   ` Daniel Endres
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Endres @ 2008-08-18 17:02 UTC (permalink / raw)
  To: buildroot

Hello Bernhard,

first of all, thanks for your quick reply.
Ok, missing libm functionaliy seems to be the problem. But how do I 
configure my libc-library? You did mean "configure your uclibc" didn't you?

I've tried to configure my uclibc as stated in the docs/Readme via "make 
uclibc-menuconfig", but there isn't any possibility to configure libm 
support?

Am I digging in  the wrong spot ?

Thanks for your help

Greetings, Daniel
> On Wed, Aug 13, 2008 at 04:45:15PM +0200, Daniel Endres wrote:
>   
>> Hello Guys,
>>
>> I'm trying to build a toolchain as well as rootfs for a mipsel device.
>>
>> Therefore I'd like to use buildroot. The problem is that I'm getting
>> some undefined references errors during the awk-build. Obviously the
>> errors are due to a missing math-library.
>>
>> I've just downloaded the latest snapshot in the first place and tried
>> the svn-version later on.
>> Both giving me the same errors.
>>
>> I've just done a "make menuconfig" for buildroot, changed the target to
>> mipsel, exited and hit "make".
>> I don't know if I'm wrong, but shouldn't a clean build succeed ?
>>
>> Below I've posted my error-log. Hopefully some could point me in the
>> right direction.
>>     
>
> Well, as you correctly state you need stuff from libm, so configure your
> libc to provide the required libm functionality.
>
> see docs/README
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080818/387f4810/attachment.htm 

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

end of thread, other threads:[~2008-08-18 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 14:45 [Buildroot] Error during make Daniel Endres
2008-08-13 14:58 ` Bernhard Fischer
2008-08-18 17:02   ` Daniel Endres

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