首页| 论坛| 消息

标题:help me:交叉编译qt 4.7.0 加入dbus选项的错误
作者:eaglez
日期:2010-06-23 17:54
内容:

D-Bus auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/local/lib/tslib-arm/include -I/opt/openssl/include -I/opt/dbus130/include/dbus-1.0 -I/opt/dbus130/lib/dbus-1.0/include -o dbus.o dbus.cpp
arm-linux-g++ -Wl,-O1 -Wl,-rpath,/opt/qte4.7.0/build/lib -o dbus dbus.o -L/usr/local/lib/tslib-arm/lib -L/opt/openssl/lib -L/opt/dbus1224/lib
dbus.o: In function `main':
dbus.cpp:(.text+0x8): undefined reference to `dbus_shutdown'
collect2: ld returned 1 exit status
make: *** 错误 1
D-Bus disabled.
The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found.
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
dbus已经交叉编译了1.3.0版本和1.2.4版本,都不行


#1 [twelve 09-21 09:24]
悲剧,我也遇到了和楼主一样的问题~ 同求解法!
#2 [tootzoe 09-21 10:29]
在 configure 中 必须有
-I -L-ldbus-1 -lpthread -lrt

回复 发表
主题 版块