[asterisk-bugs] [JIRA] (ASTERISK-20761) Asterisk 11 Compile errors when embedding modules (/usr/bin/ld: Dwarf Error: ...)

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Aug 22 11:57:03 CDT 2013


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

Corey Farrell updated ASTERISK-20761:
-------------------------------------

    Attachment: noembed-res_rtp_asterisk.patch
                embedded_modules.patch

[^embedded_modules.patch] applies to 1.8+.
* Enable embedding of CEL
* Fix error that caused attempted use of main/modules.link
* Resolve flood of warnings caused by asterisk/module.h
* Allows Makefile's to declare NO_EMBED_MODS before including Makefile.moddir_rules

[^noembed-res_rtp_asterisk.patch] applies to 11.  This requires the first patch and tells res/Makefile that it's impossible to embed res_rtp_asterisk (thus creating a loadable module).  Since pjproject is linked as a shared object in 12/trunk, I don't think the exclusion would be needed.

I've done very limited tested on these patches for 1.8 and 11 (they built and ran in valgrind).  I haven't had a chance to try these with trunk.

I realize this is not the solution you are looking for but resolving the embedding error's for pjproject users in 11 would likely be too risky.
                
> Asterisk 11 Compile errors when embedding modules (/usr/bin/ld: Dwarf Error: ...)
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20761
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20761
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem, Resources/res_rtp_asterisk, Resources/res_xmpp
>    Affects Versions: 11.0.0, 11.0.1
>         Environment: Debian 6 x64
>            Reporter: Thomas Eugene
>         Attachments: Asterisk_11_Compile_Error.txt, embedded_modules.patch, noembed-res_rtp_asterisk.patch
>
>
> When compiling Version 11, I get compile time error with DWARF error. I get this when I embed modules. I also has removed the main/modules.link issues that seems not be caught by anyone since version 1.8, 10 and 11.
> I have all the packages needed. Asterisk 1.8 has no issues compiling.
> I will attach the compile time logs with the errors I see

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list