Asterisk-oh323 won't compile

Hello.

I am trying to compile asterisk-oh323 version 0.7.3 to work with asterisk version 1.4.0-beta3. I have tried using the versions in the apt repository (ubuntu dapper), but whenever the oh323 module loads, asterisk freezes, also locking up the computer. Therefore, I’m trying to compile everything from source.

So far, I’ve managed to compile asterisk-1.4.0-beta3, pwlib-1.10.2, and openh323-1.19.0.1 without any problems. Unfortunately, I can’t get asterisk-oh323 to compile properly, even after editing the makefile with the appropriate source directories and fixing wrapper/version.h to define the versions of pwlib and openh323 (it wasn’t doing it automatically). Here’s what I get when I try to compile:

dane@Asterisk-server:~/tmp/asterisk-oh323-0.7.3$ make
for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make[1]: Entering directory /home/dane/tmp/asterisk-oh323-0.7.3/wrapper' ./check_ver /usr/src/pwlib_v1_10_2 pwlib ./check_ver /usr/src/openh323_v1_19_0_1 openh323 g++ -Wall -felide-constructors -x c++ -Os -D_REENTRANT -Wall -fPIC -DPIC -I/usr/src/pwlib_v1_10_2/include -DPTRACING -I/usr/src/openh323_v1_19_0_1/include -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"1.10.2\" -DOPENH323VERSION=\"1.19.0\" -I/usr/src/pwlib_v1_10_2/include -I/usr/src/openh323_v1_19_0_1/include -I/usr/src/openh323_v1_19_0_1/include/openh323 -I../asterisk-driver -c asteriskaudio.cxx -o asteriskaudio.o asteriskaudio.cxx: In static member function ?static PStringArray PAsteriskSoundChannel::GetDeviceNames(PSoundChannel::Directions)?: asteriskaudio.cxx:175: error: ?MAX_FIFO_NAME? was not declared in this scope asteriskaudio.cxx:180: error: ?AST_OH323_MAX_CALLS? was not declared in this scope asteriskaudio.cxx:181: error: ?buf? was not declared in this scope asteriskaudio.cxx:182: error: ?AST_OH323_FIFO_PREFIX? was not declared in this scope asteriskaudio.cxx:187: error: ?AST_OH323_MAX_CALLS? was not declared in this scope asteriskaudio.cxx:188: error: ?buf? was not declared in this scope asteriskaudio.cxx:189: error: ?AST_OH323_FIFO_PREFIX? was not declared in this scope asteriskaudio.cxx: In static member function ?static PString PAsteriskSoundChannel::GetDefaultDevice(PSoundChannel::Directions)?: asteriskaudio.cxx:204: error: ?AST_OH323_FIFO_PREFIX? was not declared in this scope make[1]: *** [asteriskaudio.o] Error 1 make[1]: Leaving directory/home/dane/tmp/asterisk-oh323-0.7.3/wrapper’
make: *** [subdirs_build] Error 1

Any ideas as to what I’m doing wrong? I tried downloading the versions of pwlib and openh323 from asterisk-oh323’s web site, but I couldn’t get them to compile.

Thanks for the help.

–Dane