大家看看为什么我的编译会不成功?
操作系统为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
我也看不懂报错信息表示什么,是不是db4这个包出问题了? 具体我也不时很清楚,反正是默认安装的MagicLinux pr1.5
页:
[1]