[uClibc] Buildroot gcc undefinned reference
Steve Dover
sw0rdf1sh at sbcglobal.net
Fri Jan 2 19:35:25 UTC 2004
Mike wrote:
> On Saturday 27 December 2003 20:38, Steve Dover wrote:
>
>>When you compile your Linux kernel, you want to
>>set CONFIG_MATH_EMULATION so *iff* your x86 processor
>>does not have Floating Point, the Linux kernel
>>will emulate it for you. If the processor does
>>have Floating Point (most likely), then the Linux
>>kernel will not do the emulation, but will let
>>the hardware do it. In either case, you don't
>>need gcc to do the emulation, which is that
>>the -msoft-float is asking for.
>>
>>So, what you need to do in your Makefile
>>is make sure those two lines are commented out
>>
>>#SOFT_FLOAT_CONFIG_OPTION=--without-float
>>#TARGET_SOFT_FLOAT=-msoft-float
>>
>
>
> done
>
>
>>At least, this is where I ran into the same errors before.
>>
>>
>>In my uClibc .config file I have UCLIBC_HAS_FLOATS=y
>>In my Linux kernel, I have the above mentioned item.
>>I don't have floating point stuff anywhere else.
>
>
> done
>
> I think there may be some progress the error message has changed. I
> may have found something If I select +=linux I will still get the error
>
> # Do you want user mode Linux (x86 only), or are you building a
> # your own kernel that will run on its own? Perhaps you have a
> # kernel you have already configured and you want to use that?
> # The default is to just use a set of known working kernel
> # headers. Unless you want to build a kernel, I recommend just
> # using that...
> TARGETS+=kernel-headers
> #TARGETS+=linux
> TARGETS+=user-mode-linux
> #TARGETS+=system-linux
>
Apparently you are bleeding different than I.
I only have in the Makefile:
TARGETS+=kernel-headers
I don't have user-mode-linux and I doubt that
you really want that.
In addition, I turned off SOFT_FLOAT in the Makefile.
But, otherwise, I did not encounter the error you are seeing.
More information about the uClibc
mailing list