liboil编译选项

来源:互联网 发布:淘宝网女式羽绒服 编辑:程序博客网 时间:2024/05/21 07:49
./configure --host=arm-linux --prefix=$PWD/installGLIB_CFLAGS=-I/home/gongh/test/gstreamer/glib-2.18.3/install/include/GLIB_LIBS=-L/home/gongh/test/gstreamer/glib-2.18.3/install/lib/CFLAGS="-I/home/gongh/test/gstreamer/glib-2.18.3/install/lib/glib-2.0/include-I/home/gongh/test/gstreamer/glib-2.18.3/install/include/glib-2.0"LDFLAGS=-L/home/gongh/test/gstreamer/glib-2.18.3/install/lib/--disable-static --with-html-dir=/tmp/dump

开始用的是liboil0.3.15一直不能编译通过,错误是
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_BSD_SOURCE-D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API -mfpu=vfp-I/home/gongh/test/gstreamer/glib-2.18.3/install/lib/glib-2.0/include-I/home/gongh/test/gstreamer/glib-2.18.3/install/include/glib-2.0 -MTlibarm_la-math_vfp.lo -MD -MP -MF .deps/libarm_la-math_vfp.Tpo -cmath_vfp.c -fPIC -DPIC -o .libs/libarm_la-math_vfp.o
cc1: error: invalid option `fpu=vfp'
make[3]: *** [libarm_la-math_vfp.lo] Error 1
make[3]: Leaving directory `/home/gongh/test/gstreamer/liboil-0.3.15/liboil/arm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gongh/test/gstreamer/liboil-0.3.15/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gongh/test/gstreamer/liboil-0.3.15'
make: *** [all] Error 2

然后我换成了0.3.12版本居然过了.

但是0.3.12版本不能满足gstreamer 最低0.3.14要求。
再编译0.3.15,注释configure16617行,
#VFP_CFLAGS="$VFP_CFLAGS -mfpu=vfp"
这样是可以编译过,但这样会不会有什么问题?
原创粉丝点击