hi <div>thx </div><div>fixed with this tutorial </div><div><br></div><div><span style>try to change mod_h323 Makefile to include correct path to your </span><span class="il" style>ptlib</span><br style><span style>and h323plus folders, mine looks like this:</span><br style>
<span style>BASE=../../../..</span><br style><br style><span style>#export PTLIBDIR = $(shell /usr/local/bin/</span><span class="il" style>ptlib</span><span style>-</span><span class="il" style>config</span><span style> --ptlibdir)</span><br style>
<span style>LOCAL_CFLAGS+=-g -I/usr/local/src/</span><span class="il" style>ptlib</span><span style>-v2_10_</span><span style>3/include</span><br style><span style>-I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exc</span><br style>
<span style>LOCAL_LDFLAGS= -L/usr/local/lib -lopenh323 -lpt -lrt</span><br style><br style><span style>ifeq ($(shell uname -m),x86_64)</span><br style><span style>LOCAL_CFLAGS+=-DP_64BIT</span><br style><span style>endif</span><br style>
<br style><span style>include $(BASE)/build/modmake.rules</span></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">again thx a lot </font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font><br><div class="gmail_quote">On Thu, Mar 22, 2012 at 7:43 PM, budi wibowo <span dir="ltr"><<a href="mailto:bwibowo@gmail.com">bwibowo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi <div>i just tried to build mod h323 with ptlib 2.8.2 and <span style="line-height:1.1em">h323plus-trunk, </span><span style="line-height:14px">FreeSWITCH Version 1.0.head (git-9d3401e 2012-03-19 20-06-36 -0500)</span></div>
<div><span style="line-height:14px">when i make mod_323 i got this error </span></div><div><span style="line-height:14px"><div>usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623: error: 'OPAL_G7231_5k3' was not declared in this scope</div>
<div>/usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h: At global scope:</div><div>/usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623: error: 'OPAL_G7231_5k3' has not been declared</div>
<div>/usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623: error: expected ',' or '...' before string constant</div><div>/usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:624: error: expected constructor, destructor, or type conversion before 'class'</div>
<div>make[4]: *** [mod_h323.lo] Error 1</div><div>make[3]: *** [all] Error 1</div><div>make[2]: *** [mod_h323-all] Error 1</div><div>make[1]: *** [mod_h323] Error 2</div><div>make: *** [mod_h323] Error 2</div><div><br></div>
<div>detail error log <a href="http://pastebin.freeswitch.org/18717" target="_blank">http://pastebin.freeswitch.org/18717</a></div><div><br></div><div>help to solve this issue is welcome and appreciated </div><div><br></div>
<div><br></div>
<div>regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>budi wibowo </div><div><br></div></font></span></span></div><div><span style="line-height:14px"><br></span></div><div><span style="line-height:1.1em"><br>
</span></div>
</blockquote></div><br></div>