Summary: | ASTERISK-16664: strndup doesn't exist on mac os/X | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2010-09-09 15:05:24 | Date Closed: | 2010-09-11 03:17:21 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/Portability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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 | ||
Comments: | By: Olle Johansson (oej) 2010-09-09 15:10:24 If you google on "os/x strndup" you'll get many examples of source code that implements strndup for os/x By: Russell Bryant (russell) 2010-09-10 19:13:51 I think this may have been fixed already - can you check? Our mac builds on bamboo.asterisk.org are working again, at least. By: Olle Johansson (oej) 2010-09-11 03:10:01 I'll chcek. Discovered yesterday that I could not use 1.4 on Mac at all, so there must be something else as well. By: Olle Johansson (oej) 2010-09-11 03:17:21 Already fixed. |