caihua 发表于 2004-2-1 21:00:53

大家看看为什么我的编译会不成功?

操作系统为MagicLinux1.2pr5
./configure倒是蛮顺利的,可就是到了make的时候就回出现错误,编译什么都是这样啊,郁闷啊,现就Linq的编译信息如下:
make[1]: Entering directory `/root/Desktop/linqt-2.8.3/src/linqt'
g++ -c -pipe -w -fno-use-cxa-atexit -fno-exceptions -D_REENTRANT-D_K                                                                     DE -DQT_DLL -DLINQ_DIR=\"/usr/local/share/linq\" -DDB_OLD -DQT_NO_DEBU                                                                     G -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/inc                                                                     lude/kde -I. -I../include -I../utils -I/usr/lib/qt-3.1/include -I.ui/                                                                        -I.moc/ -o .obj/msgstorage.o msgstorage.cpp
msgstorage.cpp: In member function `void
   MsgStorage::onSwitchUser(SWITCH_USER_EVENT*)':
msgstorage.cpp:145: error: no matching function for call to `Db::open(
   QCString&, NULL, DBTYPE, int, int)'
/usr/include/db_cxx.h:587: error: candidates are: virtual int Db::open                                                                     (DbTxn*,
   const char*, const char*, DBTYPE, unsigned int, int)
make[1]: *** [.obj/msgstorage.o] Error 1
make[1]: Leaving directory `/root/Desktop/linqt-2.8.3/src/linqt'
make: *** [sub-linqt] Error 2

tx-cary 发表于 2004-2-1 23:29:17

db_cxx.h版本的问题吧?
不支持QCString类型。
QT版本是多少?

caihua 发表于 2004-2-2 00:01:12

1.2pr5自带的东西

yjxlove 发表于 2004-2-2 22:26:51

BUG!?

tx-cary 发表于 2004-2-3 11:49:53

好象是源程序的问题,我查了一下, Db::open()的确是那样定义的。
页: [1]
查看完整版本: 大家看看为什么我的编译会不成功?