QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 586|回复: 4

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

[复制链接]
发表于 2004-2-1 21:00:53 | 显示全部楼层 |阅读模式
操作系统为MagicLinux1.2pr5
./configure倒是蛮顺利的,可就是到了make的时候就回出现错误,编译什么都是这样啊,郁闷啊,现就Linq的编译信息如下:
[code:1]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
[/code:1]
发表于 2004-2-1 23:29:17 | 显示全部楼层
db_cxx.h版本的问题吧?
不支持QCString类型。
QT版本是多少?
回复

使用道具 举报

 楼主| 发表于 2004-2-2 00:01:12 | 显示全部楼层
1.2pr5自带的东西
回复

使用道具 举报

发表于 2004-2-2 22:26:51 | 显示全部楼层
BUG!?
回复

使用道具 举报

发表于 2004-2-3 11:49:53 | 显示全部楼层
好象是源程序的问题,我查了一下, Db:pen()的确是那样定义的。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-30 05:26 , Processed in 0.048332 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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