Dbus的编译和安装

别来无恙 提交于 2019-12-06 08:15:16

下载地址为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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!