[asterisk-bugs] [JIRA] (ASTERISK-26245) Organize code so utils can use more unmodified Asterisk source files and less ugly hacks.

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sat Oct 21 16:08:20 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-26245:
-------------------------------------

    Attachment: scan_object_linkage.py

I've attached a python script I wrote which parses output of the 'nm' utility.  This is used to map symbol exports and imports among any set of object files.  I've used it to determine help decide where to move certain symbols.

> Organize code so utils can use more unmodified Asterisk source files and less ugly hacks.
> -----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26245
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26245
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/General
>    Affects Versions: GIT
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>         Attachments: scan_object_linkage.py
>
>
> This ticket is meant to track progress on making it possible to build a libasterisk.a for use by utils.  The goal of this static library is to cleanup the hacks used to compile utils.  This includes:
> # Copy/paste code/structures from Asterisk to utils sources
> # Empty stub functions created in utils to resolve missing Asterisk symbols
> # STANDALONE and other defines used to disable parts of Asterisk
> A secondary goal of is to make it possible to create a conventional 'make check' target.  It's a separate question if the Asterisk project will decide to actively pursue creation of such tests.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list