Asterisk-oh323 won't compile

Hello
I am using asterisk-oh323-0.7.3 , pwlib_1.5.2., openh323_1.12.2 and asterisk-1.2.19
I am unable to get asterisk-oh323 to compile.
In my Makefile in the asterisk-oh323-0.7.3 folder these are my settings:-
#configuration

PWLIBDIR=/root/pwlib

OPENH323DIR=/root/openh323

ASTERISKINCDIR=/usr/src/asterisk-1.2.19/include

listing where the Asterisk tarkball was unpacked

ASTERISKSRCDIR=/usr/src/asterisk-1.2.19

ASTERISKMODDIR=/usr/lib/asterisk/modules

ASTERISKETCDIR=/etc/asterisk

OH323WRAPLIBDIR=/usr/local/lib

WRAPTRACING=1

OH323BUILDTYPE=opt

OH323STAT=1

NO_IPv6=1

The error that I am getting is as follows:
[root@Asterisk-GW-2 asterisk-oh323-0.7.3]# make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory /root/asterisk-oh323-0.7.3/wrapper' ./check_ver /root/pwlib pwlib ./check_ver /root/openh323 openh323 g++ -Wall -felide-constructors -x c++ -Os -DP_LINUX=2.4.21-27.EL -ffunction-sect ions -fdata-sections -D_REENTRANT -DOPENSSL_NO_KRB5 -Wall -fPIC -DP_USE_PRAGMA - DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/root/pw lib/include -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DWRAPTRACIN G -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.5.2\" -DOPENH323VERSION=\"1.12.2\" - I/root/pwlib/include -I/root/openh323/include -I/root/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o touch ../asterisk-driver/chan_oh323.c g++ -Wall -felide-constructors -x c++ -Os -DP_LINUX=2.4.21-27.EL -ffunction-sections -fdata-sections -D_REENTRANT -DOPENSSL_NO_KRB5 -Wall -fPIC -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/root/pwlib/include -DPTRACING -I/root/openh323/include -DHAS_IXJ -DHAS_OSS -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.5.2\" -DOPENH323VERSION=\"1.12.2\" -I/root/pwlib/include -I/root/openh323/include -I/root/openh323/include/openh323 -I../asterisk-driver -c asteriskaudio.cxx -o asteriskaudio.o asteriskaudio.cxx: In destructorvirtual
PAsteriskSoundChannel::~PAsteriskSoundChannel()’:
asteriskaudio.cxx:167: baseChannel' undeclared (first use this function) asteriskaudio.cxx:167: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [asteriskaudio.o] Error 1 make[1]: Leaving directory/root/asterisk-oh323-0.7.3/wrapper’
make: *** [subdirs_build] Error 1