[Home]

Summary:ASTERISK-14201: [patch] Gosub AGI command is not being registered.
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2009-05-26 07:35:05Date Closed:2009-11-30 11:00:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_stack
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20091111__issue15193.diff.txt
( 1) autoconfig.h
Description:app_stack is running the dummy (optional api) ast_agi_register() function instead of the real one, and the AGI command 'Gosub' it is not being registered.

****** ADDITIONAL INFORMATION ******

gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Comments:By: Kevin P. Fleming (kpfleming) 2009-05-26 11:07:12

I have isolated this problem down to the use of the '--version-script' linker command line option; for some reason this option is overriding the 'weakness' of the optional API symbols and turning them into strong symbols. Will investigate further.

By: Leif Madsen (lmadsen) 2009-11-10 11:43:49.000-0600

Assigned to kpfleming just to put it back on his radar.

By: Tilghman Lesher (tilghman) 2009-11-11 17:26:26.000-0600

I have examined GNU ld flags and found what I think might fix this problem, but I'll need your testing to verify.

By: Tilghman Lesher (tilghman) 2009-11-24 10:04:21.000-0600

Pinging reporter.  You need to give us some feedback here or this issue will be closed.

By: Digium Subversion (svnbot) 2009-11-30 11:00:37.000-0600

Repository: asterisk
Revision: 231439

U   trunk/Makefile.rules
A   trunk/main/asterisk.dynamics

------------------------------------------------------------------------
r231439 | tilghman | 2009-11-30 11:00:36 -0600 (Mon, 30 Nov 2009) | 6 lines

Export dynamic (weak-linked) symbols correctly.
(closes issue ASTERISK-14201)
Reported by: eliel
Patches:
      20091111__issue15193.diff.txt uploaded by tilghman (license 14)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=231439