下载地址为http://permalink.gmane.org/gmane.comp.freedesktop.dbus/15992
error: cannot run C compiled programs
echo ac_cv_have_abstract_sockets=yes>arm-linux.cache
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --build=arm-linux CC="arm-cortex_a9-linux-gnueabi-gcc -L/wsh_space/my_install/usr/lib/lib -I/wsh_space/my_install/usr/lib/include" --cache-file=arm-linux.cache --with-x=no --libdir=/wsh_space/my_install/usr/lib/lib --includedir=/wsh_space/my_install/usr/lib/include
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --build=arm-linux CC="arm-cortex_a9-linux-gnueabi-gcc -L/wsh_space/my_install/usr/lib/lib -I/wsh_space/my_install/usr/lib/include" --cache-file=arm-linux.cache --disable-tests
libtool: link: cannot find the library `/opt/crosstools/arm-cortex_a9-eabi-4.7-eglibc-2.18/arm-cortex_a9-linux-gnueabi/sysroot/usr/lib/libffi.la' or unhandled argument `/opt/crosstools/arm-cortex_a9-eabi-4.7-eglibc-2.18/arm-cortex_a9-linux-gnueabi/sysroot/usr/lib/libffi.la'
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --build=arm-cortex_a9-linux-gnueabi CC="arm-cortex_a9-linux-gnueabi-gcc -L/wsh_space/my_install/usr/lib/lib/dbus-1.0 -I/wsh_space/my_install/usr/lib/include/dbus-1.0" --libdir=/wsh_space/my_install/usr/lib/lib --includedir=/wsh_space/my_install/usr/lib/include --enable-library
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --build=arm-cortex_a9-linux-gnueabi CC="arm-cortex_a9-linux-gnueabi-gcc " --libdir=/wsh_space/my_install/usr/lib/lib --includedir=/wsh_space/my_install/usr/lib/include --enable-library
./configure --prefix=/wsh_space/my_install/usr1/ --host=arm --build=arm-cortex_a9-linux-gnueabi CC="arm-cortex_a9-linux-gnueabi-gcc "
libtool: link: cannot find the library `/opt/crosstools/arm-cortex_a9-eabi-4.7-eglibc-2.18/arm-cortex_a9-linux-gnueabi/sysroot/usr/lib/libpcre.la' or unhandled argument `/opt/crosstools/arm-cortex_a9-eabi-4.7-eglibc-2.18/arm-cortex_a9-linux-gnueabi/sysroot/usr/lib/libpcre.la'
lib :
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --build=arm-linux CC=arm-cortex_a9-linux-gnueabi-gcc
GLIB2.28:
./configure --prefix=/wsh_space/my_install/usr/lib --host=arm --cache-file=arm-linux.cache CC="arm-cortex_a9-linux-gnueabi-gcc -L/wsh_space/my_install/usr/lib/lib -I/wsh_space/my_install/usr/lib/include" CFLAGS=-fPIC
./configure --prefix=/wsh_space/my_install/usr/lib/lib --host=arm --build=arm-cortex_a9-linux-gnueabi CC="arm-cortex_a9-linux-gnueabi-gcc -L/wsh_space/my_install/usr/lib/lib/pkgconfig -I/wsh_space/my_install/usr/lib/include" --disable-audio
来源:CSDN
作者:sean_dw
链接:https://blog.csdn.net/u010406724/article/details/41682275