I have similar problem on FreeBSD. Gcc and pwlib upgrade solve my
problem...
Regards,
Primoz
-----Original Message-----
From: Kim Daeyong [mailto:autofolder@7gnt.com]
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.
[root@asterisk-oh323-0.7.1]# 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
[root@asterisk-oh323-0.7.1]#
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