Hi Paul,

I followed this manual https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_put_my_recipe_into_Yocto.3F

and replaced my helloworld.bb file.

Sourced oe-init-build and ran bitbake gumstix-console-image

got this error: http://pastebin.com/fxUwQina

Previously, i ran gumstix-console-image successfull but now it breaks.

Any idea about this error?


On Tue, May 21, 2013 at 12:37 PM, Paul Barker <paul@paulbarker.me.uk> wrote:
On 21 May 2013 11:35, Paul Barker <paul@paulbarker.me.uk> wrote:
> On 21 May 2013 11:12, Zafrullah Syed <zafrullahmehdi@gmail.com> wrote:
>> I sourced oe-init-build-env and ran bitbake helloworld from build directory.
>> Then i get this error. previously, i ran bitbake core-image-minimal and was
>> successful. No idea where i am doing wrong?
>
> Ok, I guess that it's bitbake itself that throws the error then? Could
> you try adding 'inherit externalsrc' to the top of your recipe, that
> class is there to prevent do_fetch, do_unpack etc being called which
> may be failing as there isn't a SRC_URI set.
>

Ah no, there is a SRC_URI. But you don't really need it and it's
probably looking in the wrong place for hello.c. The externalsrc class
is designed for this case. See
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/externalsrc.bbclass
or the equivalent file in your local clone of poky.



--
Regards,
Zafrullah Syed