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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 13 10:51:58 CST 2009


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=14210 
====================================================================== 
Reported By:                jcovert
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14210
Category:                   Core/Portability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-11 12:19 CST
Last Modified:              2009-01-13 10:51 CST
====================================================================== 
Summary:                    [patch] 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.

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

---------------------------------------------------------------------- 
 (0097580) Corydon76 (administrator) - 2009-01-13 10:51
 http://bugs.digium.com/view.php?id=14210#c97580 
---------------------------------------------------------------------- 
Okay, that resembles another bug that you've already filed, so I'm going to
close this one out. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-13 10:51 Corydon76      Note Added: 0097580                          
2009-01-13 10:51 Corydon76      Status                   acknowledged => closed
2009-01-13 10:51 Corydon76      Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list