Am Sonntag 11 April 2010 20:36:30 schrieb Thomas Franck:
> Hi..
> 
> > Is the eina-dev package installed?
> 
> hmmm.. maybe local builds was a bad choice of words..
> 
> I use the SHR build on my main computer.. not compiling on the FR..
> so.. I followed the sample (of the openmoko wiki) to create a bitbake
> file and put things in the recipes subdir of the openembeded dir..
> I then run the ". ./setup-env" and "bitbake eTestApp" and I end up with
> the compile error..
> 
> however.. if I do "bitbake emtooth" it compiles fine.. (which is a C
> prog that uses elementary, too - but has a totally different setup (bb
> and automake))
> 
> I've never used automake, so I'm a bit lost on that.. my bb file has
> this as compile instruction:
> do_compile() {
>       ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/eTestApp.c -o eTestApp
> }
> 
You are missing an include for the eina-0 directory. Change the do_compile() 
to:

do_compile() {
        ${CC} ${CFLAGS} ${LDFLAGS} -I${STAGING_INCDIR}/eina-0 
${WORKDIR}/eTestApp.c 
-o eTestApp
}

Or add it to the CFLAGS.
But i think easiest way would be using autotools.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to