BEC Example Using Pre-Built Toolchain

Perri, Joe (MS) joseph.perri at ngc.com
Tue Feb 3 22:59:53 UTC 2009


 Hi,

I'm trying to use OE to build images for a TI OMAPL137 eval board. TI
has provided a pre-built toolchain (based on gcc 4.2.0), kernel and
filesystem.

I've added a machine config based on omap5912osk.conf, which uses the
same ARM core as the OMAPL137. 
My local.conf is based on this BEC example
http://bec-systems.com/site/131/adding-software-to-a-moxa-uc7408-using-o
penembedded , which configures OE to use a pre-built toolchain.

OE is attempting to build gcc-cross-initial, and the build is failing a
gmp.h version check.
The gmp.h that comes with the MontaVista compiler is version 2.

If I've correctly configured OE to use a pre-built toolchain, should it
even be attempting to build gcc-cross-initial?
If this is the correct behavior, is there some way to work around this
gmp version mismatch problem?

Thanks,
Joe

-----------------------------------------------------------------------
configure:2338: checking for correct version of gmp.h
configure:2351: arm_v5t_le-gcc -c
-isystem/home/irad/Projects/OMAPL137/oe/tmp/staging/i686-linux/usr/inclu
de -O2   conftest.c 1>&5
configure: In function 'main':
configure:2345: error: 'choke' undeclared (first use in this function)
configure:2345: error: (Each undeclared identifier is reported only once
configure:2345: error: for each function it appears in.)
configure:2345: error: expected ';' before 'me'
configure: failed program was:
#line 2340 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 &&
__GNU_MP_VERSION_MINOR < 1)
choke me
#endif

; return 0; }




More information about the Openembedded-users mailing list