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.

DM365官方例子编译出错



从此链接http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html

下载了dm365_mp3enc_3_5_00_production.bin安装后,安装说明修改了Makefile.prod 和user.bld,但目前在链接是出错。不知是什么原因!其他模块编译时也出现相同错误。我该如何解决?是arm-linux-gcc的版本问题吗?

# make -f Makefile.prod all

错误提示:

#
# lnk470MV mp3_enc_app.x470MV ...
/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -UGT -lpthread -o mp3_enc_app.x470MV package/cfg/mp3_enc_app/app.o470MV package/cfg/mp3_enc_app_x470MV.o470MV package/cfg/mp3_enc_app/ia_mp3_enc_error_handler.o470MV package/cfg/mp3_enc_app/ceapp.o470MV package/cfg/mp3_enc_app_x470MV.xdl -lstdc++ -L/root/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/lib
collect2: ld terminated with signal 11 [Segmentation fault]
gmake[1]: *** [mp3_enc_app.x470MV] Error 1
gmake: *** [packages/ittiam/app/mp3_enc_app,.executables] Error 2
make: *** [.all-packages] Error 2

  • TI提供到音频编解码代码没人用过么?能说说我如何才能编译通过么?所有到音频编解码都出现上诉错误。

    Makefile.prod 修改了工具包到路径,

    user.bld修改编译工具路径

    MVArm9.rootDir = "/root/CodeSourcery/Sourcery_G++_Lite";
    MVArm9.LONGNAME="bin/arm-none-linux-gnueabi-gcc";