compiling bayonne 1.2.14 with openh323 mimas release

Kilian Krause kk@verfaction.de
Mon, 21 Feb 2005 22:14:52 +0100


--=-+SKC1itL6NzGEcBdjFNX
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

Hi David,

when compiling bayonne 1.2.14 against Mimas openh323/pwlib
(1.15.3/1=FF8.4) i get the following error:

(sid)kk@nyx:~/pkg-voip/bayonne/build-area/bayonne-1.2.14$ make -C drivers/o=
h323/
make: Entering directory `/home/kk/pkg-voip/build-area/bayonne-1.2.14/drive=
rs/oh323'
i386-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../../server  -DP_USE_PRAGMA -D_RE=
ENTRANT -fno-exceptions -I/usr/include/pwlib/ptlib/unix -I/usr/include/pwli=
b -I/usr/include/openh323  -fPIC -g -O2 -I/usr/include/cc++2 -D_GNU_SOURCE =
-DXML_SCRIPTS -c -o oh323_ivr-driver.o `test -f driver.cpp || echo './'`dri=
ver.cpp
In file included from /usr/include/cc++2/cc++/url.h:54,
                 from ../../server/bayonne.h:31,
                 from ../../server/server.h:18,
                 from driver.h:20,
                 from driver.cpp:21:
/usr/include/cc++2/cc++/socket.h: In destructor `virtual
   ost::TCPStream::~TCPStream()':
/usr/include/cc++2/cc++/socket.h:1641: error: exception handling disabled, =
use
   -fexceptions to enable
In file included from driver.cpp:21:
driver.h:24:1: warning: "P_USE_PRAGMA" redefined
<command line>:6:1: warning: this is the location of the previous definitio=
n
In file included from driver.cpp:21:
driver.h: At global scope:
driver.h:39: error: conflicting types for `typedef WORD PUInt16b'
/usr/include/ptlib/object.h:1693: error: previous declaration as `struct
   PUInt16b'
driver.h:40: error: conflicting types for `typedef DWORD PUInt32b'
/usr/include/ptlib/object.h:1717: error: previous declaration as `struct
   PUInt32b'
driver.cpp: In member function `BOOL ost::OH323EndPoint::Initialise()':
driver.cpp:100: error: parse error before `)' token
driver.cpp:101: error: parse error before `)' token
make: *** [oh323_ivr-driver.o] Error 1
make: Leaving directory `/home/kk/pkg-voip/build-area/bayonne-1.2.14/driver=
s/oh323'

Are you planning on rolling out a 1.2.15 which does compile fine with Mimas=
?

Thanks for the info.

--=20
Best regards,
 Kilian

--=-+SKC1itL6NzGEcBdjFNX
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCGk9Mvdkzt4X+wX8RAkFUAJ0X/0lrqOk3wuENYO8XLMruSbdeCgCdGVE9
9kW8w1LNnmXy46gvDJ5ku6M=
=/Wrh
-----END PGP SIGNATURE-----

--=-+SKC1itL6NzGEcBdjFNX--