Download source http://liboil.freedesktop.org/wiki/ Configure project ./configure CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnurabi-g++ –host=arm-linux –build=i686-linux –prefix=/home/kclin/workspace/cross_result/pkg_config/ RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld –cache-file=arm-linux.cache LIBS=”-L/home/kclin/workspace/cross_result/pkg_config/lib -lffi” CFLAGS=”-I/home/kclin/workspace/cross_result/pkg_config/lib/libffi-3.0.13/include -I/home/kclin/workspace/cross_result/pkg_config/include” NM=arm-linux-gnueabi-nm make && make install   Some help: From here http://rogeriomoraes.com/wp/?p=37   ../libtool: eval: line 964: syntax error near unexpected token `|’ Posted on December 21, 2011 by admin Trying to cross compile liboil-0.3.17 I got this error: ../libtool: eval: line 950: […]

Read More →

Download the source http://gstreamer.freedesktop.org/download/ configure project ./configure CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnurabi-g++ –host=arm-linux –build=i686-linux –prefix=/home/kclin/workspace/cross_result/pkg_config/ RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld –cache-file=arm-linux.cache LIBS=”-L/home/kclin/workspace/cross_result/pkg_config/lib -lffi” CFLAGS=”-I/home/kclin/workspace/cross_result/pkg_config/lib/libffi-3.0.13/include -I/home/kclin/workspace/cross_result/pkg_config/include” make && make install

Read More →

Download the source https://developer.gnome.org/glib/ Preset the compile option echo ac_cv_type_long_long=yes>arm-linux.cache echo glib_cv_stack_grows=no>>arm-linux.cache echo glib_cv_uscore=no>>arm-linux.cache echo ac_cv_func_posix_getpwuid_r=yes>>arm-linux.cache echo ac_cv_func_posix_getgrgid_r=yes>>arm-linux.cache set shell variable PKG_CONFIG_PATH export PKG_CONFIG_PATH=/home/kclin/workspace/cross_result/pkg_config/lib/pkgconfig/:$PKG_CONFIG_PATH configure the makefile ./configure CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnurabi-g++ –host=arm-linux –build=i686-linux –prefix=/home/kclin/workspace/cross_result/pkg_config/ RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld –cache-file=arm-linux.cache LIBFFI_LIBS=”-L/home/kclin/workspace/cross_result/pkg_config/lib -lffi” LIBFFI_CFLAGS=-I/home/kclin/workspace/cross_result/pkg_config/lib/libffi-3.0.13/include ZLIB_CFLAGS=-I/home/kclin/workspace/cross_result/pkg_config/include make && make install Refer to this article also. http://blog.chinaunix.net/uid-26824563-id-3415885.html Some help: http://stackoverflow.com/questions/12494072/compiling-glib-with-non-standard-paths

Read More →

 Download the source code  😛 http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.htm configure the makefile ./configure CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnurabi-g++ –host=arm-linux –build=i686-linux –prefix=/home/kclin/workspace/cross_result/pkg_config/ ux.cache –disable-dtrace –disable-systemtap –disable-selinux make && make install

Read More →