Summary: | ASTERISK-05156: [patch] enumlookup gives a fatal error during build | ||
Reporter: | j (j) | Labels: | |
Date Opened: | 2005-09-26 16:32:18 | Date Closed: | 2008-01-15 15:49:20.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_enumlookup.c.patch | |
Description: | I don't know if it's specific to this ancient build of debian or not, but the enumlookup.c file gives a fatal error during build. It's a simple fix to make it compile, which I've included in a patch. ::: ALSO ::: as of cvs version 09/26/05, asterisk CORE DUMPS upon startup. Looks like something with pbx_config during it's attempt to parse the dial plan. It registers the local variables and then asterisk dumps. cvs on 09/22/05 works perfectly. Thought you might want to know. Thanks j | ||
Comments: | By: Russell Bryant (russell) 2005-09-26 16:55:38 You're probably using an older version of gcc (like 2.95) that doesn't like when variables are declared in the middle of a block. That's why nobody else has reported it. Fixed in CVS HEAD, thanks! By: Russell Bryant (russell) 2005-09-26 16:57:08 Oh, and by the way, the crash you mentioned has already been fixed. :) By: Digium Subversion (svnbot) 2008-01-15 15:49:20.000-0600 Repository: asterisk Revision: 6667 U trunk/apps/app_enumlookup.c ------------------------------------------------------------------------ r6667 | russell | 2008-01-15 15:49:19 -0600 (Tue, 15 Jan 2008) | 2 lines move variable declaration to the beginning of the function (issue ASTERISK-5156) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6667 |