OpenH323 timer.h:351: error: ISO C++ forbids declaration


#1

Hi,
i want to use the asterisk-oh323-0.2. To reach this goal i have downloaded the files PWLIB and openH323 from www.openH323.org

Than i did the following procedure

  1. extract the files to /root/pwlib and /root/openh323

  2. cd /pwlib
    3./pwlib ./configure (works without any errors)
    After this command
    i entered “make or make both” but i got some errors. I have no idea what is the reason

linux:~/pwlib # make both

set -e; make -C src/ptlib/unix opt; make -C tools/asnparser opt;

make[1]: Entering directory `/root/pwlib/src/ptlib/unix’

g++ -DP_LINUX=2.6.13-15-default -ffunction-sections -fdata-sections -D_REENTRANT -Wall -fPIC -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/root/pwlib/include -fPIC -DP_USE_PRAGMA -Os -DNDEBUG -DPTRACING=1 -x c++ -c …/…/ptclib/asner.cxx -o /root/pwlib/lib/obj_linux_x86_r/asner.o

[b]/root/pwlib/include/ptlib/unix/ptlib/…/…/timer.h:351: error: ISO C++ forbids declaration of âPTimerListâ with no type

/root/pwlib/include/ptlib/unix/ptlib/…/…/timer.h:351: error: expected â;â before â*â token

/root/pwlib/include/ptlib/unix/ptlib/pprocess.h:181: error: ISO C++ forbids declaration of âPHouseKeepingThreadâ with no type

/root/pwlib/include/ptlib/unix/ptlib/pprocess.h:181: error: expected â;â before â*â token[/b]/root/pwlib/include/ptclib/html.h:213: warning: âclass PHTML::Elementâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:235: warning: âclass PHTML::HTMLâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:240: warning: âclass PHTML::Headâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:247: warning: âclass PHTML::Bodyâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:254: warning: âclass PHTML::Titleâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:265: warning: âclass PHTML::Bannerâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:270: warning: âclass PHTML::Divisionâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:275: warning: âclass PHTML::Headingâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:299: warning: âclass PHTML::BreakLineâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:304: warning: âclass PHTML::Paragraphâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:309: warning: âclass PHTML::PreFormatâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:319: warning: âclass PHTML::HotLinkâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:328: warning: âclass PHTML::Targetâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:337: warning: âclass PHTML::ImageElementâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:349: warning: âclass PHTML::Imageâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:367: warning: âclass PHTML::HRuleâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:372: warning: âclass PHTML::Noteâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:377: warning: âclass PHTML::Addressâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:382: warning: âclass PHTML::BlockQuoteâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:387: warning: âclass PHTML::Creditâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:392: warning: âclass PHTML::SetTabâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:401: warning: âclass PHTML::Tabâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:413: warning: âclass PHTML::Boldâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:416: warning: âclass PHTML::Italicâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:419: warning: âclass PHTML::TeleTypeâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:422: warning: âclass PHTML::Underlineâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:425: warning: âclass PHTML::StrikeThroughâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:429: warning: âclass PHTML::Bigâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:432: warning: âclass PHTML::Smallâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:435: warning: âclass PHTML::Subscriptâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:439: warning: âclass PHTML::Superscriptâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:443: warning: âclass PHTML::Emphasisâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:446: warning: âclass PHTML::Citeâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:449: warning: âclass PHTML::Strongâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:452: warning: âclass PHTML::Codeâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:455: warning: âclass PHTML::Sampleâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:458: warning: âclass PHTML::Keyboardâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:461: warning: âclass PHTML::Variableâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:464: warning: âclass PHTML::Definitionâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:468: warning: âclass PHTML::Quoteâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:471: warning: âclass PHTML::Authorâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:474: warning: âclass PHTML::Personâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:477: warning: âclass PHTML::Acronymâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:480: warning: âclass PHTML::Abbrevâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:483: warning: âclass PHTML::InsertedTextâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:487: warning: âclass PHTML::DeletedTextâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:493: warning: âclass PHTML::SimpleListâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:500: warning: âclass PHTML::BulletListâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:505: warning: âclass PHTML::OrderedListâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:514: warning: âclass PHTML::DefinitionListâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:519: warning: âclass PHTML::ListHeadingâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:524: warning: âclass PHTML::ListItemâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:533: warning: âclass PHTML::DefinitionTermâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:540: warning: âclass PHTML::DefinitionItemâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:552: warning: âclass PHTML::TableStartâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:564: warning: âclass PHTML::TableEndâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:572: warning: âclass PHTML::TableRowâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:577: warning: âclass PHTML::TableHeaderâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:582: warning: âclass PHTML::TableDataâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:588: warning: âclass PHTML::Formâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:609: warning: âclass PHTML::FieldElementâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:623: warning: âclass PHTML::Selectâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:644: warning: âclass PHTML::Optionâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:668: warning: âclass PHTML::FormFieldâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:683: warning: âclass PHTML::TextAreaâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:702: warning: âclass PHTML::InputFieldâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:715: warning: âclass PHTML::HiddenFieldâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:728: warning: âclass PHTML::InputTextâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:773: warning: âclass PHTML::InputPasswordâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:808: warning: âclass PHTML::RadioButtonâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:843: warning: âclass PHTML::CheckBoxâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:863: warning: âclass PHTML::InputRangeâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:878: warning: âclass PHTML::InputFileâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:892: warning: âclass PHTML::InputImageâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:913: warning: âclass PHTML::InputScribbleâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:923: warning: âclass PHTML::ResetButtonâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptclib/html.h:946: warning: âclass PHTML::SubmitButtonâ has virtual functions but non-virtual destructor

/root/pwlib/include/ptlib/array.h:356: warning: inline function âvirtual PBaseArray<PObject*>::~PBaseArray()â used but never defined

/root/pwlib/include/ptlib/array.h:356: warning: inline function âvirtual PBaseArray<PObject*>::~PBaseArray()â used but never defined

make[1]: *** [/root/pwlib/lib/obj_linux_x86_r/asner.o] Error 1

make[1]: Leaving directory `/root/pwlib/src/ptlib/unix’

make: *** [opt] Error 2

linux:~/pwlib #

Any Idea
Br desteh1