Thanks Peter , Thanks Steve
By adding LOCAL_CFLAGS it's done.
Yours,
-- afshin
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
Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För afshin afzali
Skickat: den 26 oktober 2010 12:47
Till: freeswitch-users
Ämne: [Freeswitch-users] Error Loading mod_h323
!DSPAM:4cc6b31132935800614202!Hi Guys,
I've successfully made & installed mod_h323 on CentOS 5.5 x86_64 bit OS. But It can not be loaded because this :
freeswitch@internal> load mod_h323
+OK Reloading XML
-ERR [module load file routine returned an error]
2010-10-26 14:04:50.438317 [INFO] mod_enum.c:808 ENUM Reloaded
freeswitch@internal> 2010-10-26 14:04:50.438317 [INFO] switch_time.c:950 Timezone reloaded 530 definitions
2010-10-26 14:04:50.494262 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_h323.so
**/usr/local/freeswitch/mod/mod_h323.so: undefined symbol: _ZN14H323Connection24OnUserInputInlineRFC2833ER15OpalRFC2833Infoi**
Although I've found a same thread on this list "Mod_h323 on openvz (64 bit)", it seems did not get final response. Maybe it's about loading another share library which is not in path (LD_LIBRARY_PATH ?)
Appreciate all comments,
-- afshin
_______________________________________________
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