[Asterisk-Users] Problems Compiling and Loading asterisk-oh323 0.6.2

Michael Manousos manousos at inaccessnetworks.com
Mon Jun 28 03:28:25 MST 2004


Use the 0.6.2a version.

Michael.

Brian Wilkins wrote:
> Hi, 
> 
>    I having a problem compiling the wrapper for oh323. I am running Debian, 
> kernel version 2.4.18-bf2.4. The pwlib version I have is 1.6.6 and the 
> openh323 version I have is 1.13.5. I execute the following commands first 
> before attempting to compile the wrapper:
> 
> pwlib_1.6.6:
>           make both
> openh323 1.13.5
>           ./configure
>           make opt
> asterisk-oh323 0.6.2
>           make
> 
> I also applied the patch that is said that is needed for openh323 1.13.5. 
> 
> And I get the following errors: 
> 
> make[1]: Leaving directory `/usr/src/asterisk-oh323-0.6.2/wrapper'
> make[1]: Entering directory `/usr/src/asterisk-oh323-0.6.2/asterisk-driver'
> gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -
> I/usr/src/asterisk/include 
> -I../wrapper -g -c -o chan_oh323.o chan_oh323.c
> chan_oh323.c:660: 
> `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' 
> undeclared here (not in a function)
> chan_oh323.c:660: initializer element is not constant
> chan_oh323.c:660: (near initialization for `oh323_ep_list.lock')
> 
> I have been sucessful before in compiling all packages before. I still have 
> the libraries installed from the wrapper package. I decided to try and 
> download a newer version of openh323 and pwlib, but they did not compile 
> correctly either, so I went back to the versions that I listed above, 
> because 
> I knew they would compile correctly. I still have the successfully compiled 
> and installed modules, and before attempting to upgrade to the newer 
> versions 
> of pwlib and openh323, I ran asterisk -vvvv. This is the error I got :
> 
> [chan_oh323.so]Jun 25 13:45:13 WARNING[1024]: loader.c:242 
> ast_load_resource: /usr/local/lib/liboh323wrap.so: undefined symbol: 
> __tf6PMutex
> Jun 25 13:45:13 WARNING[1024]: loader.c:423 load_modules: Loading module 
> chan_oh323.so failed!
> 
> So, I am wondering what is wrong and whether the packages I have built are 
> compatible. Any help on this is greatly appreciated. 
> 
> --
> Brian Wilkins
> brian at hcc.net
> Heritage Communications Corporation
>   Melbourne, FL     USA     32935
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list