• 6846阅读
  • 1回复

大家来帮我看看这个安装问题 [复制链接]

上一主题 下一主题
离线jekouwang
 
只看楼主 正序阅读 楼主  发表于: 2009-03-09
在Qt—extended 4.4.2中,编译Qt的时候出错,

环境:
qt-extended 4.4.2
GCC 3.4.5
OS: fedora 8 (linux kernal: 2.6.23)


Configure like this:
../qt-extended-4.4.2/configure -debug -qvfb -ui-type mobile -remove-module bluetooth,drm,media -arch i386 -dynamic-rotation -no-ssl -no-sxe -no-v4l2 -no-vpn -no-phonon -no-libamr -pictureflow -build-qt -extra-qt-embedded-config "-no-dbus" -extra-qt-config "-no-dbus"

output:
...
cd src/gui/ && /usr/bin/gmake -f Makefile (进入到qtopiacore/qt/src/gui/开始编译)
...
rm -f libQtGui.so.4.4.3 libQtGui.so libQtGui.so.4 libQtGui.so.4.4(说明编译完成,下面开始link)
...
`.L853' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L862' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L861' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L860' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L859' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L858' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L857' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
`.L856' referenced in section `.rodata' of .obj/debug-shared/qdrawhelper.o: defined in discarded section `.gnu.linkonce.t._Z13qt_memconvertItjEvPT_PKT0_i' of .obj/debug-shared/qdrawhelper.o
collect2: ld returned 1 exit status
gmake[2]: *** [../../lib/libQtGui.so.4.4.3] error 1
gmake[1]: *** [sub-gui-make_default-ordered] error 2
There was an error building Qt. configure cannot continue.
If your system's package manager does not provide Qt 4 development libraries
please see the Guide to Configuring and Building Qt Extended for information
on how to build Qt from the included source.
gmake: *** [src/build/mkconf/configure] error 2

我用g++4能成功编译,但是用g++345就出现这样的问题。
忘昨天的得与失,珍惜今天的每时每刻和每件小事每一个人,展望美好的明天!
离线lee51525125
只看该作者 1楼 发表于: 2009-03-17
我在configure 4.5也遇到这个问题了lz解决了吗
快速回复
限100 字节
 
上一个 下一个