ffmpeg 交叉编译 make install: strip: Unable to recognise the format of the input file

strip: Unable to recognise the format of the input file
答:打开将config.mk
如下:
STRIP=strip改为arm-linux-strip即可
解释如下:
Sometimes U got error while doing ‘make install’ :
strip: Unable to recognise the format of the input file

This is because the flag “INSTALLSTRIP = -s” in file config.mak
will pass to ‘install’ application while you do “make install” ……….
disable the flag “INSTALLSTRIP = ” and make install.;0)

Or edit flag “INSTALL = $your_arm_install_application”
PS;===============================================
一般发生在交叉编译的时候。
因为安装时的install程序检测到标志INSTALLSTRIP = -s —-即需要执行 strip 来剔除一些无用的符号。而此时 strip 又只是宿主机的,所以不能 strip 目标机的文件。
问题4:

http://zyg0227.blog.51cto.com/1043164/313085/

你可能感兴趣的:(configure,交叉编译)