Thanks I'll try that. Looks like the include paths are wrong too. /usr/local/include/ptlib and /usr/local/include/openh323 are /usr/include/ptlib and /usr/include/openh323 on my system (compiling from the source). I created symlinks to get it to work. -Steve On 2 November 2010 10:40, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@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@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!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org