[asterisk-bugs] [Asterisk 0017975]: strndup doesn't exist on mac os/X

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 11 03:10:01 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17975 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17975
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 285741 
Request Review:              
====================================================================== 
Date Submitted:             2010-09-09 15:05 CDT
Last Modified:              2010-09-11 03:10 CDT
====================================================================== 
Summary:                    strndup doesn't exist on mac os/X
Description: 
   [LD] res_phoneprov.o -> res_phoneprov.so
   [CC] res_realtime.c -> res_realtime.o
In file included from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/select.h:28,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/poll-compat.h:82,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/compat.h:73,
                 from
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk.h:27,
                 from res_realtime.c:30:
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:
In function '_ast_strndup':
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:559:
warning: implicit declaration of function 'strndup'
/usr/local/src/asterisk.svn/set-tonezone-trunk/include/asterisk/utils.h:559:
warning: incompatible implicit declaration of built-in function 'strndup
====================================================================== 

---------------------------------------------------------------------- 
 (0126852) oej (manager) - 2010-09-11 03:10
 https://issues.asterisk.org/view.php?id=17975#c126852 
---------------------------------------------------------------------- 
I'll chcek. Discovered yesterday that I could not use 1.4 on Mac at all, so
there must be something else as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-11 03:10 oej            Note Added: 0126852                          
======================================================================




More information about the asterisk-bugs mailing list