This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

trying to bitbake ti-dsplink, can't find cl6x executable under staging directory



When bitbaking ti-dsplink, the build fails with:


cl6x ...  failure.c
| /bin/sh: /stuff/build/tmp/staging/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-cgt6x-tree/bin/cl6x: No such file or directory
| make[3]: *** [failure.c.deb] Error 127
| make[3]: Leaving directory `/stuff/build/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-dsplink-1_1_65_00_02-r70f/dsplink_linux_1_65_00_02/dsplink/dsp/src/base/gen'
| make[2]: *** [objdeb] Error 2
...
NOTE: Tasks Summary: Attempted 737 tasks of which 737 didn't need to be rerun and 1 failed.
ERROR: '/stuff/openembedded/recipes/ti/ti-dsplink_1.65.00.02.bb' failed

 

the ti-cgt6x-tree directory only has an empty patches directory below it.  I can bitbake the c6 compilers themselves.

Anyone know what's going on?

 

thanks

  • Admittedly I've never used bitbake myself, but I seem to recall reading at one point that the compiler is not bundled with the install.  You can download the compiler here.  I assume you'll need to change a script variable somewhere to point to the compiler once you've installed it.

  • I had the same problem. But i have fixed.. it creates all the required packages in /opt/ti/.. instead of .../OEBASE directory. Basicly what i did is, copying all the things under directory /opt/ti and pasting them where the /bin/cl6x must stay. This problem depended on my /opt file has write  permission. Firstly you have to take this permission back from /opt. For doing this:

    # sudo chmod a-w /opt 

    So far so good, you have to clean out the tools package so it gets reinstalled. There are 2 ways to do it: 

         # bitbake ti-cgt6x ti-codec-engine -c clean

         # bitbake ti-codec-engine 

    This was first, and the other is:
    Copy all the packages under /opt/ti and paste them to ...OEBASE/build/tmp/staging/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-cgt6x-tree/ 

         # cp -r  
    /opt/ti ...OEBASE/build/tmp/staging/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-cgt6x-tree/ 

         # bitbake ti-codec-engine 

    note: you have to replace OEBASE with where you installed Openembedded as base..