交叉编译gst-plugins
来源:互联网 发布:全球经济现状 知乎 编辑:程序博客网 时间:2024/06/05 03:16
--------------------------------------------------------------------------------------
#export CROSS_COMPILE_PREFIX=/home/soeasy/nfsroot/target
liboil-0.3.14编译
#./configure --prefix=/install --host=arm-linux
编译gst-plugins-base-0.10.24
#LDFLAGS=" --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 " CPPFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" CFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GLIB_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include" GLIB_LIBS="-L/home/soeasy/nfsroot/target/usr/lib --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" GLIB_ONLY_CFLAGS=" -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include " GLIB_ONLY_LIBS="-L/home/soeasy/nfsroot/target/usr/lib/ --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" XML_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/libxml2" ./configure --prefix=/install --host=arm-linux --disable-x --disable-xvideo --disable-ogg --disable-oggtest --disable-freetypetest --disable-vorbis --disable-vorbistest
修改config.status文件
#make; make install
编译gst-plugins-good-0.10.15
#LDFLAGS=" --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 " CPPFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" CFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GLIB_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include" GLIB_LIBS="-L/home/soeasy/nfsroot/target/usr/lib --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" GST_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_PLUGINS_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CONTROLLER_CFLAGS="-pthread -I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GTK_CFLAGS="-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/home/soeasy/nfsroot/target/usr/include/gtk-2.0 -I/home/soeasy/nfsroot/target/usr/lib/gtk-2.0/include -I/home/soeasy/nfsroot/target/usr/include/atk-1.0 -I/home/soeasy/nfsroot/target/usr/include/cairo -I/home/soeasy/nfsroot/target/usr/inclu"/
"de/pango-1.0 -I/home/soeasy/nfsroot/target/usr/X11R6/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/freetype2 -I/home/soeasy/nfsroot/target/usr/include/libpng12 " ./configure --prefix=/install --host=arm-linux --disable-aalib --disable-aalibtest --disable-shout2 --disable-shout2test --disable-gdk_pixbuf --disable-cairo --disable-esd --disable-esdtest --disable-libcaca --disable-libdv --disable-dv1394 --disable-soup
修改/usr/lib/libcairo.la文件, 将libdir='/usr/lib'改为libdir=$CROSS_COMPILE_PREFIX'/usr/lib'
修改config.status文件
#make; make install
export GST_PLUGIN_PATH=/usr/lib/gstreamer-0.10
编译libmad-0.15.1b
./configure --prefix=/install --host=arm-linux
编译libid3tag-0.15.1b
./configure --prefix=/install --host=arm-linux
编译gst-plugins-bad-0.10.13
LDFLAGS=" --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 " CPPFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" CFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GLIB_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include" GLIB_LIBS="-L/home/soeasy/nfsroot/target/usr/lib --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" GST_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_PLUGINS_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CONTROLLER_CFLAGS="-pthread -I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GTK_CFLAGS="-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/home/soeasy/nfsroot/target/usr/include/gtk-2.0 -I/home/soeasy/nfsroot/target/usr/lib/gtk-2.0/include -I/home/soeasy/nfsroot/target/usr/include/atk-1.0 -I/home/soeasy/nfsroot/target/usr/include/cairo -I/home/soeasy/nfsroot/target/usr/inclu"/
"de/pango-1.0 -I/home/soeasy/nfsroot/target/usr/X11R6/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/freetype2 -I/home/soeasy/nfsroot/target/usr/include/libpng12 " ./configure --prefix=/install --host=arm-linux --disable-directfb --disable-sdl --disable-sdltest
修改config.status文件
#make; make install
编译gst-plugins-ugly-0.10.12
LDFLAGS=" --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 " CPPFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" CFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GLIB_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include" GLIB_LIBS="-L/home/soeasy/nfsroot/target/usr/lib --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" GST_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_PLUGINS_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CONTROLLER_CFLAGS="-pthread -I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GTK_CFLAGS="-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/home/soeasy/nfsroot/target/usr/include/gtk-2.0 -I/home/soeasy/nfsroot/target/usr/lib/gtk-2.0/include -I/home/soeasy/nfsroot/target/usr/include/atk-1.0 -I/home/soeasy/nfsroot/target/usr/include/cairo -I/home/soeasy/nfsroot/target/usr/inclu"/
"de/pango-1.0 -I/home/soeasy/nfsroot/target/usr/X11R6/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/freetype2 -I/home/soeasy/nfsroot/target/usr/include/libpng12 " ./configure --prefix=/install --host=arm-linux
修改config.status文件
#make; make install
编译gst-ffmpeg-0.10.8
CC=arm_v5t_le-gcc AR=arm_v5t_le-ar RANLIB=arm_v5t_le-ranlib LDFLAGS=" --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 " CPPFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" CFLAGS="-I/home/soeasy/nfsroot/target/usr/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GLIB_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include" GLIB_LIBS="-L/home/soeasy/nfsroot/target/usr/lib --sysroot=/home/soeasy/nfsroot/target -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2" GST_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_PLUGINS_BASE_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CFLAGS="-I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GST_CONTROLLER_CFLAGS="-pthread -I/home/soeasy/nfsroot/target/usr/include/gstreamer-0.10 -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/libxml2" GTK_CFLAGS="-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/home/soeasy/nfsroot/target/usr/include/gtk-2.0 -I/home/soeasy/nfsroot/target/usr/lib/gtk-2.0/include -I/home/soeasy/nfsroot/target/usr/include/atk-1.0 -I/home/soeasy/nfsroot/target/usr/include/cairo -I/home/soeasy/nfsroot/target/usr/inclu"/
"de/pango-1.0 -I/home/soeasy/nfsroot/target/usr/X11R6/include -I/home/soeasy/nfsroot/target/usr/include/glib-2.0 -I/home/soeasy/nfsroot/target/usr/lib/glib-2.0/include -I/home/soeasy/nfsroot/target/usr/include/freetype2 -I/home/soeasy/nfsroot/target/usr/include/libpng12 " ./configure --prefix=/install --host=arm-linux --with-ffmpeg-extra-configure="--prefix=/install --disable-ffserver --disable-ffplay --enable-postproc --enable-gpl --enable-static --enable-shared --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices --disable-network --enable-cross-compile --target-os=linux --arch=arm --cross-prefix=arm-linux- --disable-ffmpeg --enable-swscale"
修改config.status文件
#make; make install
- 交叉编译gst-plugins
- gstreamer,gst-plugins-good,gst-plugins-base等插件安装
- 编译gst-template-master的gst-plugin
- gst-omax编译
- arm平台交叉编译gstreamer-0.10.36 及相关plugins
- gst-rtsp-server编译测试
- gst-rtsp-server编译测试
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 网上某人的书架。。。自己好像一本都没看完。。
- 在前台用正则表达式为Asp:TextBox加输入检查[Asp.Net]
- struts2 防止后退重复提交
- Windows 服务(2) (from MSDN)
- 建立Honeyd配置文件
- 交叉编译gst-plugins
- spring 2.5整合jdbc进行数据库操作和XML事务控制
- ERP项目管理的五个要点
- windows7 我来了-用截图工具截取(开始、右键)菜单
- c#类的成员初始化顺序
- 调试DLL技巧之,无EXE源代码,有DLL源代码调试!
- spring2.5注解基础
- rm mv cp pwd stty命令
- WEB服务器、应用程序服务器区别