回复: qtembedded的桌面系统EMD(即Embedded desktop)
#111 [zzz945 11-05 13:20]
你是要交叉编译吗glib等依赖的库都安装到/usr/local中了吗
#112 回 105楼(liyayao) 的帖子 [zzz945 11-05 13:25]
./configure -embedded x86
#113 [liyayao 11-06 14:44]
楼主,前面的几乎通过了
现在编译QT出现问题了
./configure -prefix /opt/qt-embedded -embedded arm -xplatform qws/linux-arm-g++ -fast -force-pkg-config \
-no-opengl -qt-freetype -depths 16,18,24 -little-endian \
-qt-mouse-tslib\
-nomake tools -nomake docs -opensource -confirm-license -no-largefile \
-qt-sql-sqlite -no-qt3support -no-xmlpatterns \
-multimedia -audio-backend -phonon -phonon-backend -svg \
-webkit -no-javascript-jit -script -no-scripttools -no-declarative \
-qt-gif -qt-libtiff -system-libpng -qt-libmng -system-libjpeg -no-openssl \
-system-zlib -no-nis -no-cups -dbus -no-mmx -no-3dnow -no-sse -no-sse2 \
-no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info
我用你的配置
配置能通过
make 的时候出错了, 郁闷啊
g++ -Wl,-rpath-link,/opt/qt-everywhere-opensource-src-4.7.0-beta2/lib -fno-exceptions -Wl,-O1 -Wl,-rpath,/opt/qt-embedded/lib -Wl,-rpath,/opt/qt-embedded/lib -o ../../../bin/moc release-shared/moc.o release-shared/preprocessor.o release-shared/generator.o release-shared/parser.o release-shared/token.o release-shared/main.o-L/opt/qt-everywhere-opensource-src-4.7.0-beta2/src/tools/bootstrap -lbootstrap
/usr/bin/ld: /opt/qt-everywhere-opensource-src-4.7.0-beta2/src/tools/bootstrap/libbootstrap.a(compress.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: /opt/qt-everywhere-opensource-src-4.7.0-beta2/src/tools/bootstrap/libbootstrap.a(compress.o): Relocations in generic ELF (EM: 40)
/opt/qt-everywhere-opensource-src-4.7.0-beta2/src/tools/bootstrap/libbootstrap.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/moc] Error 1
make[1]: Leaving directory `/opt/qt-everywhere-opensource-src-4.7.0-beta2/src/tools/moc'
make: *** Error 2
#
这次真的不知道哪里出错,请教啊!!谢谢啦
我在编译
gst-plugins-good 和
gst-plugins-bad 有两个错误,不知道与这个有没有关呢
..
#114 [zzz945 11-06 19:59]
如果你不是按照clfs for emd中那样的方式编译文件系统, 没设置PKG_CONFIG_PATH的话, 就不要-force-pkg-config参数, 还有你用的是什么编译器, 你是怎么编译qt所依赖的库的, 依赖的库安装到哪里了, 编译qt时有没有告诉编译器去哪里找依赖的库。
看错误好像是在编译工具时产生的, 不是编译lib, 具体我现在也不知道怎么解决。
#115 [liyayao 11-07 09:57]
奇怪,我用了QT4.6.3能编译通过,我用QT4.7就不能,方法是一样的,还有按照clfs for emd中的编译gst-plugins-good 和
gst-plugins-bad 有错误,好像跟ORC 有关,然后我就编译ORC ,成功编译后,gst-plugins-good 就不能编译,搞到我又UNINSTALL ORC
不知道gst-plugins-good 和
gst-plugins-bad 有错误 之后对后面的其他会不会有影响,我QT4.6.3是编译了。。。感谢你的回复