[yocto] Hello world package error

Zafrullah Syed zafrullahmehdi at gmail.com
Tue May 21 04:02:13 PDT 2013


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 at paulbarker.me.uk> wrote:

> On 21 May 2013 11:35, Paul Barker <paul at paulbarker.me.uk> wrote:
> > On 21 May 2013 11:12, Zafrullah Syed <zafrullahmehdi at 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.
>
> --
> Paul Barker
>
> Email: paul at paulbarker.me.uk
> http://www.paulbarker.me.uk
>



-- 
Regards,
Zafrullah Syed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130521/944f05d5/attachment.html>


More information about the yocto mailing list