标题:跪求帮助:redhat9.0安装 Qt-embedded 4.4.3错误
作者:taozhaogy
日期:2011-11-27 16:37
内容:
我有个问题问问大侠们,我安装qt-embedded-linux-opensource-src-4.4.3.tar.bz2时,在make后提示错误如下,不知如何解决,还望高手能给帮助一下。
io/qfilesystemwatcher_dnotify.cpp:258: `F_SETSIG' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:258: (Each undeclared identifier is reported only once
io/qfilesystemwatcher_dnotify.cpp:258: for each function it appears in.)
io/qfilesystemwatcher_dnotify.cpp:259: `F_NOTIFY' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:259: `DN_MODIFY' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:259: `DN_CREATE' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:259: `DN_DELETE' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:260: `DN_RENAME' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:260: `DN_ATTRIB' undeclared (first use this function)
io/qfilesystemwatcher_dnotify.cpp:260: `DN_MULTISHOT' undeclared (first use this function)
gmake[1]: *** [.obj/release-shared-emb-arm/qfilesystemwatcher_dnotify.o] Error 1
gmake[1]: Leaving directory `/usr/local/qt-embedded-linux-opensource-src-4.4.3/src/corelib'gmake: *** Error 2
#1 回 楼主(taozhaogy) 的帖子 [wxj120bw 11-27 20:39]
定义没未找到这样的错误 通常是环境变量没设对
#2 [taozhaogy 11-27 20:44]
大侠能说清楚点吗?应该设置哪个环境变量?
#3 回 2楼(taozhaogy) 的帖子 [wxj120bw 11-27 20:54]
具体是哪个就不清楚 把你设置的环境变量还有编译的步骤贴下
#4 回 2楼(taozhaogy) 的帖子 [wxj120bw 11-27 21:03]
发现自己有点犯傻了 你先看下官方的编译说明 再由问题说
http://doc.qt.nokia.com/4.7/qt-embedded-install.html
#5 [taozhaogy 11-28 11:13]
# echo $PATH
/usr/local/arm/qt-embedded-free-3.1.0/bin:/usr/local/arm/2.95.3/bin:/usr/local/a
rm/qt-embedded-free-3.1.0/bin:/usr/local/arm/2.95.3/bin:/usr/local/arm/qt-embedd
ed-free-3.1.0/bin:/usr/local/arm/2.95.3/bin:/usr/local/arm/qt-embedded-free-3.1.
0/bin:/usr/local/arm/2.95.3/bin:/usr/local/Trolltech/Qt-4.3.2/bin锛?/usr/kerbero
s/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/us
r/bin:/usr/X11R6/bin:/usr/local/arm/3.4.1/bin:/root/bin
#
在Qt-embedded解压目录下执行以下操作:
./configure -embeded arm
./make
出了上面的错误