- 论坛徽章:
- 0
|
我下载的是eva0。41的源码,初始化生成makefile之后,make一开始就有错误,不知何故。请高人指点一下。
[root@Miracle-IBM eva]# make
make all-recursive
make[1]: Entering directory `/root/eva'
Making all in po
make[2]: Entering directory `/root/eva/po'
Making all in .
make[3]: Entering directory `/root/eva/po'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/eva/po'
Making all in zh_CN
make[3]: Entering directory `/root/eva/po/zh_CN'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/eva/po/zh_CN'
make[2]: Leaving directory `/root/eva/po'
Making all in src
make[2]: Entering directory `/root/eva/src'
Making all in ui
make[3]: Entering directory `/root/eva/src/ui'
source='evachatuibase.cpp' object='evachatuibase.lo' libtool=yes \
depfile='.deps/evachatuibase.Plo' tmpdepfile='.deps/evachatuibase.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I../../src/api -I../../src/libeva -I/usr/include/kde -I/usr/lib/qt-
3.1/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virt
ual-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 -fn
o-common -c -o evachatuibase.lo `test -f 'evachatuibase.cpp' || echo './'`evach
atuibase.cpp
In file included from evachatuibase.cpp:24:
evafilepanel.h:25:24: ktabwidget.h: No such file or directory
In file included from evachatuibase.cpp:24:
evafilepanel.h:31: parse error before `{' token
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: non-member function `const char* className()' cannot have `
const' method qualifier
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h:32: virtual outside class declaration
evafilepanel.h: In function `QObject* qObject()':
evafilepanel.h:32: invalid use of `this' in non-member function
evafilepanel.h: At global scope:
evafilepanel.h:32: parse error before `private'
evafilepanel.h:39: parse error before `protected'
evachatuibase.cpp: In constructor `EvaChatUIBase::EvaChatUIBase(QWidget*, const
char*, unsigned int)':
evachatuibase.cpp:64: `BesideIcon' is not a member of type `QToolButton'
evachatuibase.cpp:217: invalid use of undefined type `class EvaFilePanel'
evachatuibase.h:39: forward declaration of `class EvaFilePanel'
evachatuibase.cpp:218: no matching function for call to `QVBoxLayout::addWidget
(EvaFilePanel*&)'
/usr/lib/qt-3.1/include/qlayout.h:379: candidates are: void
QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
evachatuibase.cpp: At top level:
evafilepanel.h:32: warning: `bool qt_static_property(QObject*, int, int,
QVariant*)' declared `static' but never defined
evafilepanel.h:32: warning: `QMetaObject* staticMetaObject()' declared `static'
but never defined
evafilepanel.h:32: warning: `QString tr(const char*, const char*)' declared
`static' but never defined
evafilepanel.h:32: warning: `QString trUtf8(const char*, const char*)' declared
`static' but never defined
make[3]: *** [evachatuibase.lo] Error 1
make[3]: Leaving directory `/root/eva/src/ui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/eva/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/eva'
make: *** [all] Error 2 |
|