QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1496|回复: 3

help

[复制链接]
发表于 2005-8-21 15:09:15 | 显示全部楼层 |阅读模式
this is my error
/usr/local/bin/bash ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common     -o eva -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib main.o evachatwindowmanager.o  evamain.o evasystemtray.o evachatwindowmanager.moc.o evasystemtray.moc.o evamain.moc.o ../src/ui/libevaui.la  ../src/libeva/libeva.la ../src/api/libevaapi.la -lkdeui
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cleanup_pop'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_destroy'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_init'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_exit'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cancel'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_testcancel'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cleanup_push'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_getschedpolicy'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_setinheritsched'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_setstacksize'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_setschedparam'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_setdetachstate'
/usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cond_timedwait'
*** Error code 1

Stop in /home/qman9501/eva/src.
*** Error code 1

Stop in /home/qman9501/eva/src.
*** Error code 1

Stop in /home/qman9501/eva.
*** Error code 1
yun fan please help me quickly
I'm heihei(guang)
发表于 2005-8-21 21:18:07 | 显示全部楼层
可能Qt版本太低,要不然就是你所安装的qt开发库并不是系统自带的。
回复

使用道具 举报

 楼主| 发表于 2005-8-21 21:20:57 | 显示全部楼层
no,not qt's error...I had download the QT 3.3.4.When I install it.It also told this to me.but thanks a lot.
回复

使用道具 举报

发表于 2005-8-21 22:56:18 | 显示全部楼层
这个问题很奇怪,是编译的时候没有添加-lpthread造成的
你手工改一下Makefile(.am)文件,或者直接运行
/usr/local/bin/bash ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -o eva -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib main.o evachatwindowmanager.o evamain.o evasystemtray.o evachatwindowmanager.moc.o evasystemtray.moc.o evamain.moc.o ../src/ui/libevaui.la ../src/libeva/libeva.la ../src/api/libevaapi.la -lkdeui -lpthread
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-8 17:00 , Processed in 0.196043 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表