[asterisk-bugs] [Asterisk 0014210]: app_stack weak reference not set up properly for build on Mac OS X

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 11 12:19:00 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14210 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14210
Category:                   Core/Portability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-11 12:19 CST
Last Modified:              2009-01-11 12:19 CST
====================================================================== 
Summary:                    app_stack weak reference not set up properly for
build on Mac OS X
Description: 
On Mac OS X 10.4.11 (latest Tiger) the following is reported during make:

[LD] app_stack.o -> app_stack.so
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning weak symbol
references not set in output with MACOSX_DEPLOYMENT_TARGET environment
variable set to: 10.1
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning weak referenced
symbols:
_ast_agi_register
_ast_agi_send
_ast_agi_unregister

and the following is reported during load:
Asterisk Dynamic Loader Starting:
 == Parsing '/etc/asterisk/modules.conf':   == Found
[Jan 11 12:04:24] NOTICE[18378]: loader.c:869 load_modules: 152 modules
will be loaded.
[Jan 11 12:04:24] WARNING[18378]: loader.c:371 load_dynamic_module: Error
loading module 'app_stack.so':
dlopen(/usr/lib/asterisk/modules/app_stack.so, 5): Symbol not found:
_ast_agi_unregister
 Referenced from: /usr/lib/asterisk/modules/app_stack.so
 Expected in: flat namespace

And then Asterisk just hangs.  Workaround is to remove app_stack.so or
just not build it.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-11 12:19 jcovert        New Issue                                    
2009-01-11 12:19 jcovert        Asterisk Version          => 1.6.0.3-rc1     
2009-01-11 12:19 jcovert        Regression                => No              
2009-01-11 12:19 jcovert        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list