root@server2 [~/asterisk-oh323-0.6.6]# make for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done make[1]: Entering directory `/root/asterisk-oh323-0.6.6/wrapper' ./check_ver /root/pwlib pwlib ./check_ver /root/openh323 openh323 g++ -Wall -x c++ -Os -DP_LINUX=2.6.11-custom -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 destructor `virtual 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.6.6/wrapper' make: *** [subdirs_build] Error 1