Skip to contentSkip to conversation

Problem using unix source in do_compile

DISCUSSION Edward Vidal 2 participants 3 messages Nov 26, 2015 – Dec 1, 2015 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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 shls -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/gmakeThanks for all the help.
Edward Vidal Jr. e-mail [email protected] 915-595-1613

#2 lore raw
Quoted 3 lines · Edward Vidal

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.

Quoted 6 lines

which sh
/bin/sh
cd /bin
ls -la sh
lrwxrwxrwx 1 root root 4 May 16 2015 sh -> dash
ln -sf bash sh

Quoted 8 lines

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

Quoted 9 lines

Edward Vidal Jr. e-mail [email protected] 915-595-1613

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw

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

Quoted 1 line

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 [email protected] 915-595-1613

    On Monday, November 30, 2015 1:21 PM, Khem Raj <[email protected]> wrote:
Quoted 26 lines · Edward Vidal

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 [email protected] 915-595-1613

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto