[Asterisk-Users] chan_h323 - pwlib 1.4.11, openh 1.11.7 comiple
problems
Jeremy McNamara
jj at indie.org
Mon Jun 16 11:55:44 MST 2003
you need to build pwlib and/or setup your environment properly.
See asterisk/channels/h323/README
Jeremy McNamara
asterisk at ebctech.com wrote:
>I'm having a problem with chan_h323 compiling for Asterisk.
>
>RedHat 7.3
>PWLIB 1.4.11 pwlib_1.4.11.tar.gz
>OpenH323 1.11.7 openh323_1.11.7.tar.gz
>
>
>[asterisk at jonux h323]# make clean
>rm -f *.o *.so core.*
>[root at jonux h323]# make
>cc -g -pg -c -o chan_h323.o -pipe -Wall -fPIC -Wmissing-prototypes
>-Wmissing-declarations -DP_LINUX -D_REENTRANT -D_GNU_SOURCE -march=i686
>-DPBYTE_ORDER=PLITTLE_ENDIAN -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
>-DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
>-I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include
>-I/usr/src/openh323/include -Wno-missing-prototypes
>-Wno-missing-declarations chan_h323.c
>g++ -g -pg -c -o ast_h323.o -pipe -Wall -fPIC -Wmissing-prototypes
>-Wmissing-declarations -DP_LINUX -D_REENTRANT -D_GNU_SOURCE -march=i686
>-DPBYTE_ORDER=PLITTLE_ENDIAN -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
>-DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
>-I/usr/src/pwlib/include/ptlib/unix -I/usr/src/pwlib/include
>-I/usr/src/openh323/include -Wno-missing-prototypes
>-Wno-missing-declarations ast_h323.cpp
>chan_h323.h:30: warning: `sockaddr_in bindaddr' defined but not used
>g++ -g -pg -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o
>-L/usr/src/pwlib/lib -lpt_linux_x86_r -L/usr/src/openh323/lib
>-lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
>/usr/bin/ld: cannot find -lpt_linux_x86_r
>collect2: ld returned 1 exit status
>make: *** [chan_h323.so] Error 1
>[asterisk at jonux h323]#
>
>
>Any ideas?
>
>Thanks,
>
>Michael
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list