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.

Compiler/TCI6636K2H: How to build pdk example rmServer.out in Linux on 6636k2h platform

Part Number: TCI6636K2H

Tool/software: TI C/C++ Compiler

Hello,

I'm building PDK. I have follow error:

‘/opt/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ldaemon

collect2: error: ld returned 1 exit status’

How to solve this problem?

Thanks,

  • I've forwarded this to the Linux experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev

  • Hi, Namki,

    rmServer has the dependency on ipc and libdaemon.

    Because the PDK is in RTOS SDK, not in Linux SDK, but the executable exists in Linux file system, it is built using Yocto. Please see Yocto build instructions in processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    Instead of building the whole SDK release, you can just build rm-lld target.
    $ MACHINE=k2hk-evm bitbake rm-lld

    The executable is located in <yocto_install_dir>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/rm-lld/02.02.00.02-r1.0/image/usr/bin/rmServer.out

    Rex
  • Hi Rex,

    we are also following the above link and building the sdk

    but facing some issue can you help us out.

    MACHINE=k2hk-evm bitbake rm-lld

    WARNING: rm-lld-02.02.00.02-r1.0 do_package_qa: QA Issue: rm-lld: /rm-lld-test/usr/bin/ti/drv/rm/test/dts_files/static-policy.dtb is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

    MACHINE=k2hk-evm bitbake rm-lld-rtos

    ERROR: rm-lld-rtos-02.02.00.02-r1.0 do_compile: Function failed: do_compile (log file is located at /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691)
    ERROR: Logfile of failure stored in: /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691

    Log data follows:
    | DEBUG: Executing shell function do_compile
    | /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/run.do_compile.7691: 215: [: 1: unexpected operator
    | make: *** No rule to make target 'release'. Stop.
    | WARNING: exit code 2 from a shell command.
    | ERROR: Function failed: do_compile (log file is located at /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.7691)
    ERROR: Task 7 (/home/swadhin/work/videocard/tisdk/sources/meta-ti/recipes-bsp/rm-lld/rm-lld-rtos_git.bb, do_compile) failed with exit code '1'

    Thank you,

    Swadhin

  • Hi, Swadhin,

    rm-lld-rtos is not the right target to build. Do you not get rmServer.out from making rm-lld?

    Rex
  • Hi Rex,
    Yes I got the rmServer.out by building
    MACHINE=k2hk-evm bitbake rm-lld

    But while building the arago-core-tisdk-image or gstreamer1.0-plugins-dsp66 or any other package I'm getting this error


    ERROR: rm-lld-rtos-02.02.00.02-r1.0 do_compile: Function failed: do_compile (log file is located at /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344)
    ERROR: Logfile of failure stored in: /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/run.do_compile.8344: 215: [: 1: unexpected operator
    | make: *** No rule to make target 'release'. Stop.
    | WARNING: exit code 2 from a shell command.
    | ERROR: Function failed: do_compile (log file is located at /home/swadhin/work/videocard/tisdk/build/arago-tmp-external-linaro-toolchain/work/k2hk_evm-linux-gnueabi/rm-lld-rtos/02.02.00.02-r1.0/temp/log.do_compile.8344)
    ERROR: Task 7484 (/home/swadhin/work/videocard/tisdk/sources/meta-ti/recipes-bsp/rm-lld/rm-lld-rtos_git.bb, do_compile) failed with exit code '1'


    .

    Can u pls suggest how to solve this issue ??

    BR,
    Swadhin