[Asterisk-Users] H323
Jeremy McNamara
jj at indie.org
Tue May 20 09:06:33 MST 2003
You CANNOT use distro specific installs of Open H.323 and
PWLib!!!!!!!!!!!! Distro specific installs change the names of the
library files and have even been known to change code (debian).
Do yourself a favor and RTFM, especially the Common Errors section:
http://www.openh323.org/build.html#unix
Jeremy McNamara
Paweł Gołaszewski wrote:
>On Tue, 20 May 2003, Jeremy McNamara wrote:
>
>
>>First cd asterisk/channels/h323 and eyeball the README. Then you need
>>to spend some time reading: http://www.openh323.org.
>>
>>It all boils down to properly compiling PWLib, Open H.323 and compiling
>>and installing chan_h323
>>
>>
>
>...and if you want to use openh323 and pwlib from your favourite distro -
>take this patch (made against latest cvs of asterisk) :)
>I'm using it succesfully with:
># rpm -q openh323 pwlib
>openh323-1.10.4-1
>pwlib-1.4.4-1
>from PLD Linux.
>
>openh323-1.11.* does not work for me. asterisk build with that openh323
>makes sig11 on start (yes, I've tried to do everything like in README of
>chan_h323).
>
>
>
>------------------------------------------------------------------------
>
>--- ./channels/h323/Makefile.org Tue May 13 09:53:16 2003
>+++ ./channels/h323/Makefile Tue May 13 09:55:26 2003
>@@ -61,13 +62,13 @@
> g++ -g -c -o $@ $(CFLAGS) $<
>
> chan_h323.so: chan_h323.o ast_h323.o
>- g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>+ g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>
> chan_h323_d.so: chan_h323.o ast_h323.o
>- g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_d -L$(OPENH323DIR)/lib -lh323_linux_x86_d -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>+ g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>
> chan_h323_s.so: chan_h323.o ast_h323.o
>- g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r_s -L$(OPENH323DIR)/lib -lh323_linux_x86_r_s -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>+ g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt -L$(OPENH323DIR)/lib -lopenh323 -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
> clean:
> rm -f *.o *.so core.*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030520/92fcdbb7/attachment.htm
More information about the asterisk-users
mailing list