[Asterisk-Users] oh323 compile error.

2005-05-04 Thread Kim Daeyong
Hi.

I downloaded pwlib_1.18.1 and openh323_1.15.1 to install Asterisk CVS
HEAD version.

I tried to install asterisk-oh323-0.7.1.
I patched openh323 as typing 'patch -p1
 /usr/src/asterisk-oh323-0.7.1/openh323_1.13.5-make.patch' in openh323
directory.
Then I compiled pwlib, openh323 and installed Asterisk.
After that, I edited 'Makefile' in asterisk-oh323-0.7.1 directory.
I typed 'make', and there is an error.

[EMAIL PROTECTED] make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
./check_ver /root/work/pwlib pwlib
./check_ver /root/work/openh323 openh323
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapper_misc.cxx -o wrapper_misc.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
asteriskaudio.cxx -o asteriskaudio.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapconnection.cxx -o wrapconnection.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapendpoint.cxx -o wrapendpoint.o
wrapendpoint.cxx: In member function `virtual BOOL
   WrapH323EndPoint::OpenAudioChannel(H323Connection, int, unsigned
int,
   H323AudioCodec)':
wrapendpoint.cxx:915: error: `IsDescendant' undeclared (first use this
   function)
wrapendpoint.cxx:915: error: (Each undeclared identifier is reported
only once
   for each function it appears in.)
make[1]: *** [wrapendpoint.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
make: *** [subdirs_build] Error 1
[EMAIL PROTECTED] 


Please let me know to solve that problem.
Thanks for reading.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] oh323 compile error.

2005-05-04 Thread Primoz Kragelj
I have similar problem on FreeBSD. Gcc and pwlib upgrade solve my
problem...

Regards,
  Primoz

-Original Message-
From: Kim Daeyong [mailto:[EMAIL PROTECTED] 
Sent: 4. maj 2005 9:11
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] oh323 compile error.

Hi.

I downloaded pwlib_1.18.1 and openh323_1.15.1 to install Asterisk CVS
HEAD version.

I tried to install asterisk-oh323-0.7.1.
I patched openh323 as typing 'patch -p1
 /usr/src/asterisk-oh323-0.7.1/openh323_1.13.5-make.patch' in openh323
directory.
Then I compiled pwlib, openh323 and installed Asterisk.
After that, I edited 'Makefile' in asterisk-oh323-0.7.1 directory.
I typed 'make', and there is an error.

[EMAIL PROTECTED] make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
./check_ver /root/work/pwlib pwlib
./check_ver /root/work/openh323 openh323
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapper_misc.cxx -o wrapper_misc.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
asteriskaudio.cxx -o asteriskaudio.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapconnection.cxx -o wrapconnection.o
touch ../asterisk-driver/chan_oh323.c
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -I/root/work/pwlib/include
-DPTRACING -I/usr/local//include/openh323 -DHAS_OSS -DHAS_VPB -Wall -x c
++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\1.8.1\
-DOPENH323VERSION=\1.15.1\  -I/root/work/pwlib/include/ptlib/unix
-I/root/work/pwlib/include -I/root/work/openh323/include
-I/root/work/openh323/include/openh323 -I../asterisk-driver -c
wrapendpoint.cxx -o wrapendpoint.o
wrapendpoint.cxx: In member function `virtual BOOL
   WrapH323EndPoint::OpenAudioChannel(H323Connection, int, unsigned
int,
   H323AudioCodec)':
wrapendpoint.cxx:915: error: `IsDescendant' undeclared (first use this
   function)
wrapendpoint.cxx:915: error: (Each undeclared identifier is reported
only once
   for each function it appears in.)
make[1]: *** [wrapendpoint.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
make: *** [subdirs_build] Error 1
[EMAIL PROTECTED] 


Please let me know to solve that problem.
Thanks for reading.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] OH323 compile error : CVS-HEAD

2005-01-30 Thread M. Ehsanul Karim
I am getting the following error when compiling oh323-0.7.1 with
Asterisk CVS  (2004-12-21: Updated versions 0.7.1 (for Asterisk CVS
HEAD)

make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.1/wrapper'
make: *** [subdirs_build] Error 1
bash-2.05b# asteriskaudio.cxx:167: (Each undeclared identifier is
reported only once for
bash: syntax error near unexpected token `Each'


I have found other posting which says to use stable version but this
version of oh323 is supposed to wrok with Latest CVS-HEAD . Atleast
that is what told on the website of OH323.


Thanks.

Ehsanul Karim
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] oh323 compile error

2005-01-15 Thread Walid Azab



I am trying to 
compile oh323 and having the following error. Can anyone help please?! This is 
my third post. These are the versions I am using:




Compilation 
Error:
--

g++ -o obj_linux_x86_r/simph323 
-s -L/root/pwlib/lib -L/root/openh323/lib ./obj_linux_x86_r/main.o 
-lh323_linux_x86_r -lpt_linux_x86_r -lpthread -lssl -lcrypto -lexpat 
-lresolv -ldl/root/openh323/lib/libh323_linux_x86_r.so: undefined reference to 
`std::basic_iostreamchar, std::char_traitschar 
::~basic_iostream()'/root/pwlib/lib/libpt_linux_x86_r.so: undefined 
reference to `std::basic_iostreamchar, std::char_traitschar 
::basic_iostream(std::basic_streambufchar, std::char_traitschar 
*)'/root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to 
`std::basic_iostreamchar, std::char_traitschar 
::~basic_iostream()'/root/openh323/lib/libh323_linux_x86_r.so: undefined 
reference to `std::basic_iostreamchar, std::char_traitschar 
::~basic_iostream()'collect2: ld returned 1 exit statusmake[1]: *** 
[obj_linux_x86_r/simph323] Error 1make[1]: Leaving directory 
`/root/openh323/samples/simple'make: *** [opt] Error 2


Files Versions 
used:

--
1-openh323-Janus_patch4-src-tar.gz 
==from http://sourceforge.net/projects/openh323 
(v1.13.5)
2- 
pwlib-Janus_patch4-src-tar.gz == from http://sourceforge.net/projects/openh323(v1.6.6)
3. 
asterisk-oh323-0.6.5.tar.gz== from http://www.inaccessnetworks.com/projects/asterisk-oh323/download 
(v1.6.5)

Thanks
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users