[Asterisk-Users] H323 and AMD64

Tracy R Reed treed at copilotconsulting.com
Thu Nov 18 03:11:55 MST 2004


I spent today trying to get openh323 working with Asterisk 1.0 on my new
AMD64 box. I ran into a number of problems. The first being that the
openh323 build scripts do not recognize x86_64 as an architecture that it
builds on. I hacked the scripts appropriately and got it built. I set the
appropriate env vars etc and then went to compile channels/h323. That went
well enough but when I tried to start asterisk I get this:

[chan_h323.so]Nov 18 02:03:20 WARNING[30148]: loader.c:309
ast_load_resource: /usr/lib/asterisk/modules/chan_h323.so: undefined
symbol: _ZTI8PChannel
Nov 18 02:03:20 WARNING[30148]: loader.c:500 load_modules: Loading module
chan_h323.so failed!

What is _ZTI8PChannel? Google turns up only one hit in the middle of some
voip-related binary. PChannel seems to be a pwlib sort of thing but this
exact string appears nowhere in pwlib. I have also tried compiling against
FC3's source RPM's just in case I had somehow screwed up in my mods to
make it compile on x86_64 and that ended with the same result.

And let me just say that H323 is a real PITA. I know most of you already
know this. First you read the H323 docs. Instead of ./configure && make &&
make install they say to make both. Then you read the Asterisk docs which
say all you really had to do was a make opt and not install all of the
H323 stuff. In getting H323 working on a second standard x86 machine I did
just make opt in openh323 and pwlib and the libh323_linux_x86_r.so.1.12.2
library didn't get installed. Hmm... So without any other obvious options
I go back and do a make install on pwlib and openh323. Add /usr/local/lib
to ld.so.conf and we're up and running.

-- 
Tracy Reed    http://copilotcom.com 
This message is cryptographically signed for your protection.
Info: http://copilotconsulting.com/sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041118/164afa10/attachment.pgp


More information about the asterisk-users mailing list