Summary: | ASTERISK-03338: Unresolved symbol in chan_modem_i4l.c stop asterisk (Not a bug, missing change in code) | ||
Reporter: | Fernando Romo (el_pop) | Labels: | |
Date Opened: | 2005-01-23 19:46:38.000-0600 | Date Closed: | 2005-01-23 20:43:28.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In the lasted CVS head, whit the version 1.20 of chan_modem_i4l.c asterisk crash and send the message "modules/chan_modem_i4l.so: undefined symbol: AST_A2LIN". ****** ADDITIONAL INFORMATION ****** The AST_A2LIN appears in the last version of chan_modem.c in line 423, i supose this must be changed by symbol ALAW2INT. I Compile changed the AST_A2LIN by ALAW2INT and appear to work fine. i put below the diff of chan_modem_i4l.c with my correction: under Mac OS X work fine, i test right now under linux. cvs diff chan_modem_i4l.c Index: chan_modem_i4l.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_modem_i4l.c,v retrieving revision 1.20 diff -u -d -b -w -r1.20 chan_modem_i4l.c --- chan_modem_i4l.c 23 Jan 2005 18:47:51 -0000 1.20 +++ chan_modem_i4l.c 24 Jan 2005 01:43:09 -0000 @@ -420,7 +420,7 @@ if (!f) return NULL; } else { - *(b++) = AST_A2LIN(result[x]); + *(b++) = ALAW2INT(result[x] & 0xff); p->obuflen += 2; } } | ||
Comments: | By: Fernando Romo (el_pop) 2005-01-23 20:08:12.000-0600 Under Linux i have problems, not in Mac OS X, the patch in the report bug 3410 (http://bugs.digium.com/bug_view_page.php?bug_id=0003410) works fine in Linux By: Brian West (bkw918) 2005-01-23 20:12:51.000-0600 sounds like you didn't make clean. bkw By: nick (nick) 2005-01-23 20:35:04.000-0600 Dup of 3410... |