[asterisk-bugs] [Asterisk 0015297]: Build of 1.6.0.10 fails on Darwin

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 9 13:12:38 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15297 
====================================================================== 
Reported By:                jcovert
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15297
Category:                   Core/Portability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.0.10 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-09 07:15 CDT
Last Modified:              2009-06-09 13:12 CDT
====================================================================== 
Summary:                    Build of 1.6.0.10 fails on Darwin
Description: 
(This is actually 1.6.0.10, but that cannot be selected yet above; selected
below).

I reported this for 1.6.0.9, and it was closed immediately as fixed in
1.6.0.10, but that appears to not be the case:

   [CC] hashtest2.c -> hashtest2.o
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:90:1:
warning: "POLLIN" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:62:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:91:1:
warning: "POLLPRI" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:63:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:92:1:
warning: "POLLOUT" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:64:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:93:1:
warning: "POLLERR" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:83:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:94:1:
warning: "POLLHUP" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:84:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:95:1:
warning: "POLLNVAL" redefined
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                 from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:85:1: warning: this is the location of the
previous definition
In file included from
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:97:
error: redefinition of 'struct pollfd'
make[1]: *** [hashtest2.o] Error 1
make: *** [utils] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 (0106177) russell (administrator) - 2009-06-09 13:12
 https://issues.asterisk.org/view.php?id=15297#c106177 
---------------------------------------------------------------------- 
1.6.0.11 will have the fix for this 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-09 13:12 russell        Note Added: 0106177                          
2009-06-09 13:12 russell        Status                   new => resolved     
2009-06-09 13:12 russell        Resolution               open => fixed       
2009-06-09 13:12 russell        Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list