[yocto] Problem using unix source in do_compile

Edward Vidal develone at sbcglobal.net
Tue Dec 1 15:39:17 PST 2015


Kherm,
I did follow Paul recommendations.  The issue was not just using the source unix command.
When I changed source to '.', a new error occurred.   

do_compile) failed with exit code '1' What is the unexpected
> operator?
This error was caused by not having a gmake.  Searching to resolve the gmake issue, 
which some recommend linking to make.  

On this problem I have been working for quite some time.  I don't now if this is related
to dash bash issue or not.  

I was working on a Fedora system which uses bash.  My binutils
2.23.2-r4 was most likely built on the Fedora system.  I needed to switch to an O/S
that support Xilinx Tools, so I copied my working tree to a Ubuntu system.

I have removed from tmp down several times trying different things and bitbake core-image-sato 
rebuilds the tmp area.  I wanted to remove from build,  but then is when my binutils 2.23.2-r4
would failed.  I had to restore my build/buildhistory  build/cache  build/conf  build/sanity_info  build/sstate-cache  and then tmp was rebuilt with bitbake core-image-sato.

I really do appreciate all the help that the folks on this mailing list and meta-xilinx
mailing list. Thanks for all the help,
Edward Vidal Jr. e-mail develone at sbcglobal.net 915-595-1613 


    On Monday, November 30, 2015 1:21 PM, Khem Raj <raj.khem at gmail.com> wrote:
 

 
On Nov 25, 2015 7:30 PM, "Edward Vidal" <develone at sbcglobal.net> wrote:
>
> Hello all,
> After a long time of trying to get Michael Looijmans fpga-image-adi.bb from meta-topic to work.  I wanted to share the fix.  I was running Ubuntu 12.04.
> which sh
> /bin/sh
> cd /bin
> ls -la sh
> lrwxrwxrwx 1 root root 4 May 16  2015 sh -> dash
> ln -sf bash sh
> ls -la /bin/sh
> lrwxrwxrwx 1 root root 4 Nov 25 17:28 /bin/sh -> bash
> which gmake
> /usr/bin/gmake
> cd /usr/bin
> ln -sf make gmake
> ls -la /usr/bin/gmake
> Thanks for all the help.There are better ways to switch default sh to be bash or dash dpkg-reconfigure dash would offer you the selection choice. But why did you not try Paul's suggestions
>
> Edward Vidal Jr. e-mail develone at sbcglobal.net 915-595-1613
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151201/c00ea2b6/attachment.html>


More information about the yocto mailing list