大家好,我在rtt的allwinner_tina包中加入了speex编译,编译器为gcc,链接时候出现以下问题,不知道是不是链接脚本的问题。麻烦大家帮忙看一下。谢谢
CC build\speex-1.2.0\libspeex\modes_wb.o
CC build\speex-1.2.0\libspeex\nb_celp.o
CC build\speex-1.2.0\libspeex\quant_lsp.o
CC build\speex-1.2.0\libspeex\sb_celp.o
CC build\speex-1.2.0\libspeex\smallft.o
CC build\speex-1.2.0\libspeex\speex.o
CC build\speex-1.2.0\libspeex\speex_callbacks.o
CC build\speex-1.2.0\libspeex\speex_header.o
CC build\speex-1.2.0\libspeex\stereo.o
CC build\speex-1.2.0\libspeex\vbr.o
CC build\speex-1.2.0\libspeex\vorbis_psy.o
CC build\speex-1.2.0\libspeex\vq.o
CC build\speex-1.2.0\libspeex\window.o
LINK rtthread.elf
d:/env_released_1.2.0/tools/gnu_gcc/arm_gcc/mingw/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/liblibc.a(lib_a-fini.o): In function `__libc_fini_array':
fini.c:(.text.__libc_fini_array+0x30): undefined reference to `_fini'
collect2.exe: error: ld returned 1 exit status
scons: * [rtthread.elf] Error 1
scons: building terminated because of errors.
附图
最近编辑记录 djslion (2022-04-10 23:04:19)
离线
用的是f1c100s芯片,@ntmusic的《基于RTThread的F1C100s开发(带boot启动+硬件多图层+硬件游标+LVGL+SDIO)》的allwinner_tina_prj_v1.rar文件,增加了speex库,编译通过,链接就出问题了
离线