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.

Linux: Unable to build syslink examples

Other Parts Discussed in Thread: OMAPL138

Tool/software: Linux

HI there, I have manage to install all tools specified under the dsp-tools folder in sdk folder.

And also manage to get the make syslink build. by using the following "

"

But I'm unable to build examples.. 

following is the error message:

miteshhiran@ubuntu:~/ti/syslink_2_21_01_05$ make examples
#
# Making examples...
make -C examples extract
make[1]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples'
#
# Unzipping all examples...
Archive: archive/OMAPL138_linux_elf/ex04_sharedregion.zip
creating: ex04_sharedregion/
creating: ex04_sharedregion/dsp/
inflating: ex04_sharedregion/dsp/Dsp.cfg
inflating: ex04_sharedregion/dsp/main_dsp.c
inflating: ex04_sharedregion/dsp/makefile
inflating: ex04_sharedregion/dsp/Server.c
inflating: ex04_sharedregion/dsp/Server.h
inflating: ex04_sharedregion/makefile
inflating: ex04_sharedregion/products.mak
inflating: ex04_sharedregion/run.sh
inflating: ex04_sharedregion/readme.txt
creating: ex04_sharedregion/shared/
inflating: ex04_sharedregion/shared/AppCommon.h
inflating: ex04_sharedregion/shared/config.bld
inflating: ex04_sharedregion/shared/SystemCfg.h
creating: ex04_sharedregion/host/
inflating: ex04_sharedregion/host/App.c
inflating: ex04_sharedregion/host/App.h
inflating: ex04_sharedregion/host/main_host.c
inflating: ex04_sharedregion/host/makefile
Archive: archive/OMAPL138_linux_elf/ex33_umsg.zip
creating: ex33_umsg/
inflating: ex33_umsg/Umsg.c
inflating: ex33_umsg/Umsg.h
inflating: ex33_umsg/Umsg.pptx
inflating: ex33_umsg/UmsgInternal.h
inflating: ex33_umsg/Umsg_host.c
inflating: ex33_umsg/Umsg_dsp.c
inflating: ex33_umsg/dsp.mak
inflating: ex33_umsg/host.mak
inflating: ex33_umsg/makefile
inflating: ex33_umsg/products.mak
inflating: ex33_umsg/readme.txt
creating: ex33_umsg/linux/
inflating: ex33_umsg/linux/Makefile
inflating: ex33_umsg/linux/UmsgDrvProtocol.h
inflating: ex33_umsg/linux/driver.c
inflating: ex33_umsg/linux/load_umsg.sh
inflating: ex33_umsg/linux/umsg_drv.c
inflating: ex33_umsg/linux/umsg_drv.h
extracting: ex33_umsg/linux/unload_umsg.sh
Archive: archive/OMAPL138_linux_elf/ex09_readwrite.zip
creating: ex09_readwrite/
creating: ex09_readwrite/dsp/
inflating: ex09_readwrite/dsp/Dsp.cfg
inflating: ex09_readwrite/dsp/main_dsp.c
inflating: ex09_readwrite/dsp/makefile
inflating: ex09_readwrite/dsp/Server.c
inflating: ex09_readwrite/dsp/Server.h
inflating: ex09_readwrite/makefile
inflating: ex09_readwrite/products.mak
inflating: ex09_readwrite/readme.txt
inflating: ex09_readwrite/run.sh
creating: ex09_readwrite/host/
inflating: ex09_readwrite/host/App.c
inflating: ex09_readwrite/host/App.h
inflating: ex09_readwrite/host/main_host.c
inflating: ex09_readwrite/host/makefile
creating: ex09_readwrite/shared/
inflating: ex09_readwrite/shared/config.bld
inflating: ex09_readwrite/shared/ServerProtocol.h
Archive: archive/OMAPL138_linux_elf/ex08_ringio.zip
creating: ex08_ringio/
creating: ex08_ringio/dsp/
inflating: ex08_ringio/dsp/Dsp.cfg
inflating: ex08_ringio/dsp/main_dsp.c
inflating: ex08_ringio/dsp/makefile
inflating: ex08_ringio/dsp/Server.c
inflating: ex08_ringio/dsp/Server.h
inflating: ex08_ringio/makefile
inflating: ex08_ringio/products.mak
inflating: ex08_ringio/run.sh
inflating: ex08_ringio/readme.txt
creating: ex08_ringio/shared/
inflating: ex08_ringio/shared/AppCommon.h
inflating: ex08_ringio/shared/config.bld
inflating: ex08_ringio/shared/SystemCfg.h
creating: ex08_ringio/host/
inflating: ex08_ringio/host/App.c
inflating: ex08_ringio/host/App.h
inflating: ex08_ringio/host/main_host.c
inflating: ex08_ringio/host/makefile
Archive: archive/OMAPL138_linux_elf/ex06_listmp.zip
creating: ex06_listmp/
creating: ex06_listmp/dsp/
inflating: ex06_listmp/dsp/Dsp.cfg
inflating: ex06_listmp/dsp/main_dsp.c
inflating: ex06_listmp/dsp/makefile
inflating: ex06_listmp/dsp/Server.c
inflating: ex06_listmp/dsp/Server.h
inflating: ex06_listmp/makefile
inflating: ex06_listmp/products.mak
inflating: ex06_listmp/run.sh
inflating: ex06_listmp/readme.txt
creating: ex06_listmp/shared/
inflating: ex06_listmp/shared/AppCommon.h
inflating: ex06_listmp/shared/config.bld
inflating: ex06_listmp/shared/SystemCfg.h
creating: ex06_listmp/host/
inflating: ex06_listmp/host/App.c
inflating: ex06_listmp/host/App.h
inflating: ex06_listmp/host/main_host.c
inflating: ex06_listmp/host/makefile
Archive: archive/OMAPL138_linux_elf/ex02_messageq.zip
creating: ex02_messageq/
creating: ex02_messageq/dsp/
inflating: ex02_messageq/dsp/Dsp.cfg
inflating: ex02_messageq/dsp/main_dsp.c
inflating: ex02_messageq/dsp/makefile
inflating: ex02_messageq/dsp/Server.c
inflating: ex02_messageq/dsp/Server.h
inflating: ex02_messageq/makefile
inflating: ex02_messageq/products.mak
inflating: ex02_messageq/run.sh
inflating: ex02_messageq/readme.txt
creating: ex02_messageq/shared/
inflating: ex02_messageq/shared/AppCommon.h
inflating: ex02_messageq/shared/config.bld
inflating: ex02_messageq/shared/SystemCfg.h
creating: ex02_messageq/host/
inflating: ex02_messageq/host/App.c
inflating: ex02_messageq/host/App.h
inflating: ex02_messageq/host/main_host.c
inflating: ex02_messageq/host/makefile
Archive: archive/OMAPL138_linux_elf/ex01_helloworld.zip
creating: ex01_helloworld/
creating: ex01_helloworld/dsp/
inflating: ex01_helloworld/dsp/Dsp.cfg
inflating: ex01_helloworld/dsp/main_dsp.c
inflating: ex01_helloworld/dsp/makefile
inflating: ex01_helloworld/dsp/Server.c
inflating: ex01_helloworld/dsp/Server.h
inflating: ex01_helloworld/makefile
inflating: ex01_helloworld/products.mak
inflating: ex01_helloworld/run.sh
inflating: ex01_helloworld/readme.txt
creating: ex01_helloworld/shared/
inflating: ex01_helloworld/shared/config.bld
inflating: ex01_helloworld/shared/SystemCfg.h
creating: ex01_helloworld/host/
inflating: ex01_helloworld/host/App.c
inflating: ex01_helloworld/host/App.h
inflating: ex01_helloworld/host/main_host.c
inflating: ex01_helloworld/host/makefile
Archive: archive/OMAPL138_linux_elf/ex05_heapbufmp.zip
creating: ex05_heapbufmp/
creating: ex05_heapbufmp/dsp/
inflating: ex05_heapbufmp/dsp/Dsp.cfg
inflating: ex05_heapbufmp/dsp/main_dsp.c
inflating: ex05_heapbufmp/dsp/makefile
inflating: ex05_heapbufmp/dsp/Server.c
inflating: ex05_heapbufmp/dsp/Server.h
inflating: ex05_heapbufmp/makefile
inflating: ex05_heapbufmp/products.mak
inflating: ex05_heapbufmp/run.sh
inflating: ex05_heapbufmp/readme.txt
creating: ex05_heapbufmp/shared/
inflating: ex05_heapbufmp/shared/AppCommon.h
inflating: ex05_heapbufmp/shared/config.bld
inflating: ex05_heapbufmp/shared/SystemCfg.h
creating: ex05_heapbufmp/host/
inflating: ex05_heapbufmp/host/App.c
inflating: ex05_heapbufmp/host/App.h
inflating: ex05_heapbufmp/host/main_host.c
inflating: ex05_heapbufmp/host/makefile
Archive: archive/OMAPL138_linux_elf/ex07_gatemp.zip
creating: ex07_gatemp/
creating: ex07_gatemp/dsp/
inflating: ex07_gatemp/dsp/Dsp.cfg
inflating: ex07_gatemp/dsp/main_dsp.c
inflating: ex07_gatemp/dsp/makefile
inflating: ex07_gatemp/dsp/Server.c
inflating: ex07_gatemp/dsp/Server.h
inflating: ex07_gatemp/makefile
inflating: ex07_gatemp/products.mak
inflating: ex07_gatemp/run.sh
inflating: ex07_gatemp/readme.txt
creating: ex07_gatemp/shared/
inflating: ex07_gatemp/shared/AppCommon.h
inflating: ex07_gatemp/shared/config.bld
inflating: ex07_gatemp/shared/SystemCfg.h
creating: ex07_gatemp/host/
inflating: ex07_gatemp/host/App.c
inflating: ex07_gatemp/host/App.h
inflating: ex07_gatemp/host/main_host.c
inflating: ex07_gatemp/host/makefile
Archive: archive/OMAPL138_linux_elf/ex34_radar.zip
creating: ex34_radar/
creating: ex34_radar/dsp/
inflating: ex34_radar/dsp/Dsp.cfg
inflating: ex34_radar/dsp/main_dsp.c
inflating: ex34_radar/dsp/makefile
inflating: ex34_radar/dsp/Server.c
inflating: ex34_radar/dsp/Server.h
inflating: ex34_radar/dbg.sh
inflating: ex34_radar/makefile
inflating: ex34_radar/products.mak
inflating: ex34_radar/readme.txt
inflating: ex34_radar/run.sh
creating: ex34_radar/host/
inflating: ex34_radar/host/App.c
inflating: ex34_radar/host/App.h
inflating: ex34_radar/host/main_host.c
inflating: ex34_radar/host/makefile
creating: ex34_radar/shared/
inflating: ex34_radar/shared/AppProtocol.h
inflating: ex34_radar/shared/ServerProtocol.h
inflating: ex34_radar/shared/config.bld
Archive: archive/OMAPL138_linux_elf/ex03_notify.zip
creating: ex03_notify/
creating: ex03_notify/dsp/
inflating: ex03_notify/dsp/Dsp.cfg
inflating: ex03_notify/dsp/main_dsp.c
inflating: ex03_notify/dsp/makefile
inflating: ex03_notify/dsp/Server.c
inflating: ex03_notify/dsp/Server.h
inflating: ex03_notify/makefile
inflating: ex03_notify/products.mak
inflating: ex03_notify/run.sh
inflating: ex03_notify/readme.txt
creating: ex03_notify/shared/
inflating: ex03_notify/shared/AppCommon.h
inflating: ex03_notify/shared/config.bld
inflating: ex03_notify/shared/SystemCfg.h
creating: ex03_notify/host/
inflating: ex03_notify/host/App.c
inflating: ex03_notify/host/App.h
inflating: ex03_notify/host/main_host.c
inflating: ex03_notify/host/makefile
make[1]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples'
make -C examples all
make[1]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples'
#
# Making all examples...
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex09_readwrite'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex09_readwrite'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex08_ringio'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex08_ringio'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex06_listmp'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex06_listmp'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex05_heapbufmp'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex05_heapbufmp'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex01_helloworld'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex01_helloworld'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex07_gatemp'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex07_gatemp'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex03_notify'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex03_notify'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex34_radar'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex34_radar'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex02_messageq'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex02_messageq'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex04_sharedregion'
products.mak:60: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex04_sharedregion'
make[2]: Entering directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex33_umsg'
products.mak:61: ../../products.mak/: Not a directory
make[2]: *** No rule to make target '../../products.mak/'. Stop.
make[2]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples/ex33_umsg'
makefile:52: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/miteshhiran/ti/syslink_2_21_01_05/examples'
makefile:271: recipe for target 'examples' failed
make: *** [examples] Error 2

  • Hello,

    Please check the syslink install guide:
    processors.wiki.ti.com/.../SysLink_Install_Guide

    BR
    Margarita
  • Hi Margarita, I have followed that link and when I did make examples, I got that error.
  • there are the options I am using:

    miteshhiran@ubuntu:~/ti/syslink_2_21_01_05$ make .show-products
    DEPOT = /home/miteshhiran
    DEVICE = OMAPL1XX
    GPPOS = Linux
    SDK = NONE
    TI81XXDSP_DMTIMER_FREQ =
    SYSLINK_BUILD_DEBUG = 1
    SYSLINK_BUILD_OPTIMIZE = 0
    SYSLINK_TRACE_ENABLE = 1
    LOADER = ELF
    SYSLINK_INSTALL_DIR = /home/miteshhiran/ti/syslink_2_21_01_05
    IPC_INSTALL_DIR = /home/miteshhiran/ti/ipc_1_25_03_15
    BIOS_INSTALL_DIR = /home/miteshhiran/ti/bios_6_33_02_31
    XDC_INSTALL_DIR = /home/miteshhiran/ti/xdctools_3_23_01_43
    LINUXKERNEL = /home/miteshhiran/ti/mcsdk_1_01_00_02/board-support/linux-3.3-psp03.22.00.06.sdk
    QNX_INSTALL_DIR =
    CGT_ARM_PREFIX = /home/miteshhiran/ti-sdk-omapl138-lcdk-01.00.00/linux-devkit/bin/arm-arago-linux-gnueabi-
    CGT_C64P_INSTALL_DIR =
    CGT_C64P_ELF_INSTALL_DIR =
    CGT_C674_INSTALL_DIR =
    CGT_C674_ELF_INSTALL_DIR = /home/miteshhiran/ti/TI_CGT_C6000_7.3.3
    CGT_M3_ELF_INSTALL_DIR =
    CGT_A8_ELF_INSTALL_DIR =
    EXEC_DIR = /home/miteshhiran/test/syslink


    I am not sure of "CGT_ARM_PREFIX " was arm-none-linux-gnueabi- changed to arm-arago-linux-gnueabi-
  • Hi there, could someone tell me where to find arm-none-linux-gnueabi-gcc ?
    I have installed sdk and I have only "arm-arago-linux-gnueabi-" I think, this is needed for building syslink examples. Thanks.

    Regards,
    Mitesh