Summary: | ASTERISK-09707: Asterisk 1.4.5 crash with asterisk-addons-1.4.1 using mysql | ||
Reporter: | Francesco Romano (francesco_r) | Labels: | |
Date Opened: | 2007-06-18 15:56:09 | Date Closed: | 2007-06-18 17:41:05 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Addons/cdr_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | This is output the error: asterisk: symbol lookup error: /usr/lib/asterisk/modules/cdr_addon_mysql.so: undefined symbol: __dont_use_localtime_r_use_ast_localtime_instead__ To make it works i have changed asterisk-addons-1.4.1/cdr_addon_mysql.c (around line 132) from: localtime_r(&cdr->start.tv_sec, &tm); To: ast_localtime(&cdr->start.tv_sec, &tm, NULL); as reported by Priam in the Asterisk Support forum: http://forums.digium.com/viewtopic.php?p=52707&sid=81c6637aaa9eb206435e0cf013e00e39 | ||
Comments: | By: Russell Bryant (russell) 2007-06-18 17:41:04 This has been fixed in 1.4 and trunk in revisions 398 and 399. I will work on building new releases of Asterisk-addons right now so that there will be a tarball available which is compatible with Asterisk 1.4.5. I'm sorry for the trouble! |