|
发表于 2003-10-19 17:29:13
|
显示全部楼层
g++ -c -pipe -w -O2 -D_REENTRANT -D_KDE -DQT_DLL -DLINQ_DIR=\".\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I. -I../../liblinq -I../../liblinq/p2p -I../../liblinq/proxy -I/usr/include/kde -I/opt/qt/include -o contactlistnode.o contactlistnode.cpp
In file included from contactlistview.h:19,
from contactlistnode.cpp:13:
eventdispatcher.h:15:29: sessionlistener.h: No such file or directory
In file included from contactlistview.h:19,
from contactlistnode.cpp:13:
eventdispatcher.h:52: error: 'uint32' is used as a type, but is not defined as
a type.
eventdispatcher.h:57: error: 'uint32' is used as a type, but is not defined as
a type.
eventdispatcher.h:61: error: 'uint8' is used as a type, but is not defined as a
type.
eventdispatcher.h:66: error: 'uint8' is used as a type, but is not defined as a
type.
eventdispatcher.h:70: error: syntax error before `*' token
In file included from contactlistnode.cpp:13:
contactlistview.h:113: error: type specifier omitted for parameter `
CONTACT_INFO'
contactlistview.h:113: error: parse error before `&' token
contactlistview.h:128: error: `ICQ_MSG' was not declared in this scope
contactlistview.h:128: error: `msg' was not declared in this scope
contactlistview.h:128: error: invalid data member initialization
contactlistview.h:128: error: (use `=' to initialize static data members)
contactlistview.h:128: error: variable or field `onMessage' declared void
contactlistview.h:128: error: declaration of `int ContactListView:nMessage'
contactlistview.h:127: error: conflicts with previous declaration `void
ContactListView:nMessage(const char*)'
contactlistview.h:131: error: `CONTACT_INFO' was not declared in this scope
contactlistview.h:131: error: `info' was not declared in this scope
contactlistview.h:131: error: invalid data member initialization
contactlistview.h:131: error: variable or field `onContactInfo' declared void
make: *** [contactlistnode.o] Error 1
[root@Lhcyf_LFS src]#
按照你的步骤将linqt.pro中的DB_OLD去掉,然后进行编译,出现了以上的错误,不知何解。
我的是glibc-2.3.2+gcc-3.3.1+qt-3.2.1+kernel-2.6.0-test8
不知道是哪里有问题呢? |
|