免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3444 | 回复: 0

qt在aix上安装 [复制链接]

论坛徽章:
0
发表于 2007-03-29 22:15 |显示全部楼层
当我在aix上安装qt-x11-opensource-src-4.2.2时候,使用选项是  ./configure -platform aix-g++ 之后报告了以下错误\r\nCreating qmake. Please wait...\r\ng++ -c -o makefiledeps.o -maix64 -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/usr/local/qt-x11-opensource-src-4.2.2/src/corelib/arch/generic -I/usr/local/qt-x11-opensource-src-4.2.2/include -I/usr/local/qt-x11-opensource-src-4.2.2/include/QtCore -I/usr/local/qt-x11-opensource-src-4.2.2/include -I/usr/local/qt-x11-opensource-src-4.2.2/include/QtCore -I/usr/local/qt-x11-opensource-src-4.2.2/src/corelib/global -I/usr/local/qt-x11-opensource-src-4.2.2/src/3rdparty/md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/usr/local/qt-x11-opensource-src-4.2.2/mkspecs/aix-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT generators/makefiledeps.cpp\r\nIn file included from /usr/local/qt-x11-opensource-src-4.2.2/mkspecs/aix-g++-64/qplatformdefs.h:4\r\n3,\r\nfrom generators/makefiledeps.cpp:30:\r\n/usr/include/pthread.h:582: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:582: error: parse error before `)\' token\r\n/usr/include/pthread.h:585: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:585: error: parse error before `,\' token\r\n/usr/include/pthread.h:589: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:589: error: parse error before `)\' token\r\n/usr/include/pthread.h:592: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:592: error: parse error before `)\' token\r\n/usr/include/pthread.h:595: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:595: error: parse error before `)\' token\r\n/usr/include/pthread.h:598: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:598: error: parse error before `)\' token\r\n/usr/include/pthread.h:601: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:601: error: parse error before `)\' token\r\n/usr/include/pthread.h:604: error: `pthread_rwlockattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:604: error: parse error before `)\' token\r\n/usr/include/pthread.h:607: error: parse error before `*\' token\r\n/usr/include/pthread.h:611: error: `pthread_rwlockattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:611: error: parse error before `)\' token\r\n/usr/include/pthread.h:614: error: `pthread_rwlockattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:614: error: parse error before `,\' token\r\n/usr/include/pthread.h:625: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:625: error: parse error before `,\' token\r\n/usr/include/pthread.h:629: error: `pthread_rwlock_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:629: error: parse error before `,\' token\r\n/usr/include/pthread.h:652: error: `pthread_spinlock_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:652: error: parse error before `,\' token\r\n/usr/include/pthread.h:655: error: `pthread_spinlock_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:655: error: parse error before `)\' token\r\n/usr/include/pthread.h:658: error: `pthread_spinlock_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:658: error: parse error before `)\' token\r\n/usr/include/pthread.h:661: error: `pthread_spinlock_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:661: error: parse error before `)\' token\r\n/usr/include/pthread.h:664: error: `pthread_spinlock_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:664: error: parse error before `)\' token\r\n/usr/include/pthread.h:672: error: `pthread_barrierattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:672: error: parse error before `)\' token\r\n/usr/include/pthread.h:675: error: `pthread_barrierattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:675: error: parse error before `)\' token\r\n/usr/include/pthread.h:678: error: parse error before `*\' token\r\n/usr/include/pthread.h:681: error: `pthread_barrierattr_t\' was not declared in \r\nthis scope\r\n/usr/include/pthread.h:681: error: parse error before `,\' token\r\n/usr/include/pthread.h:689: error: `pthread_barrier_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:689: error: parse error before `,\' token\r\n/usr/include/pthread.h:693: error: `pthread_barrier_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:693: error: parse error before `)\' token\r\n/usr/include/pthread.h:696: error: `pthread_barrier_t\' was not declared in this \r\nscope\r\n/usr/include/pthread.h:696: error: parse error before `)\' token\r\n\r\n\r\n\r\nps: AIX Version aix5.1.0.0\r\ngcc version 3.3.2 \r\n这个是g++ 是机器附带的AIX Toolbox for Linux Applications光盘里面安装的,\r\n有个老外提醒我说用到了这个-DQT_NO_THREAD,然后我用\r\n./configure -debug-and-release -DQT_THREAD_SUPPORT -platform aix-g++\r\n可是问题依旧啊,根据错误信息,查看了 /usr/include/sys 目录下的types.h 的文件,节选如下\r\n#if (_XOPEN_SOURCE >= 500)\r\ntypedef struct\r\n{\r\n#ifdef __64BIT__\r\nlong __rw_word[10];\r\n#else\r\nint __rw_word[52];\r\n#endif /* __64BIT__ */\r\n}\r\npthread_rwlock_t;\r\n#endif /* _XOPEN_SOURCE >= 500 */\r\n\r\n_XOPEN_SOURCE  什么意思,干什么用的,对qt的安装有什么影响?该怎么设置才能安装成功呢?如果用xlc的话,那里有xlc下载,附带的光盘没有找到,谢谢各位先。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP