[mc1322x] My first application

Jon Smirl jonsmirl at gmail.com
Fri Jun 4 09:33:46 EDT 2010


On Fri, Jun 4, 2010 at 9:18 AM, Daniel Berenguer
<dberenguer at usapiens.com> wrote:
> I'm going to run the risk of asking a really stupid question but...
> you know,  beginnings are plenty of doubts and troubles... :-)
>
> After installing the toolchain (openembeded) and libmc13224 I want to
> build lib13224x/tests but I'm finding errors like the following:

I'm able to build the tests without problem so it is probably a toolchain issue.

I built the toolchain in a different directory too and I have this on my path:
/home/apps/mc1322x-oe/tmp/cross/armv4t/bin

Once you get a good toolchain you shouldn't have any more problem.
Building the toolchain has always been the weakest link. I tried three
toolchains before getting one to work reliably. The OE toolchain
worked for me, it just took a long time to build.

>
> ../arm-linux/bin/ld: cannot find -lm
>
> I could have missed some step or maybe one of the installs did not
> complete correctly. Where is the math library supposed to be? I've
> looked into mc13224x-oe but no luck. I think that stdio.h and other
> basic files are missing too.
>
> The only difference with the standard install explained in Mar's
> tutorial is that I finally installed mx1322x-oe and libmc1322x into a
> different folder than "/home/user/". On the other hand, I did create
> the symlinks to /usr/local/bin so this should not make any difference.
>
> Thanks for your help (Mar or any other)
>
> Daniel.
>
> _______________________________________________
> mc1322x mailing list
> mc1322x at devl.org
> http://devl.org/cgi-bin/mailman/listinfo/mc1322x
>



-- 
Jon Smirl
jonsmirl at gmail.com



More information about the mc1322x mailing list