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.

omapl138 ipc例子工程编译问题



root@ubuntu:/home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05# make ti-ipc-linux-examples
Makefile:316: warning: overriding commands for target `linux-dtbs'
Makefile:123: warning: ignoring old commands for target `linux-dtbs'
Makefile:323: warning: overriding commands for target `linux-dtbs_install'
Makefile:130: warning: ignoring old commands for target `linux-dtbs_install'
Makefile:335: warning: overriding commands for target `linux-dtbs_clean'
Makefile:142: warning: ignoring old commands for target `linux-dtbs_clean'
Makefile:346: warning: overriding commands for target `u-boot'
Makefile:153: warning: ignoring old commands for target `u-boot'
Makefile:353: warning: overriding commands for target `u-boot_clean'
Makefile:160: warning: ignoring old commands for target `u-boot_clean'
Makefile:359: warning: overriding commands for target `u-boot_install'
Makefile:166: warning: ignoring old commands for target `u-boot_install'
=================================
Building the IPC Examples
=================================
SDK_INSTALL_PATH=/opt/ti source /opt/ti/processor_sdk_rtos_omapl138_4_03_00_05/setupenv.sh > /dev/null; \
source /home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05/linux-devkit/environment-setup; \
make -j 2 -C ${IPC_INSTALL_PATH}/examples \
HOSTOS="linux" \
PLATFORM="${IPC_PLATFORM}" \
KERNEL_INSTALL_DIR="/home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05/board-support/linux-4.9.69+gitAUTOINC+9ce43c71ae-g9ce43c71ae" \
XDC_INSTALL_DIR="${XDC_INSTALL_PATH}" \
BIOS_INSTALL_DIR="${BIOS_INSTALL_PATH}" \
IPC_INSTALL_DIR="${IPC_INSTALL_PATH}" \
TOOLCHAIN_LONGNAME=${TOOLCHAIN_SYS} \
TOOLCHAIN_INSTALL_DIR=${SDK_PATH_NATIVE}/usr \
TOOLCHAIN_PREFIX=/home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabi- \
ti.targets.elf.C674=${C6X_GEN_INSTALL_PATH}
make[1]: Entering directory `/opt/ti/ipc_3_47_01_00/examples'
#
#
# Making example OMAPL138_linux_elf/ex02_messageq/...
make -C OMAPL138_linux_elf/ex02_messageq/ all
# Making example OMAPL138_linux_elf/ex11_ping/...
make -C OMAPL138_linux_elf/ex11_ping/ all
make[2]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq'
make[2]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping'
#
#
# Making dsp ...
make -C dsp PROCLIST="dsp host"
# Making dsp ...
make -C dsp PROCLIST="dsp host"
make[3]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping/dsp'
make[3]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
make PROFILE=debug PROCLIST="dsp host" server_dsp.x
make PROFILE=debug PROCLIST="dsp host" server_dsp.x
make[4]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
make[4]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping/dsp'
#
#
# Making bin/debug/configuro/.config ...
/opt/ti/xdctools_3_50_03_33_core/xs --xdcpath="/packages;/opt/ti/ipc_3_47_01_00/packages;/opt/ti/xdctools_3_50_03_33_core/packages" \
xdc.tools.configuro -o bin/debug/configuro \
-t ti.targets.elf.C674 \
-c \
-p ti.platforms.evmOMAPL138:dsp \
-b ../dsp/config.bld -r debug \
Dsp.cfg
# Making bin/debug/configuro/linker.cmd ...
/opt/ti/xdctools_3_50_03_33_core/xs --xdcpath="/packages;/opt/ti/ipc_3_47_01_00/packages;/opt/ti/xdctools_3_50_03_33_core/packages" \
xdc.tools.configuro -o bin/debug/configuro \
-t ti.targets.elf.C674 \
-c \
-p ti.platforms.evmOMAPL138:dsp \
-b ../dsp/config.bld -r release \
--cfgArgs "{ \
procList: \"dsp host\", \
profile: \"debug\" \
}" Dsp.cfg
xdc.tools.configuro: extraneous arguments ignored: '-b ...'
Usage: xs xdc.tools.configuro [--help]
[-v | -q]
[-@ optionsfile]
[-o outdir]
[-b config_bld | -c codegen_dir | --cb]
[-t target] [-p platform[:instance]] [-r profile]
[-Dname=value]
[-w | -x regexp]
[--rtsName pkg_name]
[--cfgArgs args_string]
[--linkTemplate linker_template]
[--pkg] [--generationOnly]
[--compileOptions compile_options_string]
[--linkOptions linker_options_string]
[--oc compiler.opt] [--ol linker.cmd]
infile.cfg
js: "/opt/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: can't open input file 'ti.platforms.evmOMAPL138:dsp'
xdc.tools.configuro: extraneous arguments ignored: '-b ...'
Usage: xs xdc.tools.configuro [--help]
[-v | -q]
[-@ optionsfile]
[-o outdir]
[-b config_bld | -c codegen_dir | --cb]
[-t target] [-p platform[:instance]] [-r profile]
[-Dname=value]
[-w | -x regexp]
[--rtsName pkg_name]
[--cfgArgs args_string]
[--linkTemplate linker_template]
[--pkg] [--generationOnly]
[--compileOptions compile_options_string]
[--linkOptions linker_options_string]
[--oc compiler.opt] [--ol linker.cmd]
infile.cfg
js: "/opt/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: can't open input file 'ti.platforms.evmOMAPL138:dsp'
make[4]: *** [bin/debug/configuro/linker.cmd] Error 1
make[4]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping/dsp'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping/dsp'
make[2]: *** [dsp] Error 2
make[2]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex11_ping'
make[1]: *** [OMAPL138_linux_elf/ex11_ping/] Error 2
make[1]: make PROFILE=release PROCLIST="dsp host" server_dsp.x
*** Waiting for unfinished jobs....
make[4]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
#
# Making bin/release/configuro/.config ...
make[4]: *** [bin/debug/configuro/.config] Error 1
make[4]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
make[3]: *** [debug] Error 2
make[3]: *** Waiting for unfinished jobs....
/opt/ti/xdctools_3_50_03_33_core/xs --xdcpath="/packages;/opt/ti/ipc_3_47_01_00/packages;/opt/ti/xdctools_3_50_03_33_core/packages" \
xdc.tools.configuro -o bin/release/configuro \
-t ti.targets.elf.C674 \
-c \
-p ti.platforms.evmOMAPL138:dsp \
-b ../dsp/config.bld -r release \
Dsp.cfg
#
# Making host ...
make -C host PROCLIST="dsp host"
make[3]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/host'
#
# Making all ...
make PROFILE=debug app_host
make[4]: Entering directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/host'
#
# Making bin/debug/app_host ...
/home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabi-gcc -L/opt/ti/ipc_3_47_01_00/linux/src/api/.libs/ -L/opt/ti/ipc_3_47_01_00/linux/src/utils/.libs -L/opt/ti/ipc_3_47_01_00/linux/src/transport/.libs -ggdb -Wall -Wl,-Map=bin/debug/app_host.map -o bin/debug/app_host bin/debug/obj/main_host.ov5T bin/debug/obj/App.ov5T -lpthread -lc -lrt -ltiipc -ltiipcutils -ltitransportrpmsg
/home/zhzy/omapl138/omapl138/ti-processor-sdk-linux-omapl138-lcdk-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabi/6.2.1/../../../../arm-linux-gnueabi/bin/ld: cannot find -lrt
collect2: error: ld returned 1 exit status
make[4]: *** [bin/debug/app_host] Error 1
make[4]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/host'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/host'
make[2]: *** [host] Error 2
make[2]: *** Waiting for unfinished jobs....
xdc.tools.configuro: extraneous arguments ignored: '-b ...'
Usage: xs xdc.tools.configuro [--help]
[-v | -q]
[-@ optionsfile]
[-o outdir]
[-b config_bld | -c codegen_dir | --cb]
[-t target] [-p platform[:instance]] [-r profile]
[-Dname=value]
[-w | -x regexp]
[--rtsName pkg_name]
[--cfgArgs args_string]
[--linkTemplate linker_template]
[--pkg] [--generationOnly]
[--compileOptions compile_options_string]
[--linkOptions linker_options_string]
[--oc compiler.opt] [--ol linker.cmd]
infile.cfg
js: "/opt/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: can't open input file 'ti.platforms.evmOMAPL138:dsp'
make[4]: *** [bin/release/configuro/.config] Error 1
make[4]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
make[3]: *** [release] Error 2
make[3]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq/dsp'
make[2]: *** [dsp] Error 2
make[2]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples/OMAPL138_linux_elf/ex02_messageq'
make[1]: *** [OMAPL138_linux_elf/ex02_messageq/] Error 2
make[1]: Leaving directory `/opt/ti/ipc_3_47_01_00/examples'
make: *** [ti-ipc-linux-examples] Error 2

其它都编译通过了,在编译IPC例子工程时出现这个错误,找不到解决方案了,根据提示的地方都查找过,没发现问题,还有,:dsp这个文件没找到。