标题:编译qtopia-core-opensource-src-4.3.1出错
作者:chubaobao
日期:2008-02-05 22:29
内容:
我先在Redhat9虚拟机上安装了qt-x11-opensource-src-4.3.1.tar.gz。
然后下载了qtopia-core-opensource-src-4.3.1.tar.gz,进行编译。
我想先在虚拟机上用qvfb运行qtopiacore4.3.1的程序,然后再下载到arm开发板上。
我用的交叉编译器为:arm-linux-gcc3.4.1
编译qtopia-core-opensource-src-4.3.1之前配置如下:
./configure -xflatform qws/linux-arm-g++ -qvfb -qconfig full -depths 4,8,16,24,32 -no-openssl
gmake之后出现下面的错误,请各位帮忙,我弄了很久了。
---------------------------------------------------------------
arm-linux-g++ -fno-exceptions -Wl,-rpath,/usr/local/Trolltech/QtopiaCore-4.3.1-generic/lib -Wl,-rpath,/usr/local/Trolltech/QtopiaCore-4.3.1-generic/lib -o screenshot .obj/release-shared-emb-auto/main.o .obj/release-shared-emb-auto/screenshot.o .obj/release-shared-emb-auto/moc_screenshot.o -L/qtembed/qtopia-core-opensource-src-4.3.1/lib -lQtGui -L/qtembed/qtopia-core-opensource-src-4.3.1/lib -lQtNetwork -lQtCore -lm -ldl -lpthread
/qtembed/qtopia-core-opensource-src-4.3.1/lib/libQtCore.so: undefined reference to `QInotifyFileSystemWatcherEngine::create()'
collect2: ld returned 1 exit status
gmake[3]: *** Error 1
gmake[3]: Leaving directory `/qtembed/qtopia-core-opensource-src-4.3.1/examples/desktop/screenshot'
gmake[2]: *** Error 2
gmake[2]: Leaving directory `/qtembed/qtopia-core-opensource-src-4.3.1/examples/desktop'
gmake[1]: *** Error 2
gmake[1]: Leaving directory `/qtembed/qtopia-core-opensource-src-4.3.1/examples'
gmake: *** Error 2
-----------------------------------------------------------------------------
不胜感激。
#1 [dycjiaoda 04-17 11:01]
你这个问题解决没?我也是同样问题,我的QQ:307443086
大家一块讨论一下