[Freeswitch-users] mod_h323 load error - undefined symbol

Peter Olsson peter.olsson at visionutveckling.se
Tue Nov 2 03:40:09 PDT 2010


Add -DP_64BIT in the Makefile for LOCAL_CFLAGS and rebuild the module.

Mod_h323's Makefile doesn't detect the platform automatically for you... I tried this myself a couple of days ago, and it seems to work.

/Peter

-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Steven Ayre
Skickat: den 2 november 2010 11:28
Till: FreeSWITCH Users Help
Ämne: [Freeswitch-users] mod_h323 load error - undefined symbol

I'm having trouble loading mod_h323. This is the error I get when I
try loading the module:
   freeswitch at ss3> load mod_h323
   2010-11-02 10:16:55.175574 [CRIT] switch_loadable_module.c:928
Error Loading module /opt/freeswitch/mod/mod_h323.so
   **/opt/freeswitch/mod/mod_h323.so: undefined symbol:
_ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi**

I have ptlib2.8.2 installed and h323plus trunk as per the instructions
on the Wiki.

The problem appears to be that mod_h323 expects
_ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi

That isn't in libh323.so, but
_ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infol is
(ends L not I):
   ss3:/usr/lib# strings libh323.so | grep OnUserInputInlineRFC2833
   _ZNK14H323Connection34OnUserInputInlineRFC2833_PNotifier4CallER7PObjectl
   _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infol
 <--- closest match!
   _ZN14H323Connection34OnUserInputInlineRFC2833_PNotifierD1Ev
   _ZN14H323Connection34OnUserInputInlineRFC2833_PNotifierD0Ev
  _ZTVN14H323Connection34OnUserInputInlineRFC2833_PNotifierE
   _ZTIN14H323Connection34OnUserInputInlineRFC2833_PNotifierE
  _ZTSN14H323Connection34OnUserInputInlineRFC2833_PNotifierE
   N14H323Connection34OnUserInputInlineRFC2833_PNotifierE

Does anyone know what'd cause this and how to fix it?

Platform is 64bit Debian Lenny.

-Steve

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

!DSPAM:4ccfe94b32932089915066!




More information about the FreeSWITCH-users mailing list