[Freeswitch-users] mod h323 error
budi wibowo
bwibowo at gmail.com
Thu Mar 22 16:14:08 MSK 2012
hi
thx
fixed with this tutorial
try to change mod_h323 Makefile to include correct path to your ptlib
and h323plus folders, mine looks like this:
BASE=../../../..
#export PTLIBDIR = $(shell /usr/local/bin/ptlib-config --ptlibdir)
LOCAL_CFLAGS+=-g -I/usr/local/src/ptlib-v2_10_3/include
-I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exc
LOCAL_LDFLAGS= -L/usr/local/lib -lopenh323 -lpt -lrt
ifeq ($(shell uname -m),x86_64)
LOCAL_CFLAGS+=-DP_64BIT
endif
include $(BASE)/build/modmake.rules
again thx a lot
On Thu, Mar 22, 2012 at 7:43 PM, budi wibowo <bwibowo at gmail.com> wrote:
> hi
> i just tried to build mod h323 with ptlib 2.8.2 and h323plus-trunk, FreeSWITCH
> Version 1.0.head (git-9d3401e 2012-03-19 20-06-36 -0500)
> when i make mod_323 i got this error
> usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623: error:
> 'OPAL_G7231_5k3' was not declared in this scope
> /usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h: At global
> scope:
> /usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623:
> error: 'OPAL_G7231_5k3' has not been declared
> /usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:623:
> error: expected ',' or '...' before string constant
> /usr/local/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:624:
> error: expected constructor, destructor, or type conversion before 'class'
> make[4]: *** [mod_h323.lo] Error 1
> make[3]: *** [all] Error 1
> make[2]: *** [mod_h323-all] Error 1
> make[1]: *** [mod_h323] Error 2
> make: *** [mod_h323] Error 2
>
> detail error log http://pastebin.freeswitch.org/18717
>
> help to solve this issue is welcome and appreciated
>
>
> regards
>
> budi wibowo
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120322/a4cf0bf0/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list