From: Maliheh S. <mal...@ya...> - 2004-08-14 09:41:17
|
Hello dear list, I have a problem on make of CPhone version 0.3.0. I've build pwlib 1.5.0 and OpenH323 1.12.0 as is explained in cphone.sourceforge.net. But when I want to make cphone I get this errors: g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/lib/qt-3.1/include -Iui_files/ -Imoc_files/ -o obj_files/addressbookSub.o addressbookSub.cxx In file included from /usr/local/include/ptlib/contain.h:222, from /usr/local/include/ptlib.h:139, from cpendpoint.h:46, from mainwindowSub.h:58, from addressbookSub.h:43, from addressbookSub.cxx:39: /usr/local/include/ptlib/object.h:585: parse error before `(' token /usr/local/include/ptlib/object.h:1201: `BOOL' declared as a `virtual' field /usr/local/include/ptlib/object.h:1201: parse error before `(' token /usr/local/include/ptlib/object.h:1214: `BOOL' declared as a `virtual' field /usr/local/include/ptlib/object.h:1214: declaration of `int PObject::BOOL' /usr/local/include/ptlib/object.h:1201: conflicts with previous declaration ` int PObject::BOOL' /usr/local/include/ptlib/object.h:1214: parse error before `(' token /usr/local/include/ptlib/object.h:1265: syntax error before `operator' /usr/local/include/ptlib/object.h:1214: duplicate member `PObject::BOOL' /usr/local/include/ptlib/object.h:1274: ISO C++ forbids defining types within return type /usr/local/include/ptlib/object.h:1274: syntax error before `operator' /usr/local/include/ptlib/object.h:1283: syntax error before `operator' /usr/local/include/ptlib/object.h:1292: syntax error before `operator' /usr/local/include/ptlib/object.h:1301: syntax error before `operator' /usr/local/include/ptlib/object.h:1310: syntax error before `operator' /usr/local/include/ptlib/object.h:1325: virtual outside class declaration /usr/local/include/ptlib/object.h:1325: non-member function `void PrintOn(std::ostream&)' cannot have `const' method qualifier /usr/local/include/ptlib/object.h:1335: virtual outside class declaration /usr/local/include/ptlib/object.h:1346: can't initialize friend function ` operator<<' .... Would you please tell me what is my fault and how should I solve it? Thanks a lot Maliheh __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |