查看: 2188|回复: 0

BPI-D1编译出错

[复制链接]

该用户从未签到

发表于 2016-12-5 12:49:49 | 显示全部楼层 |阅读模式
分享到:
小白求教!从Github上下的Lamobo-D1-master,在单独makefile编译record_audio和record_video的时候总会出现下面的错误,查看了交叉编译环境好像也没什么问题,请问这个错误怎么解决?
  1. @ubuntu:~/Lamobo-D1-master/src/samples/record_audio$ make
  2. mkdir -p BUILD_record_audio_EXEC/
  3. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c gnu_getopt.c -o BUILD_record_audio_EXEC/gnu_getopt.o
  4. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c gnu_getopt_long.c -o BUILD_record_audio_EXEC/gnu_getopt_long.o
  5. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c log.c -o BUILD_record_audio_EXEC/log.o
  6. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c Thread.c -o BUILD_record_audio_EXEC/Thread.o
  7. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c AkAlsaHardware.c -o BUILD_record_audio_EXEC/AkAlsaHardware.o
  8. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c AkAudioEncoder.c -o BUILD_record_audio_EXEC/AkAudioEncoder.o
  9. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c AkAudioRecorder.c -o BUILD_record_audio_EXEC/AkAudioRecorder.o
  10. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c AkAudioDemo.c -o BUILD_record_audio_EXEC/AkAudioDemo.o
  11. arm-none-linux-gnueabi-gcc  -I../../librootfs/akmedialib/include/akmedialib -I../../librootfs/alsalib/include -Wall -D_GNU_SOURCE -std=c99 -fms-extensions -c main.c -o BUILD_record_audio_EXEC/main.o
  12. arm-none-linux-gnueabi-gcc -L../../librootfs/akmedialib/usr/lib -L../../librootfs/alsalib/usr/lib -lasound -lakaudiocodec -lakaudiofilter -o BUILD_record_audio_EXEC/record_audio BUILD_record_audio_EXEC/gnu_getopt.o BUILD_record_audio_EXEC/gnu_getopt_long.o BUILD_record_audio_EXEC/log.o BUILD_record_audio_EXEC/Thread.o BUILD_record_audio_EXEC/AkAlsaHardware.o BUILD_record_audio_EXEC/AkAudioEncoder.o BUILD_record_audio_EXEC/AkAudioRecorder.o BUILD_record_audio_EXEC/AkAudioDemo.o BUILD_record_audio_EXEC/main.o
  13. /usr/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:../../librootfs/alsalib/usr/lib/libasound.so: file format not recognized; treating as linker script
  14. /usr/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:../../librootfs/alsalib/usr/lib/libasound.so:1: syntax error
  15. collect2: ld returned 1 exit status
  16. exec_rules.mk:32: recipe for target 'BUILD_record_audio_EXEC/record_audio' failed
  17. make: *** [BUILD_record_audio_EXEC/record_audio] Error 1
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /4 下一条



手机版|小黑屋|与非网

GMT+8, 2024-11-15 18:27 , Processed in 0.123905 second(s), 15 queries , MemCache On.

ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

苏公网安备 32059002001037号

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.