[asterisk-bugs] [Asterisk 0017707]: [patch] Upgrading from 1.6.2.10 to 1.8-beta1 did not work with the original modules.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 19 14:34:54 CDT 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17707 
====================================================================== 
Reported By:                ira
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17707
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8.0
Asterisk Version:           SVN 
JIRA:                       SWP-1942 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-25 12:46 CDT
Last Modified:              2010-08-19 14:34 CDT
====================================================================== 
Summary:                    [patch] Upgrading from 1.6.2.10 to 1.8-beta1 did not
work with the original modules.conf
Description: 
After upgrading from 1.6.10 to 1.8 I got the following errors:

WARNING[28505] loader.c: Error loading module 'chan_dahdi.so':
/usr/lib/asterisk/modules/chan_dahdi.so: undefined symbol:
ast_smdi_interface_unref

WARNING[28505] loader.c: Error loading module 'app_stack.so':
/usr/lib/asterisk/modules/app_stack.so: undefined symbol:
ast_agi_unregister

WARNING[28505] loader.c: Error loading module 'func_aes.so':
/usr/lib/asterisk/modules/func_aes.so: undefined symbol:
ast_aes_set_decrypt_key

WARNING[28505] loader.c: Error loading module 'app_voicemail.so':
/usr/lib/asterisk/modules/app_voicemail.so: undefined symbol:
ast_smdi_mwi_message_destroy

Replacing modules.conf with one that only contained the line autoload=yes
allowed Asterisk to run and work but left the following errors:

WARNING[14569] loader.c: Error loading module 'func_aes.so':
/usr/lib/asterisk/modules/func_aes.so: undefined symbol:
ast_aes_set_decrypt_key

WARNING[14569] loader.c: Error loading module 'app_speech_utils.so':
/usr/lib/asterisk/modules/app_speech_utils.so: undefined symbol:
ast_speech_start

====================================================================== 

---------------------------------------------------------------------- 
 (0126149) tilghman (administrator) - 2010-08-19 14:34
 https://issues.asterisk.org/view.php?id=17707#c126149 
---------------------------------------------------------------------- 
These two patches should fix this issue.  What this does is to ensure that
dependencies are built and forced to load, when a version of GCC that has
this bug is used to compile Asterisk.

Note that you'll need to also patch menuselect within your Asterisk
installation, so that optional dependencies on the affected GCC versions
become required dependencies and will be correctly built along with the
requested modules. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-19 14:34 tilghman       Note Added: 0126149                          
2010-08-19 14:34 tilghman       Status                   acknowledged => ready
for testing
======================================================================




More information about the asterisk-bugs mailing list