youken 发表于 2005-6-3 15:31:47

编译eva 0.2.1的时候出错,请看看。

编译信息如下:
makeall-recursive
make: Entering directory `/tmp/eva-0.2.1'
Making all in doc
make: Entering directory `/tmp/eva-0.2.1/doc'
Making all in .
make: Entering directory `/tmp/eva-0.2.1/doc'
make: Nothing to be done for `all-am'.
make: Leaving directory `/tmp/eva-0.2.1/doc'
Making all in en
make: Entering directory `/tmp/eva-0.2.1/doc/en'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make: Leaving directory `/tmp/eva-0.2.1/doc/en'
make: Leaving directory `/tmp/eva-0.2.1/doc'
Making all in po
make: Entering directory `/tmp/eva-0.2.1/po'
Making all in .
make: Entering directory `/tmp/eva-0.2.1/po'
make: Nothing to be done for `all-am'.
make: Leaving directory `/tmp/eva-0.2.1/po'
Making all in zh_CN
make: Entering directory `/tmp/eva-0.2.1/po/zh_CN'
rm -f eva.gmo; /usr/bin/msgfmt -o eva.gmo ./eva.po
test ! -f eva.gmo || touch eva.gmo
make: Leaving directory `/tmp/eva-0.2.1/po/zh_CN'
make: Leaving directory `/tmp/eva-0.2.1/po'
Making all in src
make: Entering directory `/tmp/eva-0.2.1/src'
Making all in libeva
make: Entering directory `/tmp/eva-0.2.1/src/libeva'
source='evaaddfriend.cpp' object='evaaddfriend.lo' libtool=yes \
depfile='.deps/evaaddfriend.Plo' tmpdepfile='.deps/evaaddfriend.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaaddfriend.lo `test -f 'evaaddfriend.cpp' || echo './'`evaaddfriend.cpp
source='evafriend.cpp' object='evafriend.lo' libtool=yes \
depfile='.deps/evafriend.Plo' tmpdepfile='.deps/evafriend.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evafriend.lo `test -f 'evafriend.cpp' || echo './'`evafriend.cpp
source='evafriendlist.cpp' object='evafriendlist.lo' libtool=yes \
depfile='.deps/evafriendlist.Plo' tmpdepfile='.deps/evafriendlist.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evafriendlist.lo `test -f 'evafriendlist.cpp' || echo './'`evafriendlist.cpp
source='evagroup.cpp' object='evagroup.lo' libtool=yes \
depfile='.deps/evagroup.Plo' tmpdepfile='.deps/evagroup.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evagroup.lo `test -f 'evagroup.cpp' || echo './'`evagroup.cpp
source='evaimreceive.cpp' object='evaimreceive.lo' libtool=yes \
depfile='.deps/evaimreceive.Plo' tmpdepfile='.deps/evaimreceive.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaimreceive.lo `test -f 'evaimreceive.cpp' || echo './'`evaimreceive.cpp
source='evaimsend.cpp' object='evaimsend.lo' libtool=yes \
depfile='.deps/evaimsend.Plo' tmpdepfile='.deps/evaimsend.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaimsend.lo `test -f 'evaimsend.cpp' || echo './'`evaimsend.cpp
source='evalogin.cpp' object='evalogin.lo' libtool=yes \
depfile='.deps/evalogin.Plo' tmpdepfile='.deps/evalogin.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evalogin.lo `test -f 'evalogin.cpp' || echo './'`evalogin.cpp
source='evaonlinestatus.cpp' object='evaonlinestatus.lo' libtool=yes \
depfile='.deps/evaonlinestatus.Plo' tmpdepfile='.deps/evaonlinestatus.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaonlinestatus.lo `test -f 'evaonlinestatus.cpp' || echo './'`evaonlinestatus.cpp
source='evapacket.cpp' object='evapacket.lo' libtool=yes \
depfile='.deps/evapacket.Plo' tmpdepfile='.deps/evapacket.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evapacket.lo `test -f 'evapacket.cpp' || echo './'`evapacket.cpp
source='evasearchuser.cpp' object='evasearchuser.lo' libtool=yes \
depfile='.deps/evasearchuser.Plo' tmpdepfile='.deps/evasearchuser.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evasearchuser.lo `test -f 'evasearchuser.cpp' || echo './'`evasearchuser.cpp
source='evauserinfo.cpp' object='evauserinfo.lo' libtool=yes \
depfile='.deps/evauserinfo.Plo' tmpdepfile='.deps/evauserinfo.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evauserinfo.lo `test -f 'evauserinfo.cpp' || echo './'`evauserinfo.cpp
source='evautil.cpp' object='evautil.lo' libtool=yes \
depfile='.deps/evautil.Plo' tmpdepfile='.deps/evautil.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evautil.lo `test -f 'evautil.cpp' || echo './'`evautil.cpp
source='md5.c' object='md5.lo' libtool=yes \
depfile='.deps/md5.Plo' tmpdepfile='.deps/md5.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute -c -o md5.lo `test -f 'md5.c' || echo './'`md5.c
source='qq_crypt.c' object='qq_crypt.lo' libtool=yes \
depfile='.deps/qq_crypt.Plo' tmpdepfile='.deps/qq_crypt.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DQT_THREAD_SUPPORT-D_REENTRANT-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute -c -o qq_crypt.lo `test -f 'qq_crypt.c' || echo './'`qq_crypt.c
qq_crypt.c: In function `qq_encrypt':
qq_crypt.c:155: warning: static declaration for `rand' follows non-static
qq_crypt.c:159: warning: static declaration for `encrypt_every_8_byte' follows non-static
qq_crypt.c: In function `qq_decrypt':
qq_crypt.c:236: warning: static declaration for `decrypt_every_8_byte' follows non-static
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o libeva.la   evaaddfriend.lo evafriend.lo evafriendlist.lo evagroup.lo evaimreceive.lo evaimsend.lo evalogin.lo evaonlinestatus.lo evapacket.lo evasearchuser.lo evauserinfo.lo evautil.lo md5.lo qq_crypt.lo
make: Leaving directory `/tmp/eva-0.2.1/src/libeva'
Making all in api
make: Entering directory `/tmp/eva-0.2.1/src/api'
source='evaconnecter.cpp' object='evaconnecter.lo' libtool=yes \
depfile='.deps/evaconnecter.Plo' tmpdepfile='.deps/evaconnecter.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaconnecter.lo `test -f 'evaconnecter.cpp' || echo './'`evaconnecter.cpp
source='evahtmlparser.cpp' object='evahtmlparser.lo' libtool=yes \
depfile='.deps/evahtmlparser.Plo' tmpdepfile='.deps/evahtmlparser.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evahtmlparser.lo `test -f 'evahtmlparser.cpp' || echo './'`evahtmlparser.cpp
source='evanetwork.cpp' object='evanetwork.lo' libtool=yes \
depfile='.deps/evanetwork.Plo' tmpdepfile='.deps/evanetwork.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evanetwork.lo `test -f 'evanetwork.cpp' || echo './'`evanetwork.cpp
source='evapacketmanager.cpp' object='evapacketmanager.lo' libtool=yes \
depfile='.deps/evapacketmanager.Plo' tmpdepfile='.deps/evapacketmanager.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evapacketmanager.lo `test -f 'evapacketmanager.cpp' || echo './'`evapacketmanager.cpp
source='evaresource.cpp' object='evaresource.lo' libtool=yes \
depfile='.deps/evaresource.Plo' tmpdepfile='.deps/evaresource.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evaresource.lo `test -f 'evaresource.cpp' || echo './'`evaresource.cpp
source='evasetting.cpp' object='evasetting.lo' libtool=yes \
depfile='.deps/evasetting.Plo' tmpdepfile='.deps/evasetting.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evasetting.lo `test -f 'evasetting.cpp' || echo './'`evasetting.cpp
source='evasocket.cpp' object='evasocket.lo' libtool=yes \
depfile='.deps/evasocket.Plo' tmpdepfile='.deps/evasocket.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT-D_REENTRANT-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common-c -o evasocket.lo `test -f 'evasocket.cpp' || echo './'`evasocket.cpp
evasocket.cpp: In member function `void EvaHttpProxy::parseData(int)':
evasocket.cpp:266: no matching function for call to `QString::startsWith(const
   char, bool)'
/usr/lib/qt-3.1/include/qstring.h:640: candidates are: bool
   QString::startsWith(const QString&) const
make: *** Error 1
make: Leaving directory `/tmp/eva-0.2.1/src/api'
make: *** Error 1
make: Leaving directory `/tmp/eva-0.2.1/src'
make: *** Error 1
make: Leaving directory `/tmp/eva-0.2.1'
make: *** Error 2


最后出现错误,不知是什么缘故。
系统: RedHat 9
内核: 2.4.20-8
KDE: 3.1
GCC: 3.2.2

为什么不提供 RedHat 的RPM包?

yunfan 发表于 2005-6-3 15:42:14

RedHat 9 使用的Qt库有些旧了:shock:

roby 发表于 2005-6-30 11:17:54

我在turbolinux10下,编译的时候提示“Good - your configure finished. Start make now”,make时也是这个错误哦

yunfan 发表于 2005-6-30 11:19:47

turbolinux10 用的Qt/KDE是什么版本的?
页: [1]
查看完整版本: 编译eva 0.2.1的时候出错,请看看。