[yocto] Issue: SDK

SatyaNarayana Sampangi satya.2891 at gmail.com
Sun Mar 5 19:55:14 PST 2017


Thanks Paul, for putting the correction.

On Mon, Mar 6, 2017 at 1:20 AM, Paul Eggleton <paul.eggleton at linux.intel.com
> wrote:

> On Monday, 6 March 2017 6:09:06 AM NZDT SatyaNarayana Sampangi wrote:
> > I am trying to develop the application using SDK, everything goes fine,
> but
> > when it comes to compiling it is failing.
> >
> > The details are given below,
> >
> > [Satya]/opt/poky/1.6.3
> > source environment-setup-cortexa8t2hf-vfp-neon-poky-linux-gnueabi
> > [Satya]/opt/poky/1.6.3
> > ${CC} sample.c -g -o sample
> > /opt/poky/1.6.3/sysroots/x86_64-pokysdk-linux/usr/libexec/
> arm-poky-linux-gnu
> > eabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot open output file
> sample:
> > Permission denied
> > collect2: error: ld returned 1 exit status
> > [Satya]/opt/poky/1.6.3
>
> This is a pretty straightforward error. Either you have a file called
> "sample"
> already existing with permissions that do not allow your current user to
> overwrite it, or the directory itself does not have permissions set
> allowing
> you to write files to it. Either way, you probably shouldn't be doing your
> work with the standard SDK in the SDK installation path - create a new
> directory somewhere more appropriate (e.g. under your home directory) for
> your
> source code and build your files there.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170306/8d3d2508/attachment.html>


More information about the yocto mailing list