Hi!
I´m getting weird errors when trying to compile a
programme based on Pwlib and H323. It doesn´t identify
some of the classes on the libraries so there's an
error of "does not name a type". Here's the
compiling
log:
Compiler: Default compiler
Building Makefile: "Z:ancasrcMakefile.win"
Executing make...
make.exe -f "Z:ancasrcMakefile.win" all
Z:ancasrcMakefile.win:193: warning: overriding
commands for target `../obj/moc_configdialog.ui.o'
Z:ancasrcMakefile.win:154: warning: ignoring old
commands for target `../obj/moc_configdialog.ui.o'
Z:ancasrcMakefile.win:214: warning: overriding
commands for target `../obj/moc_configdialog.ui.o'
Z:ancasrcMakefile.win:193: warning: ignoring old
commands for target `../obj/moc_configdialog.ui.o'
g++.exe -D__DEBUG__ -c anca.cpp -o ../obj/anca.o
-I"V:/mingw/current/include/c++/3.4.2"
-I"V:/qt/current/include"
-I"V:/qt/current/include/QtCore"
-I"V:/qt/current/include/QtGui"
-I"V:/qt/current/include/QtSql"
-I"V:/qt/current/include/QtNetwork"
-I"V:/qt/current/include/QtOpenGL"
-I"V:/qt/current/include/QtXml"
-I"V:/qt/current/include/Qt3Support"
-I"Z:/anca/src/pwlib/include"
-I"Z:/anca/src/pwlib/include/ptlib"
-I"Z:/anca/src/pwlib/include/ptlib/msos/ptlib"
-I"Z:/anca/src/openh323/include"
-I"Z:/anca/src/libcore"
-I"Z:/anca/src/plugins/addressbook"
-I"Z:/anca/src/plugins/audio"
-I"Z:/anca/src/plugins/htmlbrowser"
-I"Z:/anca/src/plugins/inputtone"
-I"Z:/anca/src/plugins/videoin"
-I"Z:/anca/src/plugins/videoout" -DQT3_SUPPORT
-fverbose-asm -g3
In file included from
Z:/anca/src/pwlib/include/ptlib.h:235,
from anca.h:4,
from anca.cpp:1:
Z:/anca/src/pwlib/include/ptlib/syncthrd.h:363: error:
ISO C++ forbids declaration of `PDictionary' with no
type
Z:/anca/src/pwlib/include/ptlib/syncthrd.h:363: error:
expected `;' before '<' token
In file included from
Z:/anca/src/pwlib/include/ptlib.h:294,
from anca.h:4,
from anca.cpp:1:
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:171:
error: ISO C++ forbids declaration of `PList' with no
type
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:171:
error: expected `;' before '<' token
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:174:
error: ISO C++ forbids declaration of `PList' with no
type
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:174:
error: expected `;' before '<' token
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:177:
error: ISO C++ forbids declaration of `PList' with no
type
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:177:
error: expected `;' before '<' token
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:188:
error: ISO C++ forbids declaration of `PDictionary'
with no type
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:188:
error: expected `;' before '<' token
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:201:
error: `PluginListType' does not name a type
Z:/anca/src/pwlib/include/ptlib/pluginmgr.h:208:
error: `PluginListType' does not name a type
In file included from
Z:/anca/src/openh323/include/h323con.h:374,
from
Z:/anca/src/openh323/include/h323.h:483,
from endpoint.h:5,
from anca.cpp:4:
Z:/anca/src/openh323/include/h323caps.h:677: error:
ISO C++ forbids declaration of `PList' with no type
Z:/anca/src/openh323/include/h323caps.h:677: error:
expected `;' before '<' token
Z:/anca/src/openh323/include/h323caps.h:678: error:
ISO C++ forbids declaration of `PList' with no type
Z:/anca/src/openh323/include/h323caps.h:678: error:
expected `;' before '<' token
In file included from
Z:/anca/src/openh323/include/h323.h:483,
from endpoint.h:5,
from anca.cpp:4:
Z:/anca/src/openh323/include/h323con.h:2813: error:
ISO C++ forbids declaration of `PDictionary' with no
type
Z:/anca/src/openh323/include/h323con.h:2813: error:
expected `;' before '<' token
In file included from
Z:/anca/src/openh323/include/h225ras.h:181,
from
Z:/anca/src/openh323/include/gkclient.h:234,
from
Z:/anca/src/openh323/include/h323.h:485,
from
Z:/anca/src/openh323/include/h323ep.h:313,
from
Z:/anca/src/openh323/include/h323.h:484,
from endpoint.h:5,
from anca.cpp:4:
Z:/anca/src/openh323/include/h323trans.h:364: error:
ISO C++ forbids declaration of `PDictionary' with no
type
Z:/anca/src/openh323/include/h323trans.h:364: error:
expected `;' before '<' token
Z:/anca/src/openh323/include/h323trans.h:369: error:
ISO C++ forbids declaration of `PSortedList' with no
type
Z:/anca/src/openh323/include/h323trans.h:369: error:
expected `;' before '<' token
In file included from
Z:/anca/src/openh323/include/h323.h:485,
from
Z:/anca/src/openh323/include/h323ep.h:313,
from
Z:/anca/src/openh323/include/h323.h:484,
from endpoint.h:5,
from anca.cpp:4:
Z:/anca/src/openh323/include/gkclient.h:542: error:
ISO C++ forbids declaration of `PSortedList' with no
type
Z:/anca/src/openh323/include/gkclient.h:542: error:
expected `;' before '<' token
Z:/anca/src/openh323/include/gkclient.h:566: error:
ISO C++ forbids declaration of `PDictionary' with no
type
Z:/anca/src/openh323/include/gkclient.h:566: error:
expected `;' before '<' token
In file included from anca.cpp:4:
endpoint.h:229: error: `class
H323Connection::CallDiversionReason' has not been
declared
endpoint.h:234: error: expected `,' or `...' before
'&' token
endpoint.h:234: error: ISO C++ forbids declaration of
`diversionReason' with no type
endpoint.h:234: error: ISO C++ forbids declaration of
`H4503_CDDivertingLegInformation1Arg' with no type
endpoint.h:239: error: expected `,' or `...' before
'&' token
endpoint.h:239: error: ISO C++ forbids declaration of
`H4503_CDDivertingLegInformation3Arg' with no type
endpoint.h:242: error: `class
H323Connection::CallDiversionReason' has not been
declared
endpoint.h:243: error: expected unqualified-id before
'*' token
endpoint.h:243: error: expected `,' or `...' before
'*' token
endpoint.h:248: error: ISO C++ forbids declaration of
`diversionReason' with no type
endpoint.h:248: error: ISO C++ forbids declaration of
`parameter' with no type
endpoint.h:252: error: `H4503Handler' has not been
declared
endpoint.h:252: error: expected `,' or `...' before
'*' token
endpoint.h:252: error: ISO C++ forbids declaration of
`Error' with no type
endpoint.h:256: error: `H4503Handler' has not been
declared
endpoint.h:256: error: expected `,' or `...' before
'*' token
endpoint.h:256: error: ISO C++ forbids declaration of
`Error' with no type
endpoint.h:260: error: `H4503Handler' has not been
declared
endpoint.h:260: error:
`InterrogateDiversionResultList' has not been declared
endpoint.h:261: error: `H4503Handler' has not been
declared
endpoint.h:261: error: expected `,' or `...' before
'*' token
endpoint.h:261: error: ISO C++ forbids declaration of
`resultList' with no type
endpoint.h:261: error: ISO C++ forbids declaration of
`Error' with no type
make.exe: *** [../obj/anca.o] Error 1
Execution terminated
Ideas??
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
a>
------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------
|