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.

there are errors in making openmp+processor sdk examples!



I have installed the following package on TCIEVMK2LX:

ti-processor-sdk-linux-k2l-evm-03.00.00.04-Linux-x86-Install_2.bin

I want to compile the examples in:

root@am:/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/usr/share/ti/examples/openmpacc# ls
dspheap     edmabw   local     make.inc   null           printf_debug  target_implicit_map  target_update  vecadd_complex  vecadd_t
dsplib_fft  edmamgr  Makefile  make.inc~  ompacc_env.sh  sub_section   target_orphan_call   vecadd         vecadd_lib

root@am:/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/usr/share/ti/examples/openmpacc# echo $TARGET_ROOTDIR
/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/

root@am:/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/usr/share/ti/examples/openmpacc# echo $TI_OCL_CGT_INSTALL
/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/


root@am:/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/usr/share/ti/examples/openmpacc# ls /opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/
2to3                            blkdiscard          git-upload-pack     nm6x               ubiattach
abs6x                           cal                 hex6x               nologin            ubiblock
acp6x                           cg6x                hexdump             nsenter            ubicrc32
acpia6x                         cg6x3               hexdump.util-linux  ofd6x              ubidetach
acpll6x                         chcpu               i386                omps2s6x           ubiformat
addpart                         chrt                idle                openssl            ubimkvol
ap6x                            chrt.util-linux     ilk6x               opkg               ubinfo
ap6x3                           ci6x                ionice              opkg-check-config  ubinize
ar6x                            cl6x                ipcmk               opt6x              ubirename
arm-linux-gnueabihf-addr2line   clacc               ipcrm               pdd6x              ubirmvol
arm-linux-gnueabihf-ar          clist6x             ipcs                pg                 ubirsvol
arm-linux-gnueabihf-as          clocl               isosize             pkg-config         ubiupdatevol
arm-linux-gnueabihf-c++filt     clt6x               last                pprof6x            ul
arm-linux-gnueabihf-cpp         cmp6x               lastb               prelink6x          uname26
arm-linux-gnueabihf-g++         col                 lastb.util-linux    prlimit            unshare
arm-linux-gnueabihf-gcc         colcrt              last.util-linux     pydoc              update-alternatives
arm-linux-gnueabihf-gcc-5.3.1   colrm               ldattach            raw                update-ca-certificates
arm-linux-gnueabihf-gcc-ar      column              libinfo6x           rename             utmpdump
arm-linux-gnueabihf-gcc-nm      delpart             libtoolize          renice             utmpdump.util-linux
arm-linux-gnueabihf-gcc-ranlib  dem6x               linux32             renice.util-linux  wall
arm-linux-gnueabihf-gcov        dis6x               linux64             resizepart         wall.util-linux
arm-linux-gnueabihf-gdb         eject               lnk6x               rev                wdctl
arm-linux-gnueabihf-gprof       eject.util-linux    logger              rtcwake            whereis
arm-linux-gnueabihf-ld          embed6x             logger.util-linux   script             wipefs
arm-linux-gnueabihf-ld.bfd      fdformat            look                scriptreplay       write
arm-linux-gnueabihf-nm          findmnt             lsblk               setarch            x86_64
arm-linux-gnueabihf-objcopy     flock               lsipc               setsid             x86_64-arago-linux-gnu-pkg-config
arm-linux-gnueabihf-objdump     flock.util-linux    lslocks             setsid.util-linux  x86_64-arago-linux-libtool
arm-linux-gnueabihf-ranlib      fsfreeze            lslogins            setterm            xref6x
arm-linux-gnueabihf-readelf     git                 mesg                smtpd.py           zramctl
arm-linux-gnueabihf-size        git.real            mesg.util-linux     strip6x
arm-linux-gnueabihf-strings     git-receive-pack    mkfs.bfs            swaplabel
arm-linux-gnueabihf-strip       git-shell           mkfs.ubifs          tailf
asm6x                           git-upload-archive  namei               taskset


Now I execute the following command:

root@am:/opt/ti/ti-processor-sdk-linux-k2l-evm-03.00.00.04/targetNFS/usr/share/ti/examples/openmpacc# make
===============  dspheap  =================
===============  dsplib_fft  =================
===============  edmabw  =================
===============  edmamgr  =================
===============  local  =================
===============  null  =================
===============  printf_debug  =================
===============  sub_section  =================
===============  target_implicit_map  =================
===============  target_orphan_call  =================
===============  target_update  =================
===============  vecadd_complex  =================
===============  vecadd_lib  =================
/bin/sh: 1: clacc: not found
make[1]: *** [vecadd.a] Error 127
===============  vecadd  =================
/bin/sh: 1: clacc: not found
make[1]: *** [vecadd] Error 127
===============  vecadd_t  =================

How can i remove the error?