查看: 116|回复: 0

[求助] BPI-D1编译出错

[复制链接]

1

主题

0

好友

8

积分

白丁

Rank: 1

该用户从未签到

发表于 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
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

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

手机版|爱板网 |网站地图  

GMT+8, 2017-4-26 04:09 , Processed in 0.114366 second(s), 9 queries , Memcache On.

苏公网安备 32059002001056号

Powered by Discuz!

回顶部