[asterisk-bugs] [Asterisk 0013557]: [patch] Asterisk won't compile against uclibc

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 2 17:37:33 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13557 
====================================================================== 
Reported By:                nickpeirson
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13557
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 144419 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-25 10:34 CDT
Last Modified:              2008-10-02 17:37 CDT
====================================================================== 
Summary:                    [patch] Asterisk won't compile against uclibc
Description: 
index is used in main/pbx.c. This breaks compilation under uclibc as it
doesn't provide the index function. Replacing this with strchr, which index
is an alias for, solves the problem.
====================================================================== 

---------------------------------------------------------------------- 
 (0093094) murf (administrator) - 2008-10-02 17:37
 http://bugs.digium.com/view.php?id=13557#c93094 
---------------------------------------------------------------------- 
kpfleming that tons of people are using uclibc with asterisk with much
success, and it requires no mods to asterisk to do this. It sounds like you
can configure
uclibc to provide the nec. functions.... check it out and let me know. The
index stuff was no big deal, but this involves a ton of changes, and it may
not stop with just these 3 funcs. Let's find the "easy way", ok? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-02 17:37 murf           Note Added: 0093094                          
======================================================================




More information about the asterisk-bugs mailing list