多媒体程序编解码编译时出错
在编译**_DD的时候总是出现“/usr/local/arm/4.3.2/bin/arm-linux-gcc: 第 3 行: exec: arm-none-linux-gnueabi-gcc: 未找到”的错误代码,查了一下Makefile,路径是“CC = /usr/local/arm/4.3.2/bin/arm-linux-gcc”,在该路径下存在arm-linux-gcc,并且已经赋予了777的权限,但是make的时候,错误代码还是出现,请问这是怎么回事阿?参考代码:
root@jiaojuan:/usr/local/arm/4.3.2/bin# ls
arm-linux-addr2linearm-linux-objdump arm-none-linux-gnueabi-gcov
arm-linux-ar arm-linux-ranlib arm-none-linux-gnueabi-gdb
arm-linux-as arm-linux-readelf arm-none-linux-gnueabi-gdbtui
arm-linux-c++ arm-linux-size arm-none-linux-gnueabi-gprof
arm-linux-c++filt arm-linux-sprite arm-none-linux-gnueabi-ld
arm-linux-cpp arm-linux-strings arm-none-linux-gnueabi-nm
arm-linux-g++ arm-linux-strip arm-none-linux-gnueabi-objcopy
arm-linux-gcc arm-none-linux-gnueabi-addr2linearm-none-linux-gnueabi-objdump
arm-linux-gcc-4.3.2arm-none-linux-gnueabi-ar arm-none-linux-gnueabi-ranlib
arm-linux-gcov arm-none-linux-gnueabi-as arm-none-linux-gnueabi-readelf
arm-linux-gdb arm-none-linux-gnueabi-c++ arm-none-linux-gnueabi-size
arm-linux-gdbtui arm-none-linux-gnueabi-c++filt arm-none-linux-gnueabi-sprite
arm-linux-gprof arm-none-linux-gnueabi-cpp arm-none-linux-gnueabi-strings
arm-linux-ld arm-none-linux-gnueabi-g++ arm-none-linux-gnueabi-strip
arm-linux-nm arm-none-linux-gnueabi-gcc
arm-linux-objcopy arm-none-linux-gnueabi-gcc-4.3.2
root@jiaojuan:/usr/local/arm/4.3.2/bin# pwd
/usr/local/arm/4.3.2/bin
root@jiaojuan:/usr/local/arm/4.3.2/bin# ^C
root@jiaojuan:/usr/local/arm/4.3.2/bin# cd /
root@jiaojuan:/# cd /forlinx/**_DD/APPLICATIONS
root@jiaojuan:/forlinx/**_DD/APPLICATIONS# make
cd Common; make
make: 正在进入目录 `/forlinx/**_DD/APPLICATIONS/Common'
/usr/local/arm/4.3.2/bin/arm-linux-gcc -I../Common -g -c -Os -Wall performance.c
/usr/local/arm/4.3.2/bin/arm-linux-gcc: 第 3 行: exec: arm-none-linux-gnueabi-gcc: 未找到
make: *** 错误 127
make:正在离开目录 `/forlinx/**_DD/APPLICATIONS/Common'
make: *** 错误 2
root@jiaojuan:/forlinx/**_DD/APPLICATIONS#
不知道为啥显示**呢,**的内容其实是**。板子是OK6410. 为什么要屏蔽啊?“Multi media_DD.tar.gz” 又试了一下,在root环境下还是不行,但是退出root环境后就可以make了。但是新问题又出来了:光盘视频里说make完之后会在APPLICANTIONS目录下生成一个app文件,但是我成功make完了,却没有生成一个app文件。代码参照:
make之前
root@jiaojuan:/forlinx/**_DD/APPLICATIONS# ls
cam_dec_preview.c display_4_windows.c JPEG_API
cam_dec_preview.h display_4_windows.h jpeg_display.c
cam_dec_preview-On7LCD.cdisplay_optimization1.cjpeg_display.h
cam_enc_dec_test.c display_optimization1.hLake_mapourika_NZ.jpeg
cam_enc_dec_test.h display_optimization2.cMakefile
cam_encoder_test.c display_optimization2.hMakefile~
cam_encoder_test.h display_test.c MFC_API
capture.c display_test.h test.c
capture.h doc TestVectors
Common FrameExtractor yuanshi-cam_dec_preview.c
make之后
cam_dec_preview.c display_4_windows.c JPEG_API
cam_dec_preview.h display_4_windows.h jpeg_display.c
cam_dec_preview.o display_4_windows.o jpeg_display.h
cam_dec_preview-On7LCD.cdisplay_optimization1.cjpeg_display.o
cam_enc_dec_test.c display_optimization1.hLake_mapourika_NZ.jpeg
cam_enc_dec_test.h display_optimization1.oMakefile
cam_enc_dec_test.o display_optimization2.cMakefile~
cam_encoder_test.c display_optimization2.hMFC_API
cam_encoder_test.h display_optimization2.o**test
cam_encoder_test.o display_test.c test.c
capture.c display_test.h test.o
capture.h display_test.o TestVectors
capture.o doc yuanshi-cam_dec_preview.c
Common FrameExtractor
大家谁能给说明一下原因啊? jiaojuan137239 发表于 2015-1-3 15:03 static/image/common/back.gif
又试了一下,在root环境下还是不行,但是退出root环境后就可以make了。但是新问题又出来了:光盘视频里说ma ...
上面的代码分别是make前后的APPLICATIONS目录下的文件名
页:
[1]